Mediawiki and Zend Accelerator configuration

View: New views
3 Messages — Rating Filter:   Alert me  

Mediawiki and Zend Accelerator configuration

by Prince Gerald Albert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can somebody list the steps or provide reference to configure Zend Accelerator and/or any accelerator to increase the speed of my wiki installation

Thanks
Prince Gerald A


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
Wikitech-l mailing list
Wikitech-l@...
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: Mediawiki and Zend Accelerator configuration

by Dmitriy Sintsov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Prince Gerald Albert <princegeralda@...> [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@...
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: Mediawiki and Zend Accelerator configuration

by Bugzilla from jcsahnwaldt@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> wrote:

> * Prince Gerald Albert <princegeralda@...> [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@...
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

_______________________________________________
Wikitech-l mailing list
Wikitech-l@...
https://lists.wikimedia.org/mailman/listinfo/wikitech-l