Forums / Install & configuration / Best practice - How to configure Apache and PHP for eZ?

Best practice - How to configure Apache and PHP for eZ?

Author Message

Siniša Šehović

Thursday 07 September 2006 6:08:15 am

Hi

I have been struggling for quite some time with configuration of SLES9 64bit linux to get best performance.

My server is 64-bit Intel Xeon with 2 CPUs and 4GB of RAM and SCSI disks.

I would like to hear from you how you did it and why!?

This is what I did:

1. Compiled Apache latest 1.3.x version in DSO mode with:

./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-shared=rewrite --enable-module=so --enable-module=cgi --enable-shared=cgi

2. Compiled latest PHP 4.4.4 with:

./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache-32/bin/apxs --with-config-file-path=/usr/local/etc --enable-mbstring --with-session --enable-dom --enable-xml --with-zlib-dir --with-zlib=shared --with-mysql=shared,/usr --with-ldap=shared,/usr --with-sysvsem --with-sysvshm --with-sockets --enable-ftp

3. Compiled mod_dav, iconv, imagemagick, php-java-bridge

I am shure that these are not the perfect switches so I need some help here.

Sinisa

---
If at first you don't succeed, look in the trash for the instructions.