PHP 5.4.8 to add a command system services

Did not notice before, PHP 5.4.8 installation package comes with its own file system service registration

Open compile and install the package, into your own path

cd /mydata/soft/php-5.4.8/
cp sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm
chmod +x /etc/init.d/php-fpm
chkconfig --add php-fpm
chkconfig --level 2345 php-fpm on


Reproduced in: https: //my.oschina.net/zhouz/blog/213136

Guess you like

Origin blog.csdn.net/weixin_33759269/article/details/91728276