APCu für PHP

APCu für PHP 5.6.5

"wget http://pecl.php.net/get/apcu-4.0.7.tgz"
"tar -xf apcu-4.0.7.tgz"
"cd apcu-4.0.7"
"phpize"
"./configure --enable-apcu --with-php-config=/usr/local/bin/php-config"
"make"
"export TEST_PHP_ARGS='-n'"
"make test"
"make install"

"/usr/local/lib/php.ini" -> hinzufügen
	exntension_dir=/usr/local/lib64/extensions/no-debug-zts-20131226/
	extension=apcu.so
	apc.enabled=1
	apc.shm_size=32M
	apc.ttl=7200
	apc.enable_cli=1

"/usr/local/apache2/bin/apachectl stop"
"/usr/local/apache2/bin/apachectl start"
"cp -frv ~/apcu-4.0.7/apc.php /usr/local/apache2/htdocs"
"vi apc.php" ->
	defaults('ADMIN_PASSWORD','Passwort');  
	
Darauf achten das die php.ini auch eingelsen wird .

"php --ri apcu"
"php --ini"
"php -v"


Post Revisions:

This post has not been revised since publication.