Softaculous and CageFS

Sometimes when installing CloudLinux after Softaculous is installed Softaculous is unable to detect PHP versions outside of the server’s native PHP installation. The following steps need to be taken to configure the pre_install hooks for Softaculous to recognize alt-php from the command line: # cp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_install_cagefs{.txt,.php} # cp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_upgrade_cagefs{.txt,.php} #…

read more

Changing PHP handlers outside of WHM

cPanel makes it easy to change the handler Apache uses to interpret and execute PHP code. Changing the PHP handler is much quicker if done through the command line. EasyApache 3 With EA3 the PHP handler can be changed with /usr/local/cpanel/bin/rebuild_phpconf using the following syntax: DEFAULT_PHPVER PHP4_HANDLER PHP5_HANDLER SUEXEC_MODRUID2 For…

read more