Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Mediawiki and Zend Accelerator configuration

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


princegeralda at hcl

Oct 19, 2009, 3:07 AM

Post #1 of 3 (247 views)
Permalink
Mediawiki and Zend Accelerator configuration

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[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


questpc at rambler

Oct 19, 2009, 4:22 AM

Post #2 of 3 (232 views)
Permalink
Re: Mediawiki and Zend Accelerator configuration [In reply to]

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


jcsahnwaldt at gmail

Oct 19, 2009, 2:45 PM

Post #3 of 3 (226 views)
Permalink
Re: Mediawiki and Zend Accelerator configuration [In reply to]

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

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

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.