Installing PHP onto Apache
Hi
I'm trying to install PHP onto apache, unfortunately the apache that came with Redhat 9.0, might not have been compiled with DSO support. Thus when i try to compile php with the following command Code:
./configure --with mysql --with-apxs=/usr/local/apache/bin/apxs Code:
Sorry, I was unable to successfully run APXS. Possible reasons: Thank you. |
Well, to uninstall Apache, go to /usr/local and MAKE SURE YOU TYPE CORRECTLY:
rm -rf apache2 <enter> This will remove apache and all its subdirectories. Be careful, if you make a typo you can delete stuff you might not want deleted. Obviously, you'll need to be root to do this. You can then attempt to reinstall Apache. If an instance of Apache is running, first stop / kill it before trying to start up the "new" Apache. One thing I also noticed is that I got exactly the same error as you when I tried to compile the Apache version I used on RH9 (2.0.48) on Fedora Core 3 - I had to get Apache 2.0.54 before I could again compile Apache on FC3, WITHOUT the exact same error you are experiencing. Hope this helps! |
I personally would recommend this LAMP tutorial by Bruce Timberlake. It worked for me, and the writing is very clear. Good luck with it -- J.W.
|
All times are GMT -5. The time now is 01:41 AM. |