Click to See Complete Forum and Search --> : PHP Config won't change


Anon
06-10-2001, 08:52 AM
I'm havning a problem here, I'm Using Slackware 7.1 and php is working
great. I want to add imagecreation support using "gd" so i put "--with-gd"
when I compile.. but then when I look at my phpinfo (using the phpinfo()
function) it says that the date it was configured and compiled was the first
time that I compiled it. I'm using php4.0.5. No matter what changes I make when redoing a ./configure they're not actually changing my configuration. I have no reported errors. Please help!
-Nate

vincente
06-10-2001, 12:42 PM
At the risk of stating the obvious; did you also re-compile and re-install php after the configure?

Anon
06-11-2001, 12:45 PM
If you're doing another ./configure on php, do a 'make distclean'.

Tyler

Anon
06-12-2001, 08:13 AM
But After I try the make distclean ver.
I cannot complied the php!
It said:
configure: error: Cannot find header files under /usr/local
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'.

dangee
10-04-2001, 05:34 PM
we had the same problem.

our old configure line keeps coming up in phpinfo() eventhough we have since recompiled php4 and everything works fine.

so the question is, if I don't do distclean and compile the whole thing again, will we see problems.

where is phpinfo() getting the config line from anyway? is it just cached in some file that doesn't change when you recompile?