Re: [PHP] How to read PHP-FPM config values using phpinfo

2013-07-16 Thread Amiya Maji
Daniel, thanks for asking.  I do have Apache correctly configured to use fpm, in fact, phpinfo shows php-fpm as the cgi module. Only problem is to read (or dump) the Fpm configs from phpinfo. Regards, Amiya. Original message From: Daniel Date: 07/16/2013 9:48 PM (GMT-05

Re: [PHP] How to read PHP-FPM config values using phpinfo

2013-07-16 Thread Daniel
Hi there, Just a question, do you have Apache configured to use the PHP-FPM and not the Apache module? That something that people can mess up on. Thanks :) On Wed, Jul 17, 2013 at 9:58 AM, Amiya Maji wrote: > Hi all, > > I am using PHP-FPM with Apache 2.4. I periodically change my php-fpm.con

[PHP] How to read PHP-FPM config values using phpinfo

2013-07-16 Thread Amiya Maji
Hi all, 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. Any suggestion is

[PHP] Problem with dba_open() on db4 database

2013-07-16 Thread Thorsten Göllner
Hi, I am using a db4 database to store some values (on the local filesystem). Here the sample code: $handle = dba_open("/var/cache/mydb.db", "cd", "db4"); [...] $result = dba_replace($key, serialize($data), $handle); [...] dba_close($handle); This Code is used in a CLI-Script (in an Asterisk-