Bastien Donjon

Développeur web à Bordeaux

Monthly Archive: July 2013

Thursday

18

July 2013

0

COMMENTS

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/website.com/httpdocs/library/Zend/Db/Table/Abstract.php 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