Installing Kayako in cPanel

Kayako is a third-party application that functions in cPanel. In order to use it, some custom configuration is required with the local PHP environment on your hosting account. The changes can be made by creating a local php.ini file, to enforce the following:

  • Magic Quotes need to be disabled
  • Zend Optimizer’s path needs to be re-declared
  • PDO and PDO MySQL need to be re-declared

For reasons that seem due to the suPHP environment (and the global cascade KB article, noted below), certain variables from the default/server-level php.ini do not cascade into your hosting space. This is the reason certain variables need to be re-declared.

We consulted cPanel’s own technical team, and they indicated that in the case of Kayako, manually overriding any “missing” settings in your local php.ini is the way to go.

Therefore, you should make make sure the following settings have been input to your php.ini file:

magic_quotes_gpc = Off
zend_extension = “/usr/local/IonCube/”
zend_extension = “/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/”

Finally, as our shared environment runs in suPHP mode, you will need to create a .htaccess file (or add to an existing one), with some additional code. Please see the following KB article for the necessary .htaccess modifications:

If you follow these directions, you should be able to install Kayako without issue in your shared cPanel hosting account.