sed -i '$ c ; End:\n\[eaccelerator]\nzend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so"\neaccelerator.shm_size="64"\neaccelerator.cache_dir="/usr/local/eaccelerator_cache"\neaccelerator.enable="1"\neaccelerator.optimizer="1"\neaccelerator.check_mtime="1"\neaccelerator.debug="0"\neaccelerator.filter=""\neaccelerator.shm_max="0"\neaccelerator.shm_ttl="3600"\neaccelerator.shm_prune_period="3600"\neaccelerator.shm_only="0"\neaccelerator.compress="1"\neaccelerator.compress_level="9"\n\[Zend Optimizer]\nzend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/ZendGuardLoader.so"\nzend_optimizer.optimization_level=1\nzend_optimizer.encoder_loader=0' /etc/php.ini
sed -i 's#DirectoryIndex index.html#& index.php#' /usr/local/apache/conf/httpd.conf
sed -i '356 c\ AddType application/x-httpd-php-source .php' /usr/local/apache/conf/httpd.conf
sed -i '357 c\ AddType application/x-httpd-php .php' /usr/local/apache/conf/httpd.conf
#sed -i '53 c LoadModule php5_module modules/libphp5.so' /usr/local/apache/conf/httpd.conf