jordanashley13 Posted October 30, 2008 Share Posted October 30, 2008 Hi, I am using Ioncube in my php.ini and the installation of WHMCS works well. BUT... When i try and run my Cron Job, I get the error that is needs Ioncube 5.2 to run. Clip of my php.ini: [Zend] zend_extension="/usr/local/ioncube/ioncube_loader_lin_4.4.so" zend_extension_ts="/usr/local/ioncube/ioncube_loader_lin_4.4_ts.so" How can i add 5.2, so that my cron job will work as well? 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted June 3, 2009 Share Posted June 3, 2009 We are having the exact same issue. Basically, everything works within whmcs as it should, however whenever we try to run a cron using php, we get the error below: We are having to run the crons using wget, which is not the best way tbh, and ideally we would be doing it with php. Has anyone come across this, or better still, a solution to this? 0 Quote Link to comment Share on other sites More sharing options...
ioncube Posted January 14, 2010 Share Posted January 14, 2010 This is from trying to use a Loader for the wrong version of PHP. The OP was trying to use Loaders for PHP 4.4 with PHP 5.2. Always check your configuration, and also make sure that you have the same version of PHP used on the command line (i.e. in cron scripts) as you have for the web server. 0 Quote Link to comment Share on other sites More sharing options...
tbenoit Posted January 19, 2010 Share Posted January 19, 2010 Could also be PHP isn't compiled with ionCube server-wide. Assuming that is the case, try passing the php command line executable the path to a php.ini file setup for your WHMCS install: Example: php -c /home/user/www/whmcs/php.ini /home/user/www/whmcs/admin/cron.php 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.