3
« on: 2016-07-01, 18:27:09 »
the problem was in all last kloxoMR7 from Kloxo-MR 7.0.0.b-2016062202 to Kloxo-MR 7.0.0.b-2016063002.
Something happens to php-fpm and needed manual restart with sh /script/restart-php-fpm
It happens when I create new domain, changing owner user or just visiting Webserver Config page without any action there.
I investigate that problem is that php can't use any class in php scripts of all of my sites. It gives 500 error at the page of the web browser.
I create simple script to test:
$m = new Memcache;
if ($m->pconnect('127.0.0.1', 11211)) { echo 'memcached'; } else { echo 'none'; }
when i hit this script everithing is fine, it gives me "memcached".
Then I visit the Webserver Config page in control Panel and in several seconds it gives 500 internal server error at the testing php script(Fatal error: Class 'Memcache' not found in...). I restart with sh /script/restart-php-fpm and everything is fine again. I notice that Kloxo CP always works fine at that problem moments. It touches only clients sites.
Can someone help me to solve this problem?
I use PHP Branch php5.3.29, Nginx+php-fpm.