[wellylug] Setting up PHP on Mandrake 9

Glen Ogilvie nelg at linuxsolutions.co.nz
Thu Sep 18 16:55:10 NZST 2003


It may be that your test php script it wrong..  Try the following in a file 
called test.php on yout server
<html>
<body>
<?php
echo "hello world";
?>
</body>
</html>

The long starting tag is often required by default.

If this outputs the raw php code, unprocessed, then PHP is not running.

Cheers
Glen
On Thursday 18 Sep 2003 9:16 am, Jamie Dobbs wrote:
> I've got a box set up with Mandrake 9, Apache, PHP and have installed
> mod_php but Apache does not appear to recognise PHP code in web pages it is
> serving.
> I'm sure that I have simply forgotten to change on of the Apache config
> files, but for the life of me I can't remember which one - any help would
> be appreciated.
>
> Thanks
>
> Jamie



More information about the wellylug mailing list