PHP-FPM would not restart

January 20, 2015 40k 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
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/

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

1 Answer

You need to run the service command as root:

sudo service php5-fpm restart
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!