httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: [users@httpd] PHP Parsing Problem
Date Thu, 16 Jun 2011 17:39:04 GMT


----- Original Message -----
> Igor,
> 1. Firefox asks me what I want it to do with the file whenever I try
> to open a php file.
> 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>

apache2ctl -M shows the PHP module loaded?


> Thank you for your help.
> 
> -Xavier

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message