Welcome! Log In Create A New Profile

Advanced

Re: php-fpm from svn - a few questions

Posted by Jérôme Loyet 
Jérôme Loyet
Re: php-fpm from svn - a few questions
April 06, 2010 08:10AM
2010/4/6 ktm <nginx-forum@nginx.us>:
> I have succesfully Installed the latest php-fpm from http://svn.php.net/repository/php/php-src/branches/PHP_5_3_FPM/sapi/fpm/ but I still have a few questions.
> 1. How to create an init script for strat/stop/restart php-fpm ? I didn't find any way to do that. With the php-fpm from github I think it was automatically created, is this the case here or I'm missing something ?

Look here: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3_FPM/sapi/fpm/init.d.php-fpm.in?sortby=date&view=log

> 2. I'm a little confused about the options, now i have to add "--fpm-config path to config" to start php-fpm. Is this mandatory ? Where does it look for config file and in what form ? I rename php-fpm.conf.default in php-fpm.conf but I still have to add the path to it.

Since last week, it works this way (See revisions 297061 and 297062 of
file sapi/fpm/fpm/fpm_main.c:
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c?sortby=date&view=log)

Add fpm.config directive to global php.ini configuration file. It's
used to specify where to find the FPM configuration file. By default
it's not set and the -y runtime switch has priority. If neither
fpm.conf or -y is used, FPM will try the default path
PHP_SYSCONFDIR/php-fpm.conf.

++ Jerome
>
> I didn't find any documentation, probably there isn't any. Anyway i appreciate if you can help me with this.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?3,71781,71781#msg-71781
>
>
>
> --
> To unsubscribe, reply using "remove me" as the subject.
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready