LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-06-2003, 12:57 PM   #1
Registered: May 2003
Distribution: Slackware 10.0
Posts: 41

Rep: Reputation: 15
Configuring Apache and PHP...

Hey all,

I've succesfully configured apache server under slackware 9.0 and I'm trying to get PHP running (I'll be trying to get MySQL running once I've configured PHP).

Is it simply a matter of placing a php.ini file in the server root (/usr in this case) or in the document root (/var/www/htdocs)? Do I have to add any lines to httpd.conf? How do I get PHP to be active for all users and / or for a virtual host?
Old 07-06-2003, 02:10 PM   #2
Registered: May 2003
Distribution: Slackware 10.0
Posts: 41

Original Poster
Rep: Reputation: 15

Just had to look at the end of the default httpd.conf included in the distribution, uncomment a line and PHP works.

... you know I think simply the act of posting questions here makes me look a little harder on how to solve the problem myself. This isn't the first time I've posted a question only to have found the solution myself.

Sorry for the clutter.... but I promise that every time this happens, I will post the solution.
Old 07-06-2003, 02:11 PM   #3
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Here you go:


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
configuring php for apache PennyroyalFrog Linux - Newbie 3 02-08-2008 12:58 AM
configuring apache, php mjl3434 Linux - Software 4 09-22-2005 07:49 PM
Configuring PHP with Apache. LinuxStart Linux - Software 6 07-11-2005 10:15 AM
Configuring php on apache Dakkar Linux - Software 5 06-01-2004 10:26 AM
configuring php with apache on redhat 9 GraemeK Linux - Networking 16 10-18-2003 05:54 PM

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration