Arun Kumar Posted January 20, 2020 Share Posted January 20, 2020 Hi all, GPG encryption works fine for the normal WHMCS user. But for the cron user, when run as root or as a specific user "www-data" , it throws an error that the gpg library is invalid. Any heads up regarding this issue? Thanks, Arun 0 Quote Link to comment Share on other sites More sharing options...
Damo Posted January 21, 2020 Share Posted January 21, 2020 Would that be because the PHP cli used by the cron is different to the version used by your web server? What version is listed when you run ‘php -v’ as the user from the command line? 0 Quote Link to comment Share on other sites More sharing options...
Arun Kumar Posted January 21, 2020 Author Share Posted January 21, 2020 I'm not sure. It was because of a permission issue that the cron could not access the gpg library and its fixed now . Thank you Damo. 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.