top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to read PHP-FPM config values using phpinfo

0 votes
772 views

I am using PHP-FPM with Apache 2.4. I periodically change my php-fpm.conf and reload it by sending USR2 signal to the FPM process. Is there a way to print the updated parameters in FPM using phpinfo(). At present I am not seeing any FPM specific parameters in phpinfo.

posted Jul 17, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

do you have Apache configured to use the PHP-FPM and not the Apache module? That something that people can mess up on.

answer Jul 17, 2013 by anonymous
Similar Questions
+1 vote

Why I can't read static variables of a child class, even so the variable is protected or public?

Here's what I tried:

class A {
 protected static $foo = "bar";
}

class B {
 public function readFoo() {
 return self::$foo;
 }
}

When now calling B::readFoo, I get the following error:

var_dump((new B())->readFoo());

PHP Fatal error: Access to undeclared static property: B::$foo in php shell code on line 1
PHP Stack trace:
PHP 1. {main}() php shell code:0
PHP 2. B->readFoo() php shell code:1

Fatal error: Access to undeclared static property: B::$foo in php shell
code on line 1

Call Stack:
 86.2643 231224 1. {main}() php shell code:0
 86.2666 231352 2. B->readFoo() php shell code:1
+5 votes

I Know that we can always fetch from one database server and rewrite it to another. But what is the simplest way to do this?

...