apach + php
Posted: 2019/06/06 13:54:24
I have installed apache 2.4.6 and two php version
one in 5.4 which is with centos 7.6
and one I had installed later to work beside 5.4 it is 5.6
I have installed php56-php-fpm and it works on port 9071
and setup in mysite.conf file
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9071"
</FilesMatch>
Problem is that all pages work except this one (nextcloud) which should use php 5.6
I get error HTTP ERROR 500
When I go directly to www.mysite.com/nextcloud/phpinfo.php
I get php info data show up, but when I go to www.mysite.com/nextcloud/index.php
I get error HTTP ERROR 500
what I am missing?
one in 5.4 which is with centos 7.6
and one I had installed later to work beside 5.4 it is 5.6
I have installed php56-php-fpm and it works on port 9071
and setup in mysite.conf file
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9071"
</FilesMatch>
Problem is that all pages work except this one (nextcloud) which should use php 5.6
I get error HTTP ERROR 500
When I go directly to www.mysite.com/nextcloud/phpinfo.php
I get php info data show up, but when I go to www.mysite.com/nextcloud/index.php
I get error HTTP ERROR 500
what I am missing?