Hi everyone!! I am NOT Topher Grace, nor do I want to be. I am just Topher Scribbles and just for kicks, I really want to out-rank Topher Grace's IMDB website. If you want to help, just link to me. Thanks and enjoy some boring fun!!

Go to http://www.dnsyard.com for some free DNS tools.

Reinstalling PHP

So you want to reinstall PHP??

This is how you would reinstall php, for whatever reason, and keep the same config options.
First of all, you need to find out what ./configure options you used to install PHP in the first place. Go to the source folder, usually /usr/local/php-(version number). Open up config.status in your favorite editor and copy the ./configure line, which is probably at or around line 7.

Change directory into the PHP source folder. Run a clean, distclean, patch (if needed), configure (with the same options as in the config.status file), make, install, and finally restart apache.

# make clean
# make distclean
# ./configure (paste from config.status file)
# make && make install
# apachectl restart

Done!!

Post a Comment

You must be logged in to post a comment.