Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th November 2013, 23:49
basz basz is offline
Junior Member
 
Join Date: Jun 2012
Posts: 12
Thanks: 2
Thanked 1 Time in 1 Post
Default php5-fpm fails to restart fix

Apparently php5-fpm does not get killed correctly when used as;

PHP Code:
/etc/init.d/php5-fpm reload 
ISPConfig uses that command to refresh when needed, which result in 500 server errors every time you change a related configuration

I found that this command does not have that problem.

PHP Code:
/etc/init.d/php5-fpm restart 
so I edit /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php and change every invocation of

PHP Code:
$app->services->restartService('php-fpm',’reload:.. 
to
PHP Code:
$app->services->restartService(php-fpm’,’restart:... 
I'm running the latest Ubuntu 12.04, the latest PHP55 from https://debphp.org with the latest ISPConfig.
Reply With Quote
The Following User Says Thank You to basz For This Useful Post:
Nicram (10th January 2014)
Sponsored Links
  #2  
Old 5th November 2013, 07:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
 
Default

You should report that to https://debphp.org/, as a reload is the correct command to reload the configuration and it works fine with the php packages from Ubuntu.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: Unable to load SQL-Dump into database table. livetv Installation/Configuration 10 13th March 2013 15:03
Some problems after upgrade OS lenny to squeeze matiasCU Installation/Configuration 3 31st May 2011 22:53
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Upgrade to php 5.2 in suse 10.1 gimhan90 Installation/Configuration 3 1st January 2009 20:32
eaccelerator installation - can't find php5-config tom Programming/Scripts 9 15th May 2006 15:36


All times are GMT +2. The time now is 17:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.