LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-12-2006, 02:31 PM   #1
mrzack
Member
 
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware 12, Ubuntu 7.10, OpenSuse 10.3, Fedora 7, Backtrack 3 (beta)
Posts: 31

Rep: Reputation: 15
Apache and PHP configuration problem


I have Apache 2.2.3 running fine, but I can't seem to get PHP 5.16 working at all on it. I did restart after modifying the httpd.conf file. I followed the directions given on the PHP website. Could I be editting the wrong httpd.conf file? Because there are Apache folders in my /etc directory.
 
Old 10-13-2006, 09:07 AM   #2
sw67
Member
 
Registered: Oct 2004
Location: Here
Distribution: Slackware 12, openSuSE 11.0, XP
Posts: 76

Rep: Reputation: 15
Assuming you configured apache with the --enable-so option (enable modules), and php with the --with-apxs2=<apxs2 path> (use apache), you should find the correct config file in the same directory that apache is installed.
On mine it's /usr/local/apache2/conf/httpd.conf -- make sure the module is enabled, and that you add the file associations correctly.
Then kill apache, and restart it.. make sure to restart the correct one (give the full path to the binary) - I've been caught out by that before.
Slackware installs Apache 1.3.3 by default I think.. in the end I removed the package for that.
 
Old 10-13-2006, 08:00 PM   #3
mrzack
Member
 
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware 12, Ubuntu 7.10, OpenSuse 10.3, Fedora 7, Backtrack 3 (beta)
Posts: 31

Original Poster
Rep: Reputation: 15
I didn't add those extra things while installing. When I get the chance I'll have to recompile with those. They never crossed my mind, thanks for the help. And hopefully that'll work for me.
 
  


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
Apache PHP Configuration Problem Br. Nicholas Suse/Novell 3 09-20-2006 04:59 PM
Apache PHP configuration varunbihani Linux - Newbie 2 01-18-2005 03:49 AM
PHP and APACHE servers.. configuration question eech55 *BSD 6 10-20-2004 03:40 PM
Apache MySQL PHP configuration Gilion Linux - Software 1 02-02-2004 11:58 AM
apache php-mysql configuration problems ugol Linux - Software 1 11-08-2003 10:13 PM


All times are GMT -5. The time now is 08:11 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration