Page 1 of 1
Strange message i have...
Posted: Fri Jan 06, 2006 4:10 pm
by punctweb
Hello,
I recently upgraded PHP to 5.1.1 version on Apache 2.0.54 (WindowsXP platform), with MySQL 5.0 allso
My problem is that i receive a message on system start that looks like this:
Does anybody knowes what does it means ?
ps: excuse my english please
Posted: Fri Jan 06, 2006 4:21 pm
by feyd
You have a module that was compiled for a different version of php trying to initialize, which it can't.
Posted: Fri Jan 06, 2006 4:22 pm
by punctweb
So far so good, but how do i know witch module is it ?
Posted: Fri Jan 06, 2006 4:37 pm
by feyd
trial and error.. comment out all the modules you are using (marking them so you know which ones were which) .. comment a few back in, start php. If no errors show, it wasn't in that block.. keep going until you find it.
Posted: Sat Jan 07, 2006 5:31 am
by punctweb
ok, done that... i have commented all lines, the uncommented the lines one by one.
The problem is for the php_gd2.dll and php_pgsql.dll
What should i do now ? Rollback to an older version of PHP ? An older version of Apache ? Is there other solution ?
Thankyou in advance for your time.
Posted: Sat Jan 07, 2006 7:35 am
by pilau
punctweb wrote:ok, done that... i have commented all lines, the uncommented the lines one by one.
The problem is for the php_gd2.dll and php_pgsql.dll
What should i do now ? Rollback to an older version of PHP ? An older version of Apache ? Is there other solution ?
Thankyou in advance for your time.
Maybe you should recompile?
Posted: Sat Jan 07, 2006 10:22 am
by timvw
If i'm not mistaken the php_gd2 extensenion has a couple of dependencies (mentionned in the readme/install) and i think the op has forgotten to add them to the system path (or place them in the %windows% system32 directory)
Posted: Sat Jan 07, 2006 12:49 pm
by Chris Corbyn
pilau wrote:punctweb wrote:ok, done that... i have commented all lines, the uncommented the lines one by one.
The problem is for the php_gd2.dll and php_pgsql.dll
What should i do now ? Rollback to an older version of PHP ? An older version of Apache ? Is there other solution ?
Thankyou in advance for your time.
Maybe you should recompile?
A bit of an overkill on a windows machine

The binaries usually come with everything you need

Posted: Sat Jan 07, 2006 4:20 pm
by punctweb
yes, indeed, it's a bit hard for me to recompile the binaries, me using a Win32 platform... strange is that i have instaled now PHP 5.0.5 and the problem remains the same... i hate Win (for this mather) but i have no other option... must i reinstal Windows ?

Posted: Sat Jan 07, 2006 6:32 pm
by feyd
No, it doesn't require reinstalling Windows.. Although the extensions may need outside files to function correctly, the error points to those files specifically being bad. Check inside the zip version of the php installation. Both of those files should be inside. Pull them out and replace the existing ones.