PDA

View Full Version : Performance of PHP4/5, CLI/CGI Apache 1.3/2.2



grockord
08-11-2008, 05:46 AM
Which is the best configuration for optimal performance?
In PHP4 I think that the best configuration is:
-PHP 4 CLI
-Apache 1.3
-Zend Optimizer and eAccelerator (or xcache, or similar) installed

In PHP5:
-PHP 5 CGI (FastCGI)
-Apache 2.2
-Zend Optimizer and eAccelerator (or xcache, or similar) installed

With PHP4 and PHP5:
-PHP 4 CLI
-PHP 5 CGI (FastCGI)
-Apache 2.2
-Zend Optimizer and eAccelerator (or xcache, or similar) installed

What do you think???

BestBoard
08-11-2008, 09:20 AM
in my servers i'm always install
php 5.2 (as cli)
Apache 2.2
Zend Optimizer + xcache + Memcached

:)

smtalk
08-11-2008, 11:00 AM
PHP5 as CLI with xcache :)

grockord
08-11-2008, 03:14 PM
Bestboard:
memcached is util for a stand alone server?

smtalk:
With Apache 2.2?

smtalk
08-11-2008, 03:18 PM
Yes, apache 2.2.

BestBoard
08-11-2008, 03:25 PM
Bestboard:
memcached is util for a stand alone server?

smtalk:
With Apache 2.2?

yes, it's very useful for me.
i have a lot of vBulletin systems on my server and this tool speed them up :cool:

grockord
08-12-2008, 01:25 AM
yes, it's very useful for me.
i have a lot of vBulletin systems on my server and this tool speed them up :cool:

It's compatible with query_cache actived on my.cnf?

BestBoard
08-12-2008, 06:42 AM
It's compatible with query_cache actived on my.cnf?

Yes.
it's works for me with query_cache (MySQL 5.0.67).

grockord
08-12-2008, 07:53 AM
I go to install memcached on my servers, thanks for de advice!!