Hi,
I've been up on this all night I lept changing addtypes, addhandlers, reinstalling apache and php5 but still nothing.
I use phpinfo.php to test the server but it downloads the php file! everything else like html work fine.
This is basically the default httpd.conf file and I followed this guide:
http://www.freebsdmadeeasy.com/tutorials/web-server/install-php-5-for-web-hosting.php
What can I do?
I've been up on this all night I lept changing addtypes, addhandlers, reinstalling apache and php5 but still nothing.
I use phpinfo.php to test the server but it downloads the php file! everything else like html work fine.
Code:
[LoadModule php5_module libexec/apache22/libphp5.so
/CODE]
Under <IfModule mime_module>
[CODE] AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .htm .html
This is basically the default httpd.conf file and I followed this guide:
http://www.freebsdmadeeasy.com/tutorials/web-server/install-php-5-for-web-hosting.php
What can I do?