LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-08-2006, 10:54 PM   #1
ddu_
Member
 
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 linuxpackages.net, 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/libphp4.so

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

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

Original Poster
Rep: Reputation: 16
Sorry, solved it
 
Old 02-08-2006, 11:15 PM   #3
JimBass
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 libphp4.so, they have a solution as well!

Peace,
JimBass
 
  


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


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