I am trying to install PHP 5.3.2 and Apache2.2 on my Mac.
After adding in
1. LoadModule php5_module modules/libphp5.so
2. <IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
3. AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
in <IfModule mime_module> </IfModule>
I am able to display the index.html but when I try to display index.php which contains my phpinfo(), I received a 404 Error below.
Not Found
The requested URL /index.php was not found on this server.
Can anyone help me please? Thanks a lot!
After adding in
1. LoadModule php5_module modules/libphp5.so
2. <IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
3. AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
in <IfModule mime_module> </IfModule>
I am able to display the index.html but when I try to display index.php which contains my phpinfo(), I received a 404 Error below.
Not Found
The requested URL /index.php was not found on this server.
Can anyone help me please? Thanks a lot!
Comment