SyntaxFix
Write A Post
Hire A Developer
Questions
Running the script like this (cron case for example): php5 /pathToScript/info.php produces the same error.
php5 /pathToScript/info.php
The correct way: php5 -cli /pathToScript/info.php
php5 -cli /pathToScript/info.php