ERROR with Ioncube Loader on Ubuntu 14.04 x64 LEMP

Posted March 1, 2015 2.7k views

I have created a fresh droplet
with Ubuntu 14.04 x64 LEMP

I’m getting this error log during
the final loader check when
installing the ioncube loader.

2015/02/27 00:42:28 [crit] 1549#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: my ip, server: localhost, request: “GET /ioncube/loader-wizard.php?timeout=0&ini=0&page=loader_check HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “my vps ip”, referrer: “http://my vps ip/ioncube/loader-wizard.php?page=default”

Please help me understand how to correct this error.

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.

Submit an Answer
1 answer

That error message implies that PHP-FPM is not running. The first step in debugging this would be to check on the processes status by running:

  • sudo service php5-fpm status

You can restart the process using:

  • sudo service php5-fpm restart

If the process has crashed for some reason, check the error log for any messages that can point towards the case.

  • less /var/log/php5-fpm.log