Web Hosting Talk







View Full Version : Logs and Zend Optimizer


Crazy BigGaz
11-23-2002, 04:17 AM
Hi,

1. Can someone tell me where I can find my main logs on CPanel/WHM server ? and how do I view them ?

2. How do I turn on Zend Optimizer on a CPanel/WHM Server ? I am looking for a easy way of getting zend optimizer installed

Regards,
Garry

oc3
11-23-2002, 01:01 PM
1)The Raw logs for the domain is provide in Cpanel

2) You cannot install zend optimizer through Cpanel/WHM, you will have to ssh to your server to do that.

cheers :)

Crazy BigGaz
11-23-2002, 01:06 PM
Hi,

I have heard there a script which installs zend optimizer in ssh but I am not sure if this will work for php 4.2.3

Regards,
Garry

sasha
11-23-2002, 01:15 PM
Newest Zend optimizer should install fine for these versions:4_0_6 4_1_x 4_2_0 4_2_x 4_3_0
The install script is part of the ZendOprimizer package and is called install.sh. So the process is download, unpack, run the script and answer the questions script asks.

oc3
11-23-2002, 01:25 PM
If you are running under Apache, restart your Apache Web server. use the commands: apachectl stop; apachectl start

enjoy

Crazy BigGaz
11-23-2002, 01:43 PM
Hi,

I have found this in the WHM Manual page 68

/script/installzendopt*

first what does the * mean or what should be in place of it ?
also will this work with php 4.2.3

Has anyone got any info on this command/script ?

Regards,
Garry

FeBox
11-23-2002, 01:47 PM
I would suggest you just download it straight from the Zend site, to make sure everything is up to date. After you run ./install.sh theres a little GUI that just comes up and you basically just got to keep on hitting enter, hehe, takes like 2 minutes.

Crazy BigGaz
11-23-2002, 01:53 PM
Hi,

I think I can do that bit :cool:

Then I belive I have to enter 2 lines into my php.ini ?

So how do I open up php.ini and edit it, doesn't it matter where the 2 lines go ?

And where is php.ini located ?

What would be the full command line to open php.ini to edit it ?

Thank you for all your help

Regards,
Garry

FeBox
11-23-2002, 01:58 PM
Nope, Zend does all that for you. :D

Crazy BigGaz
11-23-2002, 02:07 PM
Hi,

Last question do I download it to my pc or straight to the server ?

If my PC how go I get it to the server and what the command ?
If the server what is the command ?

Regards,
Garry

FeBox
11-23-2002, 02:14 PM
Zend has an anti-leecher script so you cant download it from the server.

You would download it to your PC and then upload it to an account that is already on there.

You would then just go into that folder, and type
mv Zend*hit the tab key* /root/

it will move the file to your /root/ folder.
type cd /root/

Then just go into it and type

tar xzf Zend*hit the tab key*

it will then extract it, then just cd into that directory it created. Then type ./install.sh

After it has been installed you can delete that Zend directory and file if you want.

Crazy BigGaz
11-23-2002, 02:17 PM
Hi,

Thank you that great thank you very much.

Regards,
Garry

FeBox
11-23-2002, 02:21 PM
Yep, no problem! :D

Crazy BigGaz
11-23-2002, 06:22 PM
Hi,

Just to get something right

I upload it by FTP into a vitrual account then go to that virtual account ?

Regards,
Garry

FeBox
11-23-2002, 06:44 PM
Yes, upload it to a virtual account, just to get it on the server, then login as root, and do the steps listed above.