Hello Zavelopez, * zavelopez@xxxxxxxxx wrote '[1]: > 2. The contents of the php5.conf file are as follows: > <IfModule mod_php5.c> > <FilesMatch "\.ph(p3?|tml)$"> > SetHandler application/x-httpd-php > </FilesMatch> > <FilesMatch "\.phps$"> > SetHandler application/x-httpd-php-source > </FilesMatch> > # To re-enable php in user directories comment the following lines > # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it > # prevents .htaccess files from disabling it. > <IfModule mod_userdir.c> > <Directory /home/*/public_html> > php_admin_value engine Off > </Directory> > </IfModule> > </IfModule> For me there is missing an entry for the file ending .php. So it won't get interpreted and Apache offers it as download. In my configuration I noted the following and it works: ,----- [ mods-available/php5.conf ] | <IfModule mod_php5.c> | AddType application/x-httpd-php .php .aspx | AddType application/x-httpd-php-source .phps | </IfModule> `----- CMIIW. -- Greetz, Christoph [1] ~ Message from: 16.06.2011 @ 17:13:02 +0000 GMT mid:bcaec520ecc3b1832f04a5d7617d@xxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
![]() |