skip to Main Content

Cron Job on cPanel not running

I'm trying to run a cronjob in cPanel which gives me the following error: Fatal error: Uncaught Error: Class 'mysqli' not found in /home/example/public_html/new_facebook_csv/csv_generator1.php:180 If run that file through browser by using the link example.com/new_facebook_csv/csv_generator1.php i get the right resaults…

VIEW QUESTION

upgrade server php version in Cpanel

I have to run composer in cpanel terminal to install and host laravel project. But however, it gives this error This package requires php ^7.2.5 but your PHP version (5.6.40) does not satisfy that requirement. I go Settings >> MultiPHP…

VIEW QUESTION

Cpanel Cron Job Php Global Variable

The cron job process works, but it doesn't read global variables like $ _SERVER in php. Cron Job Code: /usr/local/bin/ea-php72 -q /home/userName/public_html/folderName/folderName2/phpFile.php PHP Code: print_r($_SERVER['DOCUMENT_ROOT']); How do we get it to read these global variables?

VIEW QUESTION
Back To Top
Search