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
[EMAIL PROTECTED]
www.captainjack.com


On Wed, 31 Oct 2001 17:22:47 +1300
J W W L (Warwick) Berg <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
+------------------------------+
|       Tyler Longren          |
| Captain Jack Communications  |
|    [EMAIL PROTECTED]     |
|     www.captainjack.com      |
+------------------------------+

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to