I have just started learning PHP from a training Cd and I'm having trouble with a script not displaying properly. I'm Running mac os x 10.5.5
Personal web sharing activated apache running, I have edited httpd.conf and removed the # from
LoadModule php5_module libexec/apache2/libphp5.so
made a simple page in php
<?php echo "hello world "; ?>
saved the page /user/Sites/index.php
and it just displays a blank page in the browser. Also when I view the page source code the php lines are visible and highlighted pink.
A PHPtest page with the PHP code:
<?php phpinfo(); ?>
works, and displays the Entropy version correctly.
Can anyone point me in the correct direction
Thanks.