so...
Code: Select all
#LoadModule php4_module libexec/httpd/libphp4.soCode: Select all
LoadModule php4_module libexec/httpd/libphp4.soCode: Select all
#AddModule mod_php4.cCode: Select all
AddModule mod_php4.cCode: Select all
<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
<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>Code: Select all
AddType application/x-httpd-php .phpI have downloaded the lastest MAMP. I am running Mac OS X 10.4.11. When I ask terminal what version of PHP I have it says "PHP 4.4.7".
I've also tried putting my PHP files in the htdocs files folder recommended by MAMP. When I upload the PHP files to my remote server they read fine.
Please help... I so want to start learning PHP!! Either that or I'm going to chuck myself out the window.
Any help much appreicated.