ID:               39144
 Updated by:       [EMAIL PROTECTED]
 Reported By:      troelskn at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         cURL related
 Operating System: windows xp
 PHP Version:      5.1.6
 New Comment:

>I tried removing the old installation of php - still the same error.
Which one of the two?

>This doesn't work with the snapshot. 
"doesn't work"? I don't think I understand this..

>Does this make any difference ?
Of course it does, Apache 2.0.x and Apache 2.2.x are two different
Apache versions.


Previous Comments:
------------------------------------------------------------------------

[2006-10-15 10:27:52] troelskn at gmail dot com

I tried removing the old installation of php - still the same error.

My old installation of apache/php has the following line in httpd.conf
:
LoadModule php5_module c:/apache/php5/php5apache2.dll

This doesn't work with the snapshot. I replaced it with :
LoadModule php5_module c:/apache/php5/php5apache2_2.dll

Does this make any difference ?

------------------------------------------------------------------------

[2006-10-15 10:04:48] [EMAIL PROTECTED]

Please make sure you've removed all .dll's from the previous PHP
installation, including php5ts.dll and reinstall PHP once again.
The error message means that you're trying to load a newly compiled
module with old PHP (php5ts.dll).

------------------------------------------------------------------------

[2006-10-15 09:46:01] troelskn at gmail dot com

My bad. I didn't update the extensions dir string in php.ini, so it
still used my old php_curl.dll. I tried changing this to use the ext
dir of the snapshot, and I disabled all other extensions. Now I get the
following error (in apache error log) :

PHP Warning:  PHP Startup: curl: Unable to initialize module\nModule
compiled with module API=20060613, debug=0, thread-safety=1\nPHP   
compiled with module API=20050922, debug=0, thread-safety=1\nThese
options need to match\n in Unknown on line 0

As I couldn't get the snapshot to work with php5apache2.dll, I replaced
it with php5apache2_2.dll. Maybe this is the reason why curl fails ?
I'm using apache 2.2.2

------------------------------------------------------------------------

[2006-10-14 13:09:05] [EMAIL PROTECTED]

That's what I did.

------------------------------------------------------------------------

[2006-10-14 13:01:36] troelskn at gmail dot com

You have to reload the page one time to trigger the error. It doesn't
happen on first load.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/39144

-- 
Edit this bug report at http://bugs.php.net/?id=39144&edit=1

Reply via email to