ID: 39144 User updated by: troelskn at gmail dot com Reported By: troelskn at gmail dot com -Status: Feedback +Status: Open 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. 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 ? Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2006-10-13 14:57:24] [EMAIL PROTECTED] This code doesn't produce any errors here. In fact, it doesn't produce anything at all. ------------------------------------------------------------------------ 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