LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2005, 09:14 PM   #1
LinuxStart
Member
 
Registered: Nov 2004
Distribution: Shrike
Posts: 55

Rep: Reputation: 15
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
In the end i get an error

Code:
 Sorry, I was unable to successfully run APXS. Possible reasons:
1. Pearl is not installed
2. Apache was not compiled with DSP support (--enable-module=so);
3.'apxs' is not in your path. Try to use -with-apxs=/path/to/apxs
The output of /usr/local/apache/bin/apxs: No such file or directory
configure:error: Aborting

2. Apache was not compiled with DSO support (--enable-module=so);
so what im asking is there any way to activate DSO support and if not how do i remove the old apache and install the new one.

Thank you.
 
Old 07-10-2005, 06:15 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,508

Rep: Reputation: 100Reputation: 100
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!
 
Old 07-10-2005, 02:39 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Apache, MySQL and PHP foo_mulan Linux - Newbie 1 07-16-2004 07:28 AM
Problems installing Apache 2.0.49, PHP 4.3.6, and GD 2.0.22 Thorin98 Linux - Newbie 1 04-20-2004 03:13 AM
Installing Apache 2, PHP 4.3.4 and MySQL 4.0.17 drews Slackware 12 02-15-2004 07:52 PM
need help installing php with apache jsbush Linux - Newbie 3 11-17-2003 10:06 PM
Installing Apache/MySQL/PHP triki Linux - Software 3 09-24-2003 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration