Zend Studio, MySQL and PHP5
Moving across from php4 to php5 has generally not been to problematic. So it is ironic that the one thing that has been a problem is Zend Studio - produced by the "Php People". I develop on an XP machine, using apache 2.2. php 5.2 and zend studio 5.1 Standard addition. Unlike php4, php5 does not have the mysql module in the core and it needs to be enabled in php.ini. No problem, simply add extension = php_mysql.dll to the php.ini file. Everything works perfectly on my system EXCEPT when I try to debug using Zend Studio, where I get a dialog stating ...
PHP Startup: mysql: Unable to initialize module Module compiled with module API=20060613,debug=0,thread-safety=1 PHP compiled with module API=20050922, debug=0, thread-safety=1 These options need to match.
Much searching and Googling did not provide an answer. To me it appears that the internal php used by Zend Studio is not compatible with the latest php5 version. Going back to an older version of php might work but is not a practical solution for me; Making the Zend Studio software virtually useless unless Zend can help Time to raise a ticket with Zend and see what they have to say ... I'll let you know as soon as they come back to me... meanwhile if you have a fix to this... please share !
