First, recheck the sintaxis of your file .php and if it is not the problem
I sugest to configure PHP as an Interpreter CGI instead of Module in Apache
and try again.


----- Original Message -----
From: "Thomas E. Dukes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 05, 2003 3:34 PM
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