Issue symptoms

Some PHP scripts executed with cronjobs are not working properly, are interrupted, or just hang.

Known affected website engines: Magento, CakePHP.


The issue is caused by PHP CGI binary is being called instead of PHP CLI version. It happens due to read more

In LiteSpeed admin interface do the following:

Configuration -> Server -> Edit -> “Enable LVE” = “Yes” -> Save If you are using CageFS then choose cagefs there. To enable PHP-Selector with LiteSpeed you have to adjust more settings in Admin:
  1. CloudLinux (Admin Console –> Configuration –> Server –> General): CageFS;
  2. Enable SuExec: Server-> General -> PHP SuEXEC -> Yes;
  3. LSPHP5 external app runs in SUEXEC non-daemon mode ONLY (Run On Start Up –> Yes or No);
  4. In LSPHP5 external app (Admin Console –> Configuration –> Server –> External App –> lsphp5)



See screenshot below:

* In order to use PHP Selector and custom php.ini, lsphp5 needs to be in SuEXEC non-daemon mode.

read more

CentOS Web Panel and it’s features are described on official website:

The installation is straight forward:

During the install it builds Apache and PHP from source.

To make PHP-Selector read more