Web Hosting Talk







View Full Version : Recompile PHP


Fremont Servers
04-05-2002, 10:47 PM
Hello,

I want to add Configure Command to my PHP, so I have to recompile PHP again with the Configure Command I want.

What is the command in shell to "decompile" the current Configure Command, and recompile it with another Configure Command?

clocker1996
04-05-2002, 11:11 PM
i suppose
you could go in the src dir
and do

make uninstall

taz0
04-05-2002, 11:24 PM
make clean
./configure
make
make install

Shyne
04-05-2002, 11:32 PM
You don't need to decompile anything. You just install PHP with all the options you want, and restart apache. It will the new module with the new features you put in.

Fremont Servers
04-05-2002, 11:48 PM
Let me try recompiling php without decompile it to see if it works.

I did this once...the command I used was "distclean" or "cleandist".

Let me try all method above.