How do I install IonCube with a custom php.ini file?

If you create a custom php.ini file, you lose access to ioncube. Litecommerce and x-cart both come with ioncube; so here's how to link it back into your configuration using your custom php.ini

After adding whatever custom PHP settings you need, add the following line to your ini file. You will need to adjust the line to your server settings. Copy and paste the line, then specify the correct path, using your actual cpanel username, and the correct server operating system and OS version.

zend_extension = /home/cpanel_name/public_html/ioncube/

For threaded php, (most servers with Hands-on are NOT THREADED) the line would look like this:
zend_extension_ts = /home/cpanel_name/public_html/ioncube/

  • 91 Users Found This Useful
Was this answer helpful?

Related Articles

500 Internal Server Error when installing X-cart

If you get a 500 Internal Server error when trying to install x-cart, chances are the...

Can't view images uploaded to the /

Images uploaded to the "files" directory of xcart aren't being displayed, and when bringing up...

Does Flash Macromedia work on our servers?

Yes, Flash does work on Hands-on Web Hosting's servers. This is the general HTML format that...

How do I install Zend with a custom php.ini file?

If you use a custom php.ini file on your site, you will lose Zend Optimizer functionality, as the...

What is the location of ImageMagick?

Is ImageMagick installed? Where is it located? Yes, we keep the latest release of the...