In the PHP installation that comes with xampp [1],
we simply commented in (or added) the following lines
in xampp/php/php.ini and commented out all lines in
the [Zend] section. Works very well.
We had some issues with xampp 1.7.2 (don't recall
what it was), so we use 1.7.1 instead [2].
[eAccelerator]
extension=eaccelerator.dll
eaccelerator.shm_size = "0"
eaccelerator.cache_dir = "C:\Program Files\xampp\tmp"
eaccelerator.enable = "1"
eaccelerator.optimizer = "0"
eaccelerator.debug = "0"
; No check_mtime - When PHP files change, restart Apache!
eaccelerator.check_mtime = "0"
eaccelerator.filter = ""
eaccelerator.shm_max = "0"
eaccelerator.shm_ttl = "0"
eaccelerator.shm_prune_period = "0"
; No need to save compiled scripts on disk - shared mem only
eaccelerator.shm_only = "1"
;eaccelerator.compress = "1"
;eaccelerator.compress_level = "9"
;eaccelerator.keys = "shm_and_disk"
;eaccelerator.sessions = "shm_and_disk"
;eaccelerator.content = "shm_and_disk"
;eaccelerator.admin.name =
;eaccelerator.admin.password =
[1]
http://www.apachefriends.org/en/xampp.html
[2]
http://sourceforge.net/projects/xampp/files/
On Mon, Oct 19, 2009 at 13:22, Dmitriy Sintsov <questpc(a)rambler.ru> wrote:
* Prince Gerald Albert <princegeralda(a)hcl.in>
[Mon, 19 Oct 2009 15:37:06
+0530]:
Can somebody list the steps or provide reference
to configure Zend
Accelerator and/or any accelerator to increase the speed of my wiki
installation
Zend Accelerator has some problems with MediaWiki (regarding to debug
backtrace), it's better to use APC. I usually compile APC module from
source and then load it via php.ini. To my surprise PHP 5.3.1 RC1 seems
to have APC built-in (my external module reported that extension is
already loaded, so I've had to comment it out). Also, I've heard that
APC will be integrated into PHP 6.0 as well. Besides a bytecode cache,
APC is also used as a lightweight alternative to memcached via the
MediaWiki's $wgMemc instance.
Dmitriy
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l