Nightmare trying to get PHP up and running.
I've had an iMac since February and I've spent 12 hours so far trying to get PHP up and running under OS X 10.5.6.
I have edited the file /etc/apache2/httpd.conf so that the php line has the # removed, and so should enable PHP. I've rebooted my computer. However, if I create a file with the following:
<!DOCTYPE html PUBLIC "~//W3C//DTD XHTML
1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml11/DTD/
xhtml1-transitional.dtd">
<html xmlns="http://www/w3.org/1999/
xhtml" xml:lang="en" land="en>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso=8859-1" />
<title?Basic PHP Page</title>
</head>
<body>
This is standard HTML.
<?php
echo 'This is a simple test.'
?>
</body?
</html>
and save it as test.php and the open it is safari, instead of seeing the test "This is a simple test." I see the whole of the text, as written above.
HELP! WHAT ON EARTH IS THE ONE OTHER SIMPLE THING THAT I HAVE TO DO. I AM *SO* WOUND UP OVER SPENDING 12 HOURS WITH THIS.
PLEASE! *PLEASE!* HELP ME WITH THIS.
iMac 24 inch, 2.8 GHz, Mac OS X (10.5.6)