Author |
|
Anaxagoras
Joined: 15 Oct 2010 Posts: 6 Location: Prague
|
Posted: Fri 15 Oct '10 15:43 Post subject: SOLVED: php_curl.dll crashing Apache |
|
|
Hello all the clever people. I have an installation of Apache 2.2.16, PHP 5.2.14, MySQL 5.1.51 and Zend Optimizer 3.3.3 running on Windows XP SP3 in Vmware. When PHP is running only these extensions - BZ2, GD2, GETTEXT, IMAP, MBSTRING, MYSQL, MYSQLi, OPENSSL, PDO MYSQL, PDO ODBC, PDO SQLITE, PGSQL, SOAP, SOCKETS, SQLITE, TIDY, XMLRPC, and EXIF, everything is working fine. But whenever I uncomment php_curl.dll extension and restart the Apache I get a very well known error: Unable to load dynamic library php_curl.dll bla bla...I have just looked everywhere on the internet for the solution and I tried them all. php_curl.dll is available in ext directory of PHP. ssleay32.dll and libeay32.dll exist in PHP root directory and PHP root directory is in the system path. I tried to copy ssleay32.dll, libeay32.dll, php5ts.dll to System32 as some people suggested bit it does not help. I tried to to copy them to Apache/bin directory, but it did not help too. I also tried to install Apache 2.2.15, it did not help. I tried both manual and installer install with the same result. Does anyone have any other idea, which could help me to make it run. I do not want PHP 5.3.3, I need PHP 5.2.X because of Zend Optimizer which is only running with PHP 5.2.X. Thank you for any help on this issue.
Last edited by Anaxagoras on Mon 25 Oct '10 13:21; edited 1 time in total |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Wed 20 Oct '10 10:12 Post subject: |
|
|
Which version of PHP do you use? Thread safe? Non thread safe? VC6? VC9? PHP as module or over fcgid? |
|
Back to top |
|
Anaxagoras
Joined: 15 Oct 2010 Posts: 6 Location: Prague
|
Posted: Wed 20 Oct '10 10:15 Post subject: |
|
|
I am using VC6 thread safe version of course and PHP as a module. I have finaly solved it by copying php_curl.dll library from PHP 5.2.13 to ext folder of PHP 5.2.14 and it started to work. So it looks there is a problem with php_curl.dll library in PHP 5.2.14. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Wed 20 Oct '10 10:29 Post subject: |
|
|
Feel free to report that bug at http://bugs.php.net/. Before insert it make sure there isn't a report of that yet |
|
Back to top |
|
lafutura
Joined: 21 Oct 2010 Posts: 3
|
Posted: Thu 21 Oct '10 0:08 Post subject: WOW!!! |
|
|
i cannot tell you how much of a headache i have from having fought with this issue all day long. most of the posts i find via google were completely useless as i already had the associated dlls in the right places, had uncommented the extension in the right place, etc.
finding 5.2.13 and installing the php_curl.dll out of that worked! ohhhhh my goodness. i could kiss you!
i did try to use the php_curl.dll out of 5.3 and it didn't work for me, so it seems as if whatever the issue was with 5.2.14 has carried on.
thank you thank you thank you!!! |
|
Back to top |
|
Anaxagoras
Joined: 15 Oct 2010 Posts: 6 Location: Prague
|
Posted: Thu 21 Oct '10 8:20 Post subject: |
|
|
I am glad I could help I was seriously getting crazy of this bug... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Thu 21 Oct '10 9:58 Post subject: Re: WOW!!! |
|
|
lafutura wrote: |
i did try to use the php_curl.dll out of 5.3 and it didn't work for me, so it seems as if whatever the issue was with 5.2.14 has carried on.
|
There are a lot of changes from 5.2 to 5.3 like from 4 to 5.0 None of the extension from 5.3 will load into 5.2 |
|
Back to top |
|
Anaxagoras
Joined: 15 Oct 2010 Posts: 6 Location: Prague
|
Posted: Thu 21 Oct '10 12:51 Post subject: |
|
|
I would post a bug at PHP.net about this issue but it needs some kind of patch name and patch file and I do not know how and where to get it...
EDIT: solved |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Thu 21 Oct '10 13:22 Post subject: |
|
|
Even if you can't offer a patch it is good to post that bug. |
|
Back to top |
|
Anaxagoras
Joined: 15 Oct 2010 Posts: 6 Location: Prague
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Thu 21 Oct '10 14:13 Post subject: |
|
|
I wonder. Didn't you download your php from windows.php.net? |
|
Back to top |
|
Anaxagoras
Joined: 15 Oct 2010 Posts: 6 Location: Prague
|
Posted: Thu 21 Oct '10 14:17 Post subject: |
|
|
Nope I have downloaded PHP 5.2.14 directly from php.net pages. Where is the difference? |
|
Back to top |
|
lafutura
Joined: 21 Oct 2010 Posts: 3
|
Posted: Thu 21 Oct '10 16:09 Post subject: |
|
|
if it is of any interest to you, i did download mine via windows.php.net. also vc6 thread safe.
and interestingly this was the first time i had seen mention of it. granted i was using google to try to find documented problems, but still... and i did search on php.net but must have been putting in the wrong information as i couldn't come up with what i was looking for.
and my head no longer hurts, thanks to you. |
|
Back to top |
|
lafutura
Joined: 21 Oct 2010 Posts: 3
|
Posted: Thu 21 Oct '10 21:14 Post subject: |
|
|
Quote: | There are a lot of changes from 5.2 to 5.3 like from 4 to 5.0 None of the extension from 5.3 will load into 5.2 |
well, there goes my theory about the bug extending past 5.2.14. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Fri 22 Oct '10 1:34 Post subject: |
|
|
Anaxagoras wrote: | Nope I have downloaded PHP 5.2.14 directly from php.net pages. Where is the difference? |
I don't know what the difference might be. At least PHP 5.3 can be only downloaded from windows.php.net |
|
Back to top |
|