Is this RH8?  The AddType entry in httpd.conf won't hurt no matter which
version you have but pre- version 8 might need the loadable module.  8 is
built into httpd I believe and uses the php.conf file.

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Thomas E. Dukes
Sent: Sunday, January 05, 2003 3:35 PM
To: [EMAIL PROTECTED]
Subject: PHP not working

I'm having trouble with getting php to work.

The php package is installed.  I added 'LoadModule php4_module
modules/libphp4.so' and 'AddType application/x-httpd-php .php' to my
httpd.conf.  I copied an example php file from a tutorial and it only
outputs this:

<html>

<body>

<?php

$myvar = "Hello World";

echo $myvar;

?>

</body>

</html>

What do I need to do to get php working properly short of downloading
source and recompiling.  I really don't want to do this unless
absolutely necessary because, given my luck, I'll screw everything up.

TIA
--
Palmetto Shopper
http://palmettoshopper.com
Serving all of South Carolina and beyond!



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to