zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

apc.shm_size now uses M/G

March 19, 2013 by Igor Drobot Leave a Comment

php5-fpm

PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files

Solution is pretty simple change in your php.ini

from:

1
apc.shm_size=512

apc.shm_size=512

to

1
apc.shm_size=512M

apc.shm_size=512M

You may need to specify “M” for Megabyte (MB) or “G” for Gigabyte(GB) to solve this issue.

Filed Under: Linux Tagged With: apc, PHP

APC – Alternative PHP Cache

June 21, 2011 by Igor Drobot Leave a Comment

A PHP-accelerator is a PHP extension designed to improve the performance of software applications written in the PHP language.

Most PHP accelerators work by caching the compiled p-code (portable code) of PHP-Scripts to avoid the overhead of reparsing and recompiling source code on each request made for example by a stupid bot.

APC is free, open source framework that optimizes PHP intermediate code and caches data and compiled code from the PHP bytecode compiler in shared memory. APC is quickly becoming the de-facto standard PHP caching mechanism as it will be included built-in to the core of PHP starting with PHP 6 <- Great news! [Read more…]

Filed Under: HTTP, Linux, Networking Tagged With: Accelerator, apc, Benchmark, Nginx, php5-fpm

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok