![]() |
APC PHP Cache
Der APC PHP Cache (unter Software News s. 87) wird schon seit jahren nicht mehr gepflegt. In der Zwischenzeit hat sich ein neues PHP Cache Programm hervorgehoben, der ionCube PHP Accelerator (Download von www.php-accelerator.co.uk)
PHP Accelerator arbeitet wesentlich schneller als APC Cache und wird auch von grösseren Websites wie Yahoo erfolgreich eingesetzt. |
Re: APC PHP Cache
Zitat:
er senkt die cpu load (wie jeder precompiler) deutlich und beschleunigt zugriffe... im vergleich zu db zugriffen sind die php request sowieso mit und ohne cache mehr als 1000 mal schneller :-) lg, paul. |
Re: Re: APC PHP Cache
Zitat:
Die letzte Version von APC stammt vom 25. August 2001 und ist damit nicht mehr ganz up to date. Die Installation von PHP Accelerator dauert vielleicht 2 Minuten: mkdir /usr/local/phpa cd /usr/local/phpa wget http://www.php-accelerator.co.uk/rel...glibc2.1.3.tgz (bei PHP 4.3.x) tar xzvf php_accelerator-1.3.3r2_php-4.3.0_linux_i686-glibc2.1.3.tgz cd php_accelerator-1.3.3r2_php-4.3.0_linux_i686-glibc2.1.3 mv * ../ mkdir /home/phpacache chmod 777 /home/phpacache Beispielkonfiguration (php.ini): zend_extension="/usr/local/phpa/php_accelerator_1.3.3r2.so" phpa.cache_dir = /home/phpacache phpa.shm_ttl = 12h phpa.shm_max_processes = 512 phpa.shm_stats_check_period = 5m phpa.shm_size = 32 phpa.enable_php_memory_bug_workaround = 1 Danach muss nur noch Apache neu gestartet werden. Fertig :) Ein relativ interessantes Feature ist auch die Option "phpa.enable_php_memory_bug_workaround" welche die Memory Leak Probleme von PHP 4.2.x automatisch korregiert. Zitat:
http://www.idfr.net/etude_apache/optimisation.php So. Im nächsten WCM will ich eine PHPA Review sehen ;) |
Re: Re: Re: APC PHP Cache
Zitat:
|
Re: Re: Re: Re: APC PHP Cache
Zitat:
Dieses Version für PHP 4.1.x sollte mit Debian 3.0 funktionieren: http://www.php-accelerator.co.uk/rel...glibc2.1.3.tgz |
Re: Re: Re: Re: Re: APC PHP Cache
Zitat:
Zitat:
|
Zitat:
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 02:23 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag