Apr 24

Hello ,

Following are the steps for manual installation of Zend Optimizer v3.3.0 on 32 Bit and 64 Bit Linux servers.

===========================================================

For 32 Bit

=======

cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.3.0/ ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz

tar -zxvf ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz
cd ZendOptimizer-3.3.0-linux-glibc21-i386
./install

For 64 Bit

=======

cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.3.0/ ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz

tar -zxvf ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz
cd ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz
./install.sh

=============================================================

Apr 09

Following are the steps to install ioncube loader for a single account on Linux server if PhpSuexec is enabled on it.

======================================================================

root@host [/home/username] # wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

root@host [/home/username] # tar -zxvf ioncube_loaders_lin_x86.tar.gz

root@host [/home/username] # chown username.username ioncube -R

root@host [/home/username] # cd ioncube

root@host [/home/username/ioncube] # cp ioncube-encoded-file.php ../public_html/

root@host [/home/username/ioncube] # cp ioncube-loader-helper.php ../public_html/

root@host [/home/username/ioncube] # cd ../public_html/

root@host [/home/username/public_html] # chown username.username ioncube*

root@host [/home/username/public_html] # vi php.ini

place the below given path in current accounts php.ini and save changes ,

zend_extension = /home/username/ioncube/ioncube_loader_lin_4.4.so

Now verify ioncube is successfully installed by accessing the below given URL :

http://yourdomain.com/ioncube-loader-helper.php
======================================================================

Apr 01

2008-02-12 19:08:41 Failed to get write lock for /var/spool/exim/db/ratelimit.lockfile: timed out
2008-02-12 19:08:41 H=[xx.xx.xx.xx] temporarily rejected connection in “connect” ACL: ratelimit database not available

To fix such an error , the exim cache database on the server side needs to be clear off to stop this message.

Run the folllowing command on root :

root@host [~]# rm -fv /var/spool/exim/db/*

Output :

removed `/var/spool/exim/db/ratelimit’
removed `/var/spool/exim/db/ratelimit.lockfile’
removed `/var/spool/exim/db/retry’
removed `/var/spool/exim/db/retry.lockfile’
removed `/var/spool/exim/db/wait-dk_remote_smtp’
removed `/var/spool/exim/db/wait-dk_remote_smtp.lockfile’
removed `/var/spool/exim/db/wait-remote_smtp’
removed `/var/spool/exim/db/wait-remote_smtp.lockfile’

root@host [~]# service exim restart

If this doesn’t work , then run /scripts/upcp –force on the server and then check exim_mainlog for the changes.

Apr 01

Some permalinks look very much like they have /index.php inserted before them.Following is the example for it :

http://www.solsearch.net/index.php/xyz/abc/post/

You can simply redirect such links without displaying /index.php using mod_rewrite rule.Edit your .htaccess and place the following rules :

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Save changes.

The end result will be displayed as :

http://www.solsearch.net/xyz/abc/post/