On my Win2003 server I receive this warning from PHP about 8 times during startup after rebooting:
[red]Unknown(): (null): Unable to initialize module. Module compiled with module API=20060613, debug=0, thread-safety=1 PHP compiled with module API=20020429, debug=0, thread-safety=1. These options need to match.[/red]
Googling revealed that many asks for help on similar warnings and rarely useful advice is returned. However it came clear that this type of PHP-warnings indicate that 2 dll-files loaded by PHP try to do the same thing. In my case API=20020429 points to the bad guy being php4ts.dll - a PHP 4 file - even though I just installed PHP 5.2.3.
So how could this happen? I found php4ts.dll hiding among the HP Proliant Support Toos (since this server is a HP Proliant ML350). HP bundles an old version of PHP into their 2007 upgrade of Proliant tools! I downloaded v 7.80A dated 27 Apr 2007, and it still contains php4ts.dll.
Renaming the offending php4ts.dll to php4ts.dll.old and rebooting the machine gave no warnings. Hurrah. And the HP tools are perfectly able to use the PHP 5.2.3 files installed in Program Files\PHP.
[red]Unknown(): (null): Unable to initialize module. Module compiled with module API=20060613, debug=0, thread-safety=1 PHP compiled with module API=20020429, debug=0, thread-safety=1. These options need to match.[/red]
Googling revealed that many asks for help on similar warnings and rarely useful advice is returned. However it came clear that this type of PHP-warnings indicate that 2 dll-files loaded by PHP try to do the same thing. In my case API=20020429 points to the bad guy being php4ts.dll - a PHP 4 file - even though I just installed PHP 5.2.3.
So how could this happen? I found php4ts.dll hiding among the HP Proliant Support Toos (since this server is a HP Proliant ML350). HP bundles an old version of PHP into their 2007 upgrade of Proliant tools! I downloaded v 7.80A dated 27 Apr 2007, and it still contains php4ts.dll.
Renaming the offending php4ts.dll to php4ts.dll.old and rebooting the machine gave no warnings. Hurrah. And the HP tools are perfectly able to use the PHP 5.2.3 files installed in Program Files\PHP.