



Using Open Komodo 4.3 on WinXPP.
All was working fine until I updated PHP to 2.5.2 today. Now whenever I open any .php file I get:
Warning
PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread safety=1
PHP compiled with module API=20060613,debug=0, thread safety=1
These options need to match.The warning is repeated for curl, gd, and mysql. They're also repeated several time.
How can I stop the warnings or fix the problem?
Thanks,
DRHansen
Do you mean php 5.2.2?
I had a similar problem after I upgraded to php 5.2.2 After surfing around a little, I took a guess and copied (after backing up, of course) the libmysql.dll in my previous (5.0.*) installation over the new one.
That seemed to do it for me.
-- Bill
The only was to get that error message is if you are trying to load an extension that was built for a different version of PHP.
--
JeffG
@billk - Yes, 5.2.2, sorry.
@JeffG - OK, but I'm not aware of loading any PHP extensions. Is this something that happens during the virgin install of Komodo? If so, can I force that to happen again after the PHP update?
I did discover that the behavior is linked to Editor-> Smart Editing -> Enable background syntax checking after XXXX msecs.
Disabling that stops the warnings at every change to the file.
TIA,
DRHansen
Somewhere in your php.ini file is the line:
extension=php_mbstring.dll
...or similar. As well, in your PHP directory there is a copy of php_mbstring.dll that is not compatible with PHP 5.2.2. You need to get rid of both of these things in order for this to work.
--
JeffG
Thanks Jeff that did it.
DRHansen