PHP APC apc_shm_create error on CLI
by Harun Yayli on Tuesday, March 11th, 2008 at 8:36 am under Hacks, PHP, Programming
If you’re getting an error like this one below on Windows PHP commandline make sure that you are not running an apache server that uses apc on the same machine!
[apc-error] apc_shm_create: shmget(0, 8388608, 658) failed: No error. It is possible that the chosen SHM segment size is higher than the operation system allows. Linux has usually a default limit of 32MB per segment.
This was hard to figure! Tested with PHP 5.2.5, APC 3.1.0-dev.
Recent Entries
- oci_bind_by_name maxlength is not so optional
- Is Sun going to buy PHP too?(PHP Quebec 2008)
- PHP APC apc_shm_create error on CLI
- Facebook’s Buggy Spam Detection
- Is it Firefox or Zend Debugger? Cookie Standards
- ezComponents ready for prod?
- You Used PHP to Write WHAT?!
- CPM and Ajax (a.k.a New Metrics)
- Where are you Rasmus?
- Look ma! Mysql Federation sucks!
Just got the same issue! Thanks for the tip!
April 2nd, 2008 at 11:54 am