So jetzt klappt es:
Die eAccelerator extension muss vor zend und ioncube aufgerufen werden.
Habe das jetzt in das php Template integriert.
Code:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
Installation:
Code:
eAccelerator
apt-get install php4-dev php5-dev
cd /usr/local/src/
wget http://bart.eaccelerator.net/source/0.9.5.2/eaccelerator-0.9.5.2.tar.bz2
tar jxvf eaccelerator-0.9.5.2.tar.bz2
rm eaccelerator-0.9.5.2.tar.bz2
cd eaccelerator-0.9.5.2
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize5
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config5
make && make install
ioncube und zend Loader installieren:
Achtung: Die Folder nach /usr/share/php kopieren und nicht wie im Howto nach /usr/local/lib
http://www.howtoforge.com/linux_apache2_ssl_php5_zendoptimizer_ioncubeloader
dann anpassen:
/etc/ispcp/fcgi/parts/php5/php.ini
und
/etc/ispcp/fcgi/parts/master/php5
direkt ganz oben einfügen unter [PHP]
zend_extension = /usr/lib/php5/20060613+lfs/eaccelerator.so
eaccelerator.shm_size="16"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
zend_extension = /usr/share/php/ioncube/ioncube_loader_lin_5.2.so
zend_extension = /usr/share/php/Zend/ZendOptimizer.so
zend_optimizer.optimization_level=15
am Ende einfügen von:
/etc/ispcp/fcgi/parts/php5/php.ini
[eAccelerator]
eaccelerator.cache_dir = "{WWW_DIR}/{DMN_NAME}/phptmp"
dann:
mysql -u root -ppassword
USE ispcp
UPDATE domain SET domain_status = "change";
UPDATE subdomain SET subdomain_status = "change";
UPDATE domain_aliasses SET alias_status = "change";
UPDATE mail_users set status = "change";
quit
/var/www/ispcp/engine/ispcp-rqst-mngr