Re: I rest my case

From: Date: Wed, 31 Oct 2001 04:38:12 +0000
Subject: Re: I rest my case
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72972@lists.php.net to get a copy of this message
Hello Warwick, You're correct in assuming that Apache isn't set up right. It needs to be set to parse the .php files. Here's how to do this: Locate httpd.conf (/usr/local/apache/conf/httpd.conf for my compile). And uncomment/add these lines: AddType application/x-httpd-php .php .php3 AddType application/x-httpd-php-source .phps That tells apache to parse .php and .php3 files. The .phps files will show the syntax highlighted version of the code. Good luck, Tyler Longren Captain Jack Communications tyler@captainjack.com www.captainjack.com On Wed, 31 Oct 2001 17:22:47 +1300 J W W L (Warwick) Berg <warwick@dante.co.nz> wrote: > Hi all > > Sorry about what is probably a total dickhead about to enter your midst, > but I've never installed php or seen it much at all before but am trying > to > do it now. > > Using RH 7.1 and Apache 1.3.19 > > Want to install php4 and mysql combo and totally ignorant. > > Installed php rpm. > > Restarted apache in case that was needed. > > made hello.php and pointed browser at it. > > Got the text, rather than executing it. > > Can I surmise that apache isn't set up properly, and if so, could > someone > please point me towards relevant assistance. Got really confused with > the > "manual", etc. Not that bright I suppose ;-) > > Thanks in advance > Warwick > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- +------------------------------+ | Tyler Longren | | Captain Jack Communications | | tyler@captainjack.com | | www.captainjack.com | +------------------------------+

« previous php.general (#72972) next »