Code:
wget [url]
#### replace below with the version tree you have (I will use 4.4)
cp ioncube_loader_lin_4.4.so /usr/local/lib/php/extensions
Add this line BEFORE any other zend_extension (e.g. Zend Optimizer or eAccelerator).
(#### replace below with the version tree you have (I will use 4.4))
I run some scripts that either require Zend or Ioncube (my choice). Is one better than the other in terms of performance or overhead? I think I'd rather install one module instead of both on my server.
I read on some threads here, that installing Zend Optimizer and Eaccelerator, speeds up the box.
I already installed ZEND optimizer on my box, can someone explain benefit's of Eaccelerator , and how to install it and tweak it for best performance ?
Current Specs -
Quote:
PHP 4.4.8 (cli) (built: Feb 21 2008 01:17:23) Copyright (c) 1997-2008 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
I'm running Plesk 8.4.0 and for whatever reason apparently IonCube didn't come pre installed or wasn't working so I tried installing it which is just getting the .so files and adding it to the php.ini that didn't work so I tried Zend the installer said it was complete but again no go. So I have this for an error
Zen optimizer is installed my server, when I try to intall ioncube, all php sites goes down and I get Internal server error, Ioncube and zend dont work together?
and if it s possible to intall ioncube for single site in shared host?
i upload all files ioncube in /user/local/ioncube and go to user/local/Zend/php.ini and in end add zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
i got plesk 8.2 installed on my fedora core 4 server. I would like to install ioncube & zend optimizer.
Anyone can explain me stepwise how to do..
i read many post on the forum about it but i have not succeded in..
here is the infos of my server system info:
CPU:GenuineIntel, Intel(R) Xeon(TM) CPU 2.80GHz Version: psa v8.2.0_build82070706.15 os_FedoraCore 4 OS: Linux 2.6.9-023stab033.9-enterprise Key number: PLSK.00000000.000
component info: awstats6.6-0.060916beta.swsoft bind9.3.1-20.FC4 coldfusionComponent was not installed coldfusion-supportComponent was not installed courier-imap3.0.8-fc4.build82070706.15 drweb4.33-rh5_psa drweb-qmail4.33-fc4.build82070706.15 frontpage5.0.2.2635-1.fc4.swsoft httpd2.0.54-10.4.1.swsoft mailman2.1.8-0.FC4.1 mod_perl2.0.1-1.fc4 mod_python3.1.4-2 mysql4.1.20-1.FC4.1 perl-Apache-ASP2.59-fc4.build82070706.15 php5.0.4-10.5.1.swsoft postgresql-serverComponent was not installed psa8.2.0-fc4.build82070706.15 psa-api-rpc8.2.0-fc4.build82070706.15 psa-autoinstaller3.2.0-build32070705.20 psa-backup-manager8.2.0-fc4.build82070706.15 psa-horde3.1.4-fc4.build82070706.15 psa-imp4.1.4-fc4.build82070706.15 psa-logrotate3.7-fc4.build82070706.15 psa-manual-custom-skin-guide8.2.0-fc4.build82070706.15 psa-migration-manager8.2.0-fc4.build82070706.15 psa-mivaComponent was not installed psa-mod-fcgid-configurator1.0-13 psa-proftpd1.3.0-fc4.build82070706.15 psa-qmail1.03-fc4.build82070706.15 psa-qmail-rblsmtpd0.70-fc4.build82070706.15 psa-rubyrails-configuratorComponent was not installed psa-spamassassin8.2.0-fc4.build82070706.15 psa-tomcat-configurator8.2.0-fc4.build82070706.15 psa-turba2.1.4-fc4.build82070706.15 rubyComponent was not installed samba3.0.23a-1.fc4.1 spamassassin3.0.6-1.fc4 SSHTerm0.2.2-fc4.build82070706.15 tomcat5.0.30-5jpp_6fc webalizer2.01_10-28
info when doing uname -a:
Linux xxx.xxxxx.xx 2.6.9-023stab033.9-enterprise #1 SMP Tue Dec 5 14:40:57 MSK 2006 i686 i686 i386 GNU/Linux
info when doing php -v:
PHP 5.0.4 (cli) (built: Nov 9 2005 09:19:53) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
Info when doing httpd -v: Server version: Apache/2.0.54 Server built: Jul 31 2006 15:02:04
I struggled many times to be able to set up the ioncube & zend optimizer but in vain..
Does anyone have a recommendation for the eaccelerator eaccelerator.shm_ttl setting? If it was left at the default of "0", this means no newer scripts would ever be cached once the memory is full. Or would it do additional caching on disk as well and not show up in the phpino.php file?
We have alloted 32 Megs of Ram for eA. Maybe something like this would help move some old scripts out of the cache?
When eAccelerator doesn't have enough free shared memory to cache a new script it will remove all scripts from shared memory cache that haven't been accessed in at least shm_ttl seconds. By default this value is set to "0" which means that eAccelerator won't try to remove any old scripts from shared memory.
Does that mean that once the shared memory is full, that even if a script that is in shared memory hasn't been accessed in 5 months, any new scripts will have to be ran off of the compiled versions on disk instead of being read out of the much-faster RAM?
i installed eAccelerator, everything look good, exept i have a problem with Wifidog-auth server that i have installed, it gives me errors that it cant connect to database.... but not all the times, could eaccelarator be doing this? it was fine before i installed EA
Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to database on localhost' in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php:96 Stack trace: #0 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php(321): AbstractDb->connect(NULL) #1 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/Server.php(227): AbstractDb->execSqlUniqueRes('SELECT server_i...', NULL, false, true) #2 /home/lavals/public_html/auth1/wifidog-auth/wifidog/include/common.php(107): Server::getCurrentServer(true) #3 /home/lavals/public_html/auth1/wifidog-auth/wifidog/hotspot_status.php(53): require_once('/home/lavals/pu...') #4 {main} thrown in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php on line 96
I have a Linux server for shared hosting in which I am using Cpanel/WHM. I have PHP running as suPHP which I believe is for security. The problem I am facing is a lot of PHP based websites create load on the server and consume as much as 10% of the CPU and sometimes some script even consumes 50% CPU. I think I can reduce the load caused by the PHP scripts by installing eAccelerator. However, it does not work with PHP running as suPHP. Can anybody tell me which one should I choose of the both? Is there any other way to reduce the load on the server?
I successfully installed eAccelerator and its already working fine then I decided to update my PHP version which is 5.1.6 to 5.2.6 after the upgrade eAccelerator is no longer loaded I tried recompiling eAccelerator but to no avail it doesnt load anymore I double checked eaccelerator.ini and it was already set. Someone said that the phpize that was installed in my server is not compatible to PHP5.2.6 and it needs to be updated also but I cant seem to update it since it always says that it is already updated.
Everything was working fine until I upgraded from PHP 5.2.0 to PHP 5.2.1. I compiled from source to upgrade, and I installed PHP 5.2.0 from source. Once I upgraded, eAccelerator complained that I had to recompile it again for it to work on 5.2.1. I did and it gave me the same error. I recompiled maybe 10 times and it has still complained about it. How do I fix this error?
I tested eaccelerator with php 5.1.6 but I noticed just a very minor performance improvement. Eaccelerator is known for his incompatiblities, also php 5.1 is a big boy now and no longer need an accelerator.
Using version 0.9.5 with the default settings. The cache fills up the shared memory in less than a day. I noticed the cached script is stuck at 176, what happens after this? Will it cache content to disk in the temporary folder (/tmp/eaccelerator/) when the shared memory is full?
I'm now running litespeed server to power sites on a VPS. Currently, a site is working without https access normally. However, when you access the site via HTTPS (SSL), I recieve ioncube is not loaded. Comparing the phpinfo, it appears that the https is loading the old configuration of phpinfo, what's worse, is that it's loading PHP 4. Both however, load the same PHP configuration file.