File: not_enough_shm.phpt

package info (click to toggle)
php-apcu 5.1.17%2B4.0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,888 kB
  • sloc: ansic: 11,028; php: 1,705; xml: 859; pascal: 5; makefile: 1
file content (12 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Error if cache structures cannot be allocated in SHM
--INI--
apc.enabled=1
apc.enable_cli=1
apc.shm_size=1M
apc.entries_hint=1000000
--FILE--
Irrelevant
--EXPECTF--
%A
Fatal error: Unable to allocate %d bytes of shared memory for cache structures. Either apc.shm_size is too small or apc.entries_hint too large in Unknown on line 0