Zendguardloader

I am using Matomo with PHP 7.2. When cron starts I get this message:

Failed loading /usr/local/lib/ZendGuardLoader.so: /usr/local/lib/ZendGuardLoader.so: undefined symbol: zval_used_for_init
PHP Warning: PHP Startup: Unable to load dynamic library ‘uploadprogress.so’ (tried: /usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/uploadprogress.so (/usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/uploadprogress.so: cannot open shared object file: No such file or directory), /usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/uploadprogress.so.so (/usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/uploadprogress.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘jsmin.so’ (tried: /usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/jsmin.so (/usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/jsmin.so: cannot open shared object file: No such file or directory), /usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/jsmin.so.so (/usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/jsmin.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/apc.so (/usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/apc.so: cannot open shared object file: No such file or directory), /usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/apc.so.so (/usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

My support team states: Zend guard loader not supported for PHP version (7.2) set in configuration file.

Houston, we have a problem: every hour a useless cron-mail…

Hi,

I am not sure how this relates to Matomo. Your PHP setup has a PHP C extension that throws this error (or rather your PHP config tries to load a C extension that does not exist.

You are right. I presumed it was a Matomo message after we changed the PHP version from 7.1 to 7.2.
I managed to change the cron instructions and now it works again with wget (previously with php).

1 Like