Question

PHP-FPM would not restart

Posted January 20, 2015 46.1k views

I tried to install ioncube loader on my server (ubuntu 14.04 32, nginx, php 5.5.9)

I have followed the following steps

cd /tmp
sudo wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xfz ioncubeloaderslin_x86-64.tar.gz

sudo mv ioncube /usr/local/

sudo nano /etc/php5/fpm/php.ini

added this
zendextension = /usr/local/ioncube/ioncubeloaderlin5.5.so

sudo service php5-fpm restart

Still my info.php does not show ioncube

I also ran
service php5-fpm restart

I got the following error

Rejected send message, 1 matched rules; type=“methodcall”, sender=“:1.23 7” (uid=1000 pid=8941 comm=“start php5-fpm ”) interface=“com.ubuntu.Upstart06.J ob” member=“Start” error name=“(unset)” requested_reply=“0” destination=“com.ubu ntu.Upstart” (uid=0 pid=1 comm=“/sbin/init ”)

Any help will be appreciated

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

You need to run the service command as root:

sudo service php5-fpm restart
Submit an Answer