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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-12-2006, 01:31 PM
|
#1
|
|
Member
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware 12, Ubuntu 7.10, OpenSuse 10.3, Fedora 7, Backtrack 3 (beta)
Posts: 31
Rep:
|
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.
|
|
|
|
10-13-2006, 08:07 AM
|
#2
|
|
Member
Registered: Oct 2004
Location: Here
Distribution: Slackware 12, openSuSE 11.0, XP
Posts: 76
Rep:
|
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.
|
|
|
|
10-13-2006, 07:00 PM
|
#3
|
|
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:
|
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.
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:25 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|