You are Here: FAQ ->Dedicated Servers->Root Server->HowTo...->Article #11


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


How can I use the Zend Optimizer on my Root Server?


WebHosting 5.0 : This document is valid for 1&1 Web Hosting 5.0 but not for 1&1 Microsoft Hosting.
Zend Optimizer of Dedicated Linux Servers


1. Please check that the Zend Optimizer is present on the server.



# php -v
PHP 4.3.10 (cgi) (built: Dec 21 2004 10:27:48)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v2.5, Copyright (c) 2002-2004, by ionCube Ltd.


2. The download "ZendOptimizer.so" is for PHP version 4.3.1.



Download ZendOptimizer.so

*Please note that if you have changed the PHP version then you would need to download the relevent "ZendOptimizer.so" a new version, Download ZendOptimizer.so.

Upload the "ZendOptimizer.so" to the server. In this example we have saved the file in the /root directory



/root
-rw-r--r-- 1 root root 552K Apr 7 11:28 ZendOptimizer.so


Edit the /etc/php.ini file so that following text is included



zend_optimizer.optimization_level=15
zend_extension=/root/ZendOptimizer.so


5. To check that the Zend Optimizer is working please now type again "php -v"



You should get the following result

# php -v
PHP 4.3.10 (cgi) (built: Dec 21 2004 10:27:48)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v2.5, Copyright (c) 2002-2004, by ionCube Ltd., and
with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not Very Useful at all):
1 2 3 4 5