I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for repor
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