Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-09-2007, 04:20 PM   #1
Registered: Nov 2006
Posts: 188

Rep: Reputation: 30
install php post apache install

I would like to install php but I have already installed apache 2.0 some time ago and I don't really care about reinstalling the web server if I don't have to.

When I originally installed apache 2.0 on my Fedora 6 machine, I used the basic configure command "./configure --prefix=/usr/local/apache2"

So, it is my understanding that in order to run PHP, I need to enable DSO capability with the command ./configure -enable-so.

Like I said, I already have apache installed, so I go to the appropriate httpd directory and I run ./configure -enable-so.

It performs a bunch of checks, but I receive this output on the last line:

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
configure: error: Cannot use an external APR-util with the bundled APR
Does anyone know what this is refering to?
Old 10-10-2007, 03:06 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,131
Blog Entries: 1

Rep: Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005
I go to the appropriate httpd directory and I run ./configure -enable-so.
I guess it's a typo since the correct option is "--enable-so". Also you need to specify the prefix again. You can use the "--with-included-apr" to use the bundled apr:
./configure --prefix=/usr/local/apache2 --enable-so --with-included-apr
Old 10-10-2007, 03:09 AM   #3
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
There is a bundle apr shipping with apache and a second one already installed on your box, i guess. If you have to use the new bundle coming with apache you have to compile them seperately.

you could throw that apache away, install apache2 + php from rpm on fedora, i think. Probably the easiest way. Other way is to
compile + install new apr
go into the directory of the downloaded apache2, run
make clean
./configure --enable-module=so
+ compile and add php


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
php/shell script to install mysql,apache and php automatically stranger_6_7 Linux - General 2 08-11-2009 03:07 AM
manually install mysql, php, and apache or install from CD? FiveFlat Linux - Software 5 12-15-2005 02:12 PM
install php --with-apache tunedLow Linux - Software 1 07-13-2004 09:30 AM
PHP 4.3.4 + Apache 2.0.48 won't install linux-addict Linux - Software 1 01-17-2004 09:47 PM
new apache-php install j-ray Linux - Software 1 04-01-2002 08:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 PM.

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