PHP-FPM path problem

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
flmm
Forum Members
Forum Members
Posts: 41
Joined: Wed Mar 24, 2010 1:12 pm

PHP-FPM path problem

Post by flmm »

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.
Post Reply

Return to “The Lounge”