Hmmm.... I thought that the Apache with OsX came with php installed, guess not since its not rendering your pages. I use it on Linux, but my guess would be that there is either a native way to install it, or use darwinports. I will dig around and see what I can find.unplugged said:how can I get php to work locally?
example http://localhost/test.php doesn't do anything nor does
http://192.168.0.XX/test.php
just shows text, not processing php
redqueen:/etc/httpd lifeafter2am$ cat httpd.conf | grep "php"
#LoadModule php4_module libexec/httpd/libphp4.so
#AddModule mod_php4.c
<IfModule mod_php4.c>
# If php is turned on, we repsect .php and .phps files.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# Since most users will want index.php to work we
# also automatically enable index.php
DirectoryIndex index.html index.php