How to install Zend Optimizer with the (IonCube) Loader? (RHEL, Plesk)

How to install Zend Optimizer with the (IonCube) Loader?

  1. wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
  2. tar zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
  3. cd ZendOptimizer-3.3.3-linux-glibc23-i386
  4. php -v (Check php version note it down)
  5. php -i | grep php.ini (note down the php.ini path)
  6. httpd -v (Check version)
  7. ./install
  8. After the above it will prompt for various path of apache, php
  9. php -v (if it gives error) "PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0"
  10. Comment the zend in php.ini
  11. nano -w /etc/php.ini
  12. #[Zend]
    #zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    #zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
    #zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
    #zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
    #zend_optimizer.version=3.3.3
  13. Make a zend.ini in /etc/php.d/ directory
  14. copy the zend so to it
  15. [Zend]
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
    zend_optimizer.version=3.3.3
    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
  16. restart httpd | /etc/init.d/httpd restart
  17. check the if it is loaded or not php -v
  18. [root@rshagrawal php.d]# php -v
    PHP 4.3.9 (cgi) (built: Sep 12 2007 11:09:31)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd., and
    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
Thats all you are done.

=======================
Reference ::

http://kb.swsoft.com/en/631

Can I install Zend Optimizer with the (IonCube) Loader?

Article ID: 631
Last Review: Jan,04 2006
APPLIES TO:
  • Sitebuilder 1.1.0 for Linux/Unix

RESOLUTION


Yes. We permit trusted software to be installed and so, we support the
installing of Zend Optimizer along with our Loader in the php.ini file. Note
that our Loader must be installed before Zend Optimizer in the php.ini file. If
you do see messages claiming any incompatibility then this is incorrect and points at a
configuration problem. Please let us know about it and we'll contact you with an explanation.

(Ref. http://www.ioncube.com/faq.php?sid=1d442d702d1781b4639c7c566b801878&sid=1d442d702d1781b4639c7c566b801878#zo2)


=====================================================
If you need any assistance, We can provide you for a small fee. please email us mayur.c24@gmail.com
=====================================================

How to Install SSL certificate on plesk.

How to Install SSL certificate on plesk.

1. Make sure that the site is on a dedicated IP

2. Goto Plesk -> Server -> Certificates -> Add new certificate

3. Fill in the form as per the domain we wish to install the cert for and click on 'Request'
This will generate the KEY as well as the CSR

4. Use CSR with SSL provider

5. Go back to this certificate and paste the CRT.

6. Go to Server -> IP Addresses and click on that domain's IP address Change the Certificate from: 'default certificate' to the one which we created earlier.

7. Thats it, check with the https:// URL to confirm the installation




=====================================================
If you need any assistance, We can provide you for a small fee. please email us mayur.c24@gmail.com
=====================================================

How to install ImageMagick

What is ImageMagick?


ImageMagick is a software suite for image manipulation and display, supporting close to 100 image formats, it is mainly used to perform various transformation and conversion operations on images.


Get and uncompress ImageMagick:
# wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
# tar -xzvf ImageMagick.tar.gz

Configure and compile ImageMagick:
# cd ImageMagick-6.x.x
# ./configure
# make

As root you can install it:
# make install

You can test is using thata command:
# /usr/local/bin/convert logo: logo.gif

OR

MMBase uses ImageMagick's convert tool to build and convert its images.

ImageMagick is already part of the Red Hat distribution. Check its availability using:

*****
rpm -q ImageMagick

*****

If ImageMagickis not available on your system,install it using up2date:

*****
# up2date
*****

or download it from the Red Hat Network:

  https://rhn.redhat.com/

and install it by hand:

*****

rpm -ihv ImageMagick-xxx.rpm

*****

Enjoy :
=====================================================
If you need any assistance, We can provide you for a small fee. please email us mayur.c24@gmail.com
=====================================================

Plesk website document root (Virtuoozo VPS)

/var/www/vhosts/domain.com/httpdocs

Unable to send mail through horde

Unable to send mail through horde

Error
=====
There was an error sending your message: unable to connect to smtp server localhost:25
=====

====
Fix
====

Check /etc/hosts

for 127.0.0.1 localhost