How to install Zend Optimizer on Plesk or on any plain server?

Here are the most simple steps to install ZendOptimizer-3.0.1 on Plesk:

Code:
cd /usr/local/src
wget http://www.eth0.us/files/ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz
tar -zxf ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz
cd ZendOptimizer-3.0.1-linux-glibc21-i386
./install
Now just hit enter a few times until it is done...

Make sure that above lines are exist in /etc/php.ini

Quote:
zend.ini section looks like this,
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
then restart apache service
Quote:
/sbin/service httpd restart
verified output
Quote:
[root@VPS Hosting ~]# php -v
PHP 5.1.6 (cli) (built: May 9 2007 11:29:06)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.28, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
[root@VPS Hosting ~]#
Now everything works, and Zend is properly displayed in php.ini

EnjoyWink

R=central_filter T=**bypassed**

Recently I got very interesting issue and it took very long time to figure our. The problem was I was able to send/receive email to other accounts but not able to send/receive to my own account means test@test.com to test@test.com. Here is what I was getting in error logs (Cpanel server).

gin:test@test.com S=789 id=63311.122.252.239.20.1239477600.squirrel@test.com
2009-04-11 14:20:00 1LsikC-00037z-NP => /dev/null
R=central_filter T=**bypassed**

Then here is what I found in cpanel forums:

central_filter refers to the email filters you've set up in cPanel - stored in /etc/vfilters/. Looks like you've got a filter set up to drop certain emails.

Then I renamed my domain name files in /etc/vfilters/ and I got this fixed, hope this will help you

EnjoyWink


R=virtual_user_spam T=virtual_userdelivery_spam

If you are not able to receive emails and getting the errors " R=virtual_user_spam T=virtual_userdelivery_spam" in error logs then simply disable the spamassasin and check, your issue should be fixed.

EnjoyWink


Complile PHP with imap on directadmin server

Trying to add --with-imap to your configure.php5 ?
and getting this error?

configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing

Solution (worked for me, this was a dovecot machine):

# yum install libc-client
# yum install libc-client-devel
Then add following lines in

nano /usr/local/directadmin/custombuild/configure/ap2/configure.php5

--with-imap=/usr/lib/dovecot/imap \
--with-imap-ssl \

to: configure.php5

# cd /usr/local/directadmin/custombuild/configure/ap2

# ./build php y

Tada!