[NTLUG:Discuss] Getting php working with Apache.

LoneStar lonestar_92c at sbcglobal.net
Sat Jul 10 19:03:05 CDT 2004


Steve Baker wrote:

> I've been running a simple web site off my home server/firewall PC for 
> a couple
> of years now and I'd like to add a Wiki and forum system - which seems 
> to imply
> a need to get php going (so I can install phpBB and phpWiki).
>
> However, I don't seems to be having any success.  I installed php 
> according
> to instructions and added the couple of lines to the http.conf that's 
> recommended,
> but '.php' documents from my server still come out as ASCII text when 
> I view them
> in a browser.
>
> Can anyone suggest any common mistakes I might have made?   Is there a 
> way to
> test php independently of it's connection to Apache?  (eg can I make 
> it do something
> from the command line?) 

Assuming you're running Apache 2.x, you will have to install mod_php and 
start apache with apache2 -k PHP4

-- 
Johnny
Sistumz injunear




More information about the Discuss mailing list