skip to Main Content

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