LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-09-2007, 03:20 PM   #1
tekmann33
Member
 
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:

Code:
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, 02:06 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
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:
Code:
./configure --prefix=/usr/local/apache2 --enable-so --with-included-apr
 
Old 10-10-2007, 02:09 AM   #3
j-ray
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
then
go into the directory of the downloaded apache2, run
make clean
./configure --enable-module=so
+ compile and add php
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:46 PM.

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
Open Source Consulting | Domain Registration