PHP-FPM path problem
Posted: Fri Sep 23, 2016 6:28 pm
I have a development server that is running a few 1.12 websites that work great, but I am having errors on the cmsms 2 websites.
I am developing a website in cmsms 2 and have problems with, I think, PHP-FPM.
Server is setup with the Perfect Server Setup from How To Forge (Debian 8, Apache 2, php 5.6).
Did a fresh cmsms 2 (latest) install with no modules or anything installed.
The problem: when I restart Apache 2 and php-fpm the first site I go to works, but the second site I open gets the missing config file error.
In the error log I get a open_basedir warning. It tries to load the config.php from the wrong path, it's from the first site I visited.
It's just as if the site connects to the wrong php instance.
When I switch to Fast-CGI the sites works like they should. But I would like to use PHP-FPM.
I am developing a website in cmsms 2 and have problems with, I think, PHP-FPM.
Server is setup with the Perfect Server Setup from How To Forge (Debian 8, Apache 2, php 5.6).
Did a fresh cmsms 2 (latest) install with no modules or anything installed.
The problem: when I restart Apache 2 and php-fpm the first site I go to works, but the second site I open gets the missing config file error.
In the error log I get a open_basedir warning. It tries to load the config.php from the wrong path, it's from the first site I visited.
It's just as if the site connects to the wrong php instance.
When I switch to Fast-CGI the sites works like they should. But I would like to use PHP-FPM.