Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

ioncube whmcs cron job fails

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

ioncube whmcs cron job fails
  • Quote

Post by bowsercloud » Thu Aug 03, 2017 5:20 am

I have whmcs installed on vestacp. I've installed the ioncube add in by adding

Code: Select all

zend_extension = /usr/lib/php/20151012/ioncube_loader_lin_7.0.so
to

Code: Select all

/etc/php/7.0/apache2/php.ini
But, when the user runs the cron job, it fails asking for the ioncube loader to be installed. Has anyone else seen similar errors?
Top

chaosjester
Posts: 11
Joined: Thu Sep 04, 2014 5:41 am

Re: ioncube whmcs cron job fails
  • Quote

Post by chaosjester » Thu Aug 03, 2017 6:26 am

The CLI can sometimes use a different ini, you can modify your cronjob and add "php -c /etc/php/7.0/apache2/php.ini /path/to/whmcs/cron.php"
Top

bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Re: ioncube whmcs cron job fails
  • Quote

Post by bowsercloud » Thu Aug 03, 2017 11:35 pm

I got another error with that command.

Code: Select all

PHP Warning:  PHP Startup: Unable to load dynamic library 
I did get it working by adding the zend ioncube line to the

Code: Select all

/etc/php/7.0/cli/php.ini
file
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password