<br clear="all">i've installed php5 with the command :<br><br>sudo port install php5 +apache2 +mysql5 +sqlite +pear<br><br>afterwards i did :<br>$ cd /opt/local/apache2/modules<br>$ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so<br>
<br>$ sudo cp /opt/local/etc/php.ini-dist /opt/local/etc/php.ini<br><br>i've added also the following line into /opt/local/apache2/conf/httpd.conf :<br><br>LoadModule php5_module modules/libphp5.so<br><br><br>and between <IfModule mime_module> and </IfModule> :<br>
<br>AddType text/html .php<br><br>but when loading my info.php file the browser want to download it instead of viewing it.<br><br>nothing related to php5 in the Apache2 error log<br><br><br>-- <br>yvon