PHP Accellerator ?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mg66
-


Joined: 15 Aug 2004
Posts: 85
Location: USA, Illinois

PostPosted: Fri Jun 02, 2006 6:40 pm    Post subject: PHP Accellerator ? Reply with quote

I am running a dynamic php web site on winxp. I wanted to install eaccellerator to try to speed things up. I have a couple of questions.

Any recommendation on an accelerator to use other than eaccelerator?
Does anything need to be setup in Abyss?
Does anyone know if they really help or more of a hinderence?

Thanx in advance
_________________
mg66

http://sv650.metromain.net
http://photography.metromain.net
http://weather.metromain.net
http://www.metromain.net
http://www.bghi.us


Abyss Web Server X2
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Jun 03, 2006 7:08 pm    Post subject: Re: PHP Accellerator ? Reply with quote

mg66,

The PHP accelerators we're aware of are:
* EAccelerator
* APC: http://pecl.php.net/package/APC
* XCache (new and not yet 1.0): http://trac.lighttpd.net/xcache/wiki/InstallFromBinary
* Zend Platform (Commercial): http://www.zend.com/products/zend_platform

Setting up an accelerator usually means installing a PHP extension (copying it in the PHP extensions directory) and declaring it in php.ini. So nothing has to be changed or configured on Abyss Web Server's side.

The EAccelerator setup instructions for Windows are in http://www.sitebuddy.com/PHP/Accelerators/eAccelerator .

Some scripts are known to have problems when running with EAccelerator
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mg66
-


Joined: 15 Aug 2004
Posts: 85
Location: USA, Illinois

PostPosted: Sun Jun 04, 2006 2:04 pm    Post subject: Reply with quote

Thanx for the prompt reply.

Does Abyss fastcgi do the same sought of thing to a point by running processes for a certain time, like I have set my sites to 120 secs. Since running fastcgi my load times seem faster but the stats dont seem to show any significant speed increase.
_________________
mg66

http://sv650.metromain.net
http://photography.metromain.net
http://weather.metromain.net
http://www.metromain.net
http://www.bghi.us


Abyss Web Server X2
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jun 05, 2006 10:37 am    Post subject: Reply with quote

mg66 wrote:
Thanx for the prompt reply.

Does Abyss fastcgi do the same sought of thing to a point by running processes for a certain time, like I have set my sites to 120 secs.


FastCGI reduces startup time of the scripts since it will load the PHP processor once and reuse it for several requests. EAccelerator (and the likes) operate inside PHP and cache the compiled form of the scripts to reuse them later.

So to sum up. With CGI and no accelerator:

Script execution time = PHP interpreter loading time + PHP script reading + PHP script pseudo-compilation + PHP interpretation of the pseudo-compiled version

With FastCGI (starting from the second request):

Script execution time = PHP script reading + PHP script pseudo-compilation + PHP interpretation of the pseudo-compiled version

With FastCGI and EAccelerator (starting from the second request):

Script execution time = PHP interpretation of the pseudo-compiled version

Quote:
Since running fastcgi my load times seem faster but the stats dont seem to show any significant speed increase.


Which stats are you referring to? Normal stats won't show you the difference. Only web server stress tools can.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group