hello, how can i use a php-fpm package with upstart init in isp-config? what must i set as init script path in aditional php settings?
ISPConfig detects the init system automatically, for systemd and upstart it assume that the service name id the file name in the init script path.
yes, also check your current /etc/init/php-fpm file ( might differ, but it's not in /etc/init.d ) a copy of that file might be needed to make upstart start additional fpm at boot. Haven't tried yet. But besides that, it should work similar to https://www.howtoforge.com/community/threads/problem-with-multiple-php-versions.72192/page-2
i tried again to update our php-package to the newest version (with upstart instead of SysV Init). when ISPC restarts fpm, the master process is killed, but the child procs are still running. the default www pool has a tcp/ip socket in use so starting fpm again fails... # /usr/local/php56/sbin/php-fpm --nodaemonize --fpm-config /etc/php56/php-fpm.conf [23-Mar-2016 22:09:07] NOTICE: PHP message: PHP Warning: Module 'apcu' already loaded in Unknown on line 0 [23-Mar-2016 22:09:07] NOTICE: PHP message: PHP Warning: Module 'imagick' already loaded in Unknown on line 0 [23-Mar-2016 22:09:07] NOTICE: PHP message: PHP Warning: Module 'memcache' already loaded in Unknown on line 0 [23-Mar-2016 22:09:07] ERROR: unable to bind listening socket for address '127.0.0.1:9133': Address already in use (98) [23-Mar-2016 22:09:07] ERROR: FPM initialization failed when i kill all those procs i can manually start fpm. everything works. i can restart it as i want. only ISPC breaks everything...
If you're using Ubuntu 14.04 you have to delete the upstart script and use init.d for php-fpm due to upstart not capable of handleing the needs for php-fpm. See this bug rebport.
we have only one 14.04 server with ISP-C because of other problems. we decided to use plesk instead thank you for the information! /close