MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: chrisf on 2014-03-29, 02:14:47

Title: pho-fpm is all wrong!!
Post by: chrisf on 2014-03-29, 02:14:47
Php-fpm is all messed up.  It is loading /opt/53s ini file, which makes all the modules the wrong ones for php54 or php55u.  I can't even get my sites to run properly.

I switched to suphp_event, all is working.  But, there is no way to edit php.ini because it loads per site, in /home/httpd/[domain]/php.ini

THIS IS A MESS!

The php-fpm configs are all messed up.  DO NOT TELL ME IT IS MY SERVER.  It is the recent updates to 6.5.1b.


Title: Re: pho-fpm is all wrong!!
Post by: chrisf on 2014-03-29, 02:26:07
Base dir restrictions are not configured in suphp_event!
Title: Re: pho-fpm is all wrong!!
Post by: MRatWork on 2014-03-29, 02:28:26
From where you know php54-fpm/php55-fpm using php.ini from php53s?. Via running 'php -v'?
Title: Re: pho-fpm is all wrong!!
Post by: chrisf on 2014-03-29, 02:29:10
NO

From phpinfo()

Sites online, running well under suphp_event, but you have no basedir restriction (SECURITY BUG) and no way to edit the php.ini files per domain
Title: Re: pho-fpm is all wrong!!
Post by: chrisf on 2014-03-29, 02:44:40
The conflict is with the modules and include directory.

It is loading from wrong dir - its loading the php53s modules!
Title: Re: pho-fpm is all wrong!!
Post by: MRatWork on 2014-03-29, 03:34:25
It's about 'default' php think about 'PHP_INI_SCAN_DIR' (ini file for each module).
Title: Re: pho-fpm is all wrong!!
Post by: chrisf on 2014-03-29, 03:52:08
THINK ABOUT THIS it doesn't work!  I keep telling you that this has been an ongoing problem.  PHP-FPM is NOT working properly.

HOW TO FIX?