Select Page


CageFS in cPanel – How to make it work for your servers!

Users in our server are getting the following error when executing an operating system command through PHP.

*sh: jpegoptim: command not found*


Recently we were contacted by a server owner whose customer was having issues running a PHP script that executes this command.

In our role as Technical Support Services for web hosting companies, installing, configuring and managing cPanel servers is a major task we perform.

From our detailed investigation, we could see that the error is due to CageFS in cPanel server. Let’s see how it caused ‘command not found’ error and how we fixed it.