To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > PHP Help > Install

Install Conversation regarding installation and upgrade of PHP

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-27-2000, 04:39 AM   #1
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
Compiling PHP4 with Apache 3.9.12

Hello everybody,

I'm trying to compile PHP4.0.0 with Apache 3.9.12 on linux (Mandrake 6.1). The Apache tarball (tar.gz) is uncompressed in /usr/local/src as well as the PHP tarball.
I follow all the instruction in the INSTALL file from the PHP directory but when I run this command :
./configure --with-apache=/usr/local/src/apache

I've got a error telling me that he's unable to find the http.conf in this directory.

So I moved the source directory to /usr/local/apache (defautl path for PHP4) and the compilation work find :-)

How can I change de defult directory (in which file) ? Why ./configure does not find the http.conf when I use a different path ?

Thank you for your reply and I'm sorry form my english :-)
Anon is offline   Reply With Quote
Old 06-28-2000, 10:33 PM   #2
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Compiling PHP4 with Apache 3.9.12

Mikael,

I just finished the same process you're going through - when I untar'd the Apache file, it gave me a directory called 'apache_1.3.12' from your description, it sounds like you may have left off part of the directory name.

Be careful with the LoadModule / AddModule statements that the PHP4 install puts into the httpd.conf file - they should be at the end of the long lists, or you can manually insert them right after the php3 module lines. The install program automatically put the commands way down in the file under some commented out code for accepting Netscape Gold publish connections. After I moved them, everything was happier.

J!M
Anon is offline   Reply With Quote
Old 06-29-2000, 03:47 AM   #3
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Compiling PHP4 with Apache 3.9.12

Hello Jim,

You are right. When I untar'd the Apache file, it gave me /usr/local/src/apache_1.3.12
but when I compiled PHP with :
./configure --with-apache=/usr/local/src/apache_1.3.12
it told me that it couldn't find httpd.conf in /usr/local/src/apache_1.3.12 :-(
I renamed the directory to apache but it produced the same error. The only may to make the compîlation succes is to move the directory to /usr/local/apache (default path).
Anon is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


All times are GMT -4. The time now is 04:07 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.