httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Gardiner <li...@glidos.net>
Subject Re: [users@httpd] .php3 files recognised but .php files not
Date Sun, 10 Jun 2018 17:17:30 GMT
There's nothing coming up in error_log when I access these files. 
There's just the normal startup lines:

[Sun Jun 10 18:09:59.954937 2018] [mpm_prefork:notice] [pid 4652] 
AH00163: Apache/2.4.33 (Linux/SUSE) OpenSSL/1.1.0h-fips PHP/7.2.5 
configured -- resuming normal operations
[Sun Jun 10 18:09:59.954998 2018] [core:notice] [pid 4652] AH00094: 
Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -D SSL -C PidFile 
/var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf 
-C Include /etc/apache2/sysconfig.d//global.conf -f 
/etc/apache2/httpd.conf -c Include 
/etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'

On 10/06/2018 14:08, Miguel Gonzalez wrote:
> What the error_log says?
> 
> Paul Gardiner <lists@glidos.net> wrote:
> 
>> I have just installed openSUSE Leap 15.0 on a server including Apache
>> 2.4.33 and php 7.2.5.
>>
>> If I attempt to access .php files, I'm offered them as downloads,
>> although renaming them to .php3 makes them work fine. I have this file
>> amongst my apache config
>>
>> conf.d/php7.conf
>>
>> <IfModule mod_php7.c>
>>         <FilesMatch "\.ph(p[345]?|tml)$">
>>             SetHandler application/x-httpd-php
>>         </FilesMatch>
>>         <FilesMatch "\.php[345]?s$">
>>             SetHandler application/x-httpd-php-source
>>         </FilesMatch>
>>          DirectoryIndex index.php4
>>          DirectoryIndex index.php5
>>          DirectoryIndex index.php
>> </IfModule>
>>
>>
>> I tried adding an extra FilesMatch clause, matching precisely .php, just
>> in case something has become broken with regular expression matching,
>> but that didn't help.
>>
>> Please can someone suggest a way to track down the problem?
>>
>> I see nothing relevant in the logs.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message