Wamp won't start php 5.2.6 anymore
Posted by: achristouio (---.90-149-222.nextgentel.com)
Date: July 10, 2012 02:35PM

After trying to get zend studio debugber to work in 5.3.8 and temporarily going back to 5.2.6 (which hasn't been uninstalled) by going to wampmanager and choosing php, version and 5.2.6 it won't start anymore because an error message of

PHP Startup: gd: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP Compiled with module API 20060613, debug=0, thread-safety=1
These options need to match.

Then following complaints of not finding several components for lacking 5.3.8 components, as if somewhere in a setup file, a pointer to 5.3.8 extensions is defined permanently

Looking at the php.ini file visible from menu, pointer to ext directory is 5.3.8-ext, but where is this ini-file defined?

The first error message is
PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php5.3.8/ext/php_mbstring.dll - The specified procedure could not be found

Followed by

..../ext/php_mysqll.dll same message
..../ext/php_mysqli.dll ....
...../ext/php_pdo_mysqll.dll ....
...../ext/php_pdo_sqlite.dll ......


And then another round with same errors.

What has gone wrong now?

Anyone?

Options: ReplyQuote
Re: Wamp won't start php 5.2.6 anymore
Posted by: RiggsFolly (---.as13285.net)
Date: July 10, 2012 02:47PM

I think this is because you have got yourself into a situation where PHP is compiled with VC 2006 and the module is compiled with VC 2009.

The wamp guys seem to be moving to the VC 2009 or even VC 2010 compiler recently.
Unfortunately this means that it is no longer as easy to switch between versions of PHP & APACHE as they are almost definitely compiled with different compilers.

I guess you wil have to revert the apache version as well maybe that will work.

Options: ReplyQuote
Re: Wamp won't start php 5.2.6 anymore
Posted by: achristouio (---.90-149-222.nextgentel.com)
Date: July 10, 2012 02:59PM

Strange that it all worked until today. Just tried editing php.ini in different positions.

All modules has been installed since several months ago, also wamp manager.

Options: ReplyQuote
Re: Wamp won't start php 5.2.6 anymore
Posted by: achristouio (---.90-149-222.nextgentel.com)
Date: July 10, 2012 08:43PM

case solved. Turned out that pointer to ext-directory had been changed to the one used for v. 5.3.8. Changing to 5.2.6 directory solved the issue

Options: ReplyQuote


Sorry, only registered users may post in this forum.