Hi,
From some time i need to use FilesMatch in htaccess to change php version like this:
<FilesMatch "\.php$">
AddHandler x-httpd-php55 .php
</FilesMatch>
I'm sure that couple months ago it wasnt requierd, just AddHandler x-httpd-php55 .php was worked.
Why it is required ?
My httpd-suphp.conf look like this:
<IfModule mod_suphp.c>
<FilesMatch "\.(inc|php|php3|php4|php44|php5|php52|php53|php54|php55|php56|php70|php6|phtml|phps)$">
AddHandler x-httpd-php53 .inc .php .php3 .php4 .php5 .php53 .phtml
AddHandler x-httpd-php55 .php55
AddHandler x-httpd-php56 .php56
</FilesMatch>
<Location />
suPHP_Engine on
#suPHP_ConfigPath /usr/local/php53/lib/
suPHP_AddHandler x-httpd-php53
suPHP_AddHandler x-httpd-php55
suPHP_AddHandler x-httpd-php56
</Location>
</IfModule>
Thanks.
From some time i need to use FilesMatch in htaccess to change php version like this:
<FilesMatch "\.php$">
AddHandler x-httpd-php55 .php
</FilesMatch>
I'm sure that couple months ago it wasnt requierd, just AddHandler x-httpd-php55 .php was worked.
Why it is required ?
My httpd-suphp.conf look like this:
<IfModule mod_suphp.c>
<FilesMatch "\.(inc|php|php3|php4|php44|php5|php52|php53|php54|php55|php56|php70|php6|phtml|phps)$">
AddHandler x-httpd-php53 .inc .php .php3 .php4 .php5 .php53 .phtml
AddHandler x-httpd-php55 .php55
AddHandler x-httpd-php56 .php56
</FilesMatch>
<Location />
suPHP_Engine on
#suPHP_ConfigPath /usr/local/php53/lib/
suPHP_AddHandler x-httpd-php53
suPHP_AddHandler x-httpd-php55
suPHP_AddHandler x-httpd-php56
</Location>
</IfModule>
Thanks.