Manishz

Member
Nov 11, 2011
11
0
51
Curepipe, Mauritius, Mauritius
cPanel Access Level
Website Owner
Hello,

I have already compiled apache with Zend Optimizer but i cannot install the script yet again, please check the problem at /http://www.localdeals.mu/install

How do you add module zendoptimiser.so to apache ?

Please help me out, i will be very grateful , i think i need to change something in php.ini , the problem is i cannot find php.ini in the server

Regards
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
Hello,

Please run the following command to install Zend.

/scripts/phpextensionmgr install Zendopt

When this is done, provide us the result of "php -v" command.

Thank you,
Nibin.
 

crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
Do you have root SSH access to the machine? If you do, you simply run the commands inside the "" exactly as listed to process the commands.

If you do not have root SSH access to the machine, you would need to ask your hosting provider to do so.
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
Hello,

Enabling a PHP extension needs root level access. If you do have root access over your server, please login to the server via SSH and run the commands that I suggest from the command line.

If you don't have "root" access over your server, please ask your hosting provider to enable this extension.

Thank you,
Nibin.
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
Hello,

Yes, you can use putty to login to the server via SSH.

If you are unfamiliar with linux command line, I won't encourage you to get root SSH access, as a wrong execution of command may crash your server down.

An alternative method to enable "ZendOpt" via WHM is at "Main >> Software >> EasyApache (Apache Update)". In this feature, you can find "ZendOpt" at step 5 at the bottom of that page ( but it involves complete apache / php recompile )

Then you can check, whether zendopt is loaded correctly using a phpinfo page ( PHP: phpinfo - Manual )

Thank you,
Nibin.
 

Manishz

Member
Nov 11, 2011
11
0
51
Curepipe, Mauritius, Mauritius
cPanel Access Level
Website Owner
@ thank you very much Infopro, i am getting this , there is missing php.ini, the folder /usr/local/lib/php.ini also does not exist, how i create a php.ini file ?



[email protected] [/tmp]# /scripts/installzendopt

Updating md5sum list
Fetching http://httpupdate.cpanel.net/cpanelsync/easy/targz.yaml (connected:0).......(request attempt 1/12)...Resolving httpupdate.cpanel.net...(resolve attempt 1/65)...
Fetching http://httpupdate.cpanel.net/mirror_addr_list (connected:0).......(request attempt 1/3)......connecting to [email protected]00%......request success......Done
...found 41 host(s) from mirror_addr_list......searching for mirrors (mirror search attempt 1/3)......loaded mirror speeds from cache......mirror search [email protected]%......request success......Done
Installing Zendopt
Determining PHP version
Installing Zend Optimizer binary
Activating Zend Optimizer in /usr/local/lib/php.ini
Zend Optimizer activated
Skipping install to /usr/local/php4, missing php.ini
 
Last edited:

Manishz

Member
Nov 11, 2011
11
0
51
Curepipe, Mauritius, Mauritius
cPanel Access Level
Website Owner
Thaank you very much for your precious help Infopro

the result for php -v is

PHP 5.2.17 (cli) (built: Nov 11 2011 03:49:59)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

For WHM > Service Configuration > Configure PHP and SuExec , i have the following

Default PHP Version (.php files) 5
PHP 5 Handler suphp
PHP 4 Handler none

Apache suEXEC on