Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-08-2006, 09:54 PM   #1
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Rep: Reputation: 16
Apache PHP

Hey all, back again for more help...
I'm totally lost with trying to get php to work with apache. I've attempted to follow the guide on the site but have still come up short.

First off, i'm running Slackware10.2
Here's where I'm at...

I download the apache package from, run it using installpkg, seems to work fine. Sets up diretory /etc/apache2/ The httpd works perfectly.

I download the apache-php2 package from there as well...
the script executes fine.

I look in /etc/apache2/httpd.conf
Include /etc/apache2/mod_php.conf is at the end of it (mod_php.conf also exists in the directory)

here's where I start to lose it...
I look in mod_php.conf
LoadModule php4_module lib/apache2/

is there....
I think this may be part of the problem...I have no idea where to find
maybe it's pointing in the wrong place? Or am I totally lost?

Any help is apperciated, as always!
Old 02-08-2006, 10:09 PM   #2
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Original Poster
Rep: Reputation: 16
Sorry, solved it
Old 02-08-2006, 10:15 PM   #3
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Glad you solved it, but you should post your solution so when somebody searches for apache and mod_php.conf and, they have a solution as well!



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 2, PHP 5, SuSE 9.2 - cannot run php files dickohead Linux - Networking 6 06-28-2006 10:25 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 01:42 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM > Forums > Linux Forums > Linux - Newbie

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