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 05-29-2003, 01:11 PM   #1
mindstormsguy
Member
 
Registered: May 2003
Posts: 32

Rep: Reputation: 15
Question Configuring the Apache2 config file to use PHP4


Well, the subject title sais most of it. I have apache2 installed successfully, and php4 installed (successfully, i think). I know i have to add a line or two to the apache config file to get it to use php. Could anyone tell me exactly what these lines are?

(i'm rinning mandrake 9.1, and i installed apache and php with the default options.) (i didn't intsall the versions that came with drake, i got the latest versions off the net)

Thanks
Brad
 
Old 05-29-2003, 01:16 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
are you using apache 2.0.46 ? it's important that you use the latest version of it for security reasons.

regarding php4 check the INSTALL file in the source tree of php. it contains detailed instructions. be sure to use php 4.3.2 BTW!
 
Old 05-29-2003, 01:46 PM   #3
mindstormsguy
Member
 
Registered: May 2003
Posts: 32

Original Poster
Rep: Reputation: 15
yes, i'm using apache 2.0.46 and php 4.3.2. what you said kind of helped. i'm supposed to put a line in that sais "LoadModule php4_module libexec/libphp4.so". apache reports an error when i try to load it now, apparently "libexec/libphp4.so" doesn't exist. i tried searching for "libphp4.so" and it doesn't seem to be on my drive anywhere.
 
Old 05-29-2003, 01:59 PM   #4
mindstormsguy
Member
 
Registered: May 2003
Posts: 32

Original Poster
Rep: Reputation: 15
i decided i might have messed something up while installing php, i'm doing it again. i think omitting --with-apxs was a bad idea. i dont even know what the heck it does
 
  


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
where is the apache2 config file dev_mohamed Linux - Software 2 06-20-2005 09:21 PM
apache2 + php4 atheist Linux - Software 6 10-25-2004 04:12 PM
Apache2: which config file to alter? hamish Linux - General 10 06-16-2004 06:12 PM
Apache2 and php4 problems configuring linoob Linux - General 2 07-01-2003 06:21 AM
Debian, apache2 and php4 Pasi Linux - Distributions 1 03-20-2003 08:28 PM


All times are GMT -5. The time now is 06:56 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