Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
punctweb
Forum Newbie
Posts: 11 Joined: Mon Aug 30, 2004 5:53 pm
Location: Romania, Tulcea
Contact:
Post
by punctweb » Fri Jan 06, 2006 4:10 pm
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Jan 06, 2006 4:21 pm
You have a module that was compiled for a different version of php trying to initialize, which it can't.
punctweb
Forum Newbie
Posts: 11 Joined: Mon Aug 30, 2004 5:53 pm
Location: Romania, Tulcea
Contact:
Post
by punctweb » Fri Jan 06, 2006 4:22 pm
So far so good, but how do i know witch module is it ?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Jan 06, 2006 4:37 pm
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.
punctweb
Forum Newbie
Posts: 11 Joined: Mon Aug 30, 2004 5:53 pm
Location: Romania, Tulcea
Contact:
Post
by punctweb » Sat Jan 07, 2006 5:31 am
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.
pilau
Forum Regular
Posts: 594 Joined: Sat Jul 09, 2005 10:22 am
Location: Israel
Post
by pilau » Sat Jan 07, 2006 7:35 am
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?
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Sat Jan 07, 2006 10:22 am
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)
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Sat Jan 07, 2006 12:49 pm
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
punctweb
Forum Newbie
Posts: 11 Joined: Mon Aug 30, 2004 5:53 pm
Location: Romania, Tulcea
Contact:
Post
by punctweb » Sat Jan 07, 2006 4:20 pm
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 ?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sat Jan 07, 2006 6:32 pm
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.