note 113404 added to class.apciterator
| From: | StefanW | Date: | Mon, 07 Oct 2013 23:05:40 +0000 |
| Subject: | note 113404 added to class.apciterator | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-196486@lists.php.net to get a copy of this message | ||
This class will NOT EXIST if the APC extension is installed but disabled in your php.ini.
This is an important difference to functions like apc_store(), which will still exist and be
callable even when APC is disabled. In many installations, the default settings are
apc.enabled = on
apc.enable_cli = off
which means that APCIterator exists for HTTP requests, but not with the "cli" SAPI. The
solution is to either set "apc.enable_cli" to "on" (with the resultant startup
penalty for CLI scripts), or to check the relevant ini settings before your script tries to access
APCIterator.
----
Server IP: 69.147.83.199
Probable Submitter: 213.47.132.228
----
Manual Page -- http://php.net/manual/en/class.apciterator.php
Edit -- https://master.php.net/note/edit/113404
Del: integrated -- https://master.php.net/note/delete/113404/integrated
Del: useless -- https://master.php.net/note/delete/113404/useless
Del: bad code -- https://master.php.net/note/delete/113404/bad+code
Del: spam -- https://master.php.net/note/delete/113404/spam
Del: non-english -- https://master.php.net/note/delete/113404/non-english
Del: in docs -- https://master.php.net/note/delete/113404/in+docs
Del: other reasons-- https://master.php.net/note/delete/113404
Reject -- https://master.php.net/note/reject/113404
Search -- https://master.php.net/manage/user-notes.php