LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > eAccelerator only loads as zend extension (not as php extension)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-19-2009, 07:22 AM
Michael.Terence Michael.Terence is offline
Member
 
Join Date: Jan 2009
Posts: 28
Default eAccelerator only loads as zend extension (not as php extension)

I just purchased a license and have compiled php5 via the web gui. I checked the box for Suhosin, and Mail Header patches, and selected the eaccelerator radio button.

I loaded up did a graceful restart of lsws, and loaded up the phpinfo page - Suhosin and eaccelerator weren't loaded so I followed the php.ini path from the phpinfo page (in my case it was /usr/local/lsws/lsphp5/lib ) - created the php.ini file and added the following into it:

Quote:
extension="suhosin.so"
extension="/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
eaccelerator.shm_size="32"
eaccelerator.cache_dir="/tmp/eaccelerator"
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"
eaccelerator.log_file = "/var/log/eaccelerator_log"
eaccelerator.allowed_admin_path = "/home/emmteh/uncorrupted.net/public_html/control.php"
Suhosin would load, but eaccelerator wouldn't. I verified that the path to the module was correct and finally added zend_extension=/path/to/eaccelerator.so instead of just extension=/same/path and it worked.

I need the IonCube module and it won't work with eaccelerator loaded as a zend extension.

What do I need to do to get eaccelerator to work as a regular php extension and not a zend extension?

My php compile line is as follows:
Quote:
--enable-shmop --enable-track-vars --enable-sysvsem --enable-sysvshm --enable-bcmath --enable-calendar --enable-exif --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-mbstring --enable-pdo=shared --enable-soap --enable-sockets --enable-zip --with-bz2 --with-curl --with-curlwrappers --with-freetype --with-gd --with-gettext --with-imap --with-imap-ssl --with-jpeg-dir=.. --with-png-dir=.. --with-libxml --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysqli --with-openssl --with-sqlite=shared --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-pdo-sqlite=shared --with-pic --with-ttf --with-zpm --with-xsl --with-zlib --with-snmp=shared --with-imagick --with-iconv --with-zip --with-curl-ssl --with-xpm-dir=.. --with-kerberos
Thanks!
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:23 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.