1

I've installed the IUS php55u on a CENTOS with virtualmin.

All the php sites are broken now. When I use test.php it gives me only the html code. If I try test.php5 it renders the PHP code.

Yet, in php.conf I have this line:

<FilesMatch \.php$>
    SetHandler application/x-httpd-php
</FilesMatch>

That means it should render .php files and not php5. There are no other php.conf files on the server.

In httpd.conf all the handles are double (one for .php, one for .php5) but still only the php5 files are rendered.

Any ideas?

3
  • Did you restart Apache? Jul 4, 2014 at 22:11
  • Sure, too many times.
    – Dani
    Jul 4, 2014 at 22:28
  • Any change I make to the quoted code destroys the rendering of php5 files as well. I can't seem to make it response with php to .php files any more....
    – Dani
    Jul 4, 2014 at 22:29

1 Answer 1

0

Well surprisingly - commenting out this FilesMatch section solve the problem !

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .