LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-20-2004, 12:02 PM   #1
fatum
LQ Newbie
 
Registered: Jan 2004
Location: The Netherlands
Posts: 19

Rep: Reputation: 0
how to get php running on slackware


hi, i just installed my slackware apache, but it doesn't suport php?
atleast it doesn't show my php site online...
what do i need to do/install to let php run on my server ?

i hope some of you know how to, because al my friends had the same problem, so.. you guys are my last hope.. ones again ;-)

thanks already,
FaTuM
 
Old 01-20-2004, 12:26 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Did you add (or comment out) the required Types to the httpd.conf?
 
Old 01-20-2004, 12:32 PM   #3
tveiga
LQ Newbie
 
Registered: Jan 2004
Location: Portugal
Distribution: Slackware 9.0
Posts: 16

Rep: Reputation: 0
Hello,
first you have to install the php package, or compile the source (probably you have )
Then in bottom of your /etc/apache/httpd.conf you have to uncomment the line that includes the mod_php.conf file.

Or include this lines if you prefer.
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php

It's usefull to include index.php in the DirectoryIndex directive.
 
  


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
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
php script not running in FC2 benjam Fedora 2 08-09-2004 02:47 PM
php running as CGI twk Programming 1 05-25-2004 08:26 AM
problems running php on slackware 9.1 uglyugly Slackware 1 01-29-2004 05:22 PM
Running a terminal/prompt from PHP james_cwy Linux - Newbie 1 12-15-2003 12:09 AM


All times are GMT -5. The time now is 06:08 PM.

Main Menu
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