Ken Tozier wrote:
I can't get even the test script <?php phpinfo() ?> to run on my Mac. I turned personal web sharing on, checked the httpd.config file (all is well) type 127.0.0.1/test.php in the browser and get a "source view" of the page (ie: <?php phpinfo() ?> shows up in the browser winbdow).
What am I doing wrong?
Thanks
Ken


> Got a line like this in your httpd.conf....?

> AddType application/x-httpd-php .php

Yeah. both of these are uncommented in httpd.conf:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


Restarted Apache? Possibly have another httpd.conf file that Apache is reading? Anything in the error logs when you start Apache?


--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to