New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Automatic cwp updates were disabled - here is how to fix

Started by chrisg, November 15, 2026, 10:49:17 AM

Previous topic - Next topic

chrisg

On my AlmaLinux 8.10 system, automatic cwp errors via cron reported these errors:
/etc/cron.daily/cwp:
Could not open input file: /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
Could not open input file: /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php

The reason was that /etc/cron.daily/cwp contained 2 lines starting with /bin/php.
This does not work because cron.php and cron_backup.php are encrypted with ioncube, resulting in the following error:
No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube restart

Solution:
Change /bin/php in /etc/cron.daily/cwp to the command
/usr/local/cwp/php71/bin/php

This uses the cwp-internal php which has ioncube built in.