Bastien Donjon

Développeur web à Bordeaux

cron Archive



July 2013



PHP Notice: Failed saving metadata to metadataCache in Zend Cron

Written by , Posted in PHP

If you have this message during execution php script in command line :

PHP Notice:  Failed saving metadata to metadataCache in /var/www/vhosts/ on line 838

It is probably that APC is not enabled for CLI scripts. With default configuration, APC is not enabled for CLI script.

To this, add the lines in the configuration file apc :

apc.enable_cli = 1
apc.enabled = 1