1, Apache + MySQL directly using Yum installation
Yum-y install httpd httpd-devel mysql mysql-server httpd-manual mod_perl mod_auth_mysql mysql-connector-odbc mysql-devel Libdbi-dbd-mysql
2. Compiling PostgreSQL
-----
3. Compiling php4.4.9
./configure--enable-mbstring--with-zlib--without-iconv--with-mysql--with-pgsql=/usr/local/pgsql--with-apxs2=/ Usr/sbin/apxs
Make clean
Make
Make install
4. Compiling eaccelerator
Export php_prefix= "/usr/local"
$PHP _prefix/bin/phpize
./configure--enable-shared--with-php-config= $PHP _prefix/bin/php-config
Make
Make install
5. Modify the php.ini file
extension= "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
Eaccelerator.shm_size= "16"
Eaccelerator.cache_dir= "/tmp/eaccelerator"
eaccelerator.enable= "1"
Eaccelerator.optimizer= "1"
Eaccelerator.check_mtime= "1"
eaccelerator.debug= "0"
Eaccelerator.filter= ""
Eaccelerator.shm_ttl= "0"
eaccelerator.shm_prune_period= "0"
eaccelerator.shm_only= "0"
Create a Directory
Mkdir-p/tmp/eaccelerator
chmod 777/tmp/eaccelerator