We have recently moved multiple Magento 126.96.36.199 websites to a new server running PHP 5.6
Local server paths are different, but everything else is the same.
We noticed some issues with the stores, as Magento 188.8.131.52 does not behave nicely with PHP 5.6.
We are getting this error in the system.log:
Deprecated functionality: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated
Also, our cron job does not seem to trigger correctly. The cron job runs, but only for a very short time ( a few seconds). On the old server this ran for quite a bit longer.
We have a custom task that should run with the cron job every 20 minutes, and this does not longer trigger. If we try to manually run the cron job on the old system, we do immediately get information in the log if it is over 20 minutes since it was last executed.
On the new system nothing happens. Nothing in the magento system.log or the PHP error log.
The new server is running cPanel and the cron job is set to run every 5 minutes.
As we thought that the issue might be with something in Magento 184.108.40.206, we upgraded one of the webshops to Magento 220.127.116.11. While performance improved quite a lot, the issue still remains and cron is still not running.
Executing cron.sh from an SSH-session outpus this:
Content-type: text/html; charset=UTF-8
Visting the webshop and going to cron.php also does nothing.