Rudzer
01-22-2003, 08:17 AM
Help on this is very appreciatted!
We need to install Zend Optimizer 1.2.0 in our new cpanel based server!
How can we do this (from cpanel cp)!
Also where on it can we view what stuff is installed,what versions?
Help on this is very appreciatted!
TIA!
BisonSt
01-22-2003, 08:57 AM
You can do it but wouldn't you want tne updated version? The newest version is v2.1.0
You'll have to wait on someone else for the installation specifics.
/scripts/installzend
I believe that is the script, run it via SSH.
There is also ones in there for compiling with different PHP versions.
Actually here they are....
/scripts/installzendopt-php404
/scripts/installzendopt
/scripts/installzendopt-php406
/scripts/installzendopt-php411
/scripts/installzendopt-php420
/scripts/installzendopt-php421
Rudzer
01-22-2003, 11:46 AM
Just that? :)
thanks alot for the help!
Don't use all of those, choose the one you want..
The 3 numbers on the end are they PHP version they will compile with.
e.g: /scripts/installzendopt-php421 = PHP 4.2.1
Rudzer
01-22-2003, 04:38 PM
bash: /scripts/installzendopt-php423: No such file or directory
:(
mainarea
01-22-2003, 05:46 PM
Rudzer - Do this when you log in to ssh:
root@server [~]# cd /scripts
root@server [/scripts]# ls installzend*
This should display a list of the possible installers. If I'm correct (check with somebody else first), you just need to use the version that's closest to yours (I guess you'd use 421, the most recent version, if you have PHP 4.2.3).
- Matt
Rudzer
01-22-2003, 05:51 PM
Yep did that but didnt really noticed the 4.2.3 (after update)
and with 4.2.1 get this:
This requires php 4.2.1
Press enter to continue or ctrl+c to exit
mkdir: cannot create directory `/usr/local/Zend/lib': File exists
mkdir: cannot create directory `/usr/local/lib': File exists
x - creating lock directory
x - SKIPPING /usr/local/lib/php.ini (file already exists)
x - extracting /usr/local/Zend/lib/ZendOptimizer.so (binary)
You must now restart apache.
Uhh how can I see in SSH command line what version its installed attm?
peace
mainarea
01-22-2003, 06:37 PM
I think PHPInfo should show that, just create a PHP document with this content:
<?php phpinfo() ?>
- Matt
Tazzman
01-22-2003, 07:06 PM
The 4.2.1 installer is also valid for versions of php after that.
Just run /scripts/installzendopt
it will select the appropriate installer for you.
Darth
01-22-2003, 07:18 PM
Or download it from there site :D
hotice007
01-22-2003, 07:29 PM
I had to downgrade PHP from 4.2.3 to 4.2.2 in order for Zend Optimizer to work. If you run into throuble with 4.2.3, that might be the case.
Rudzer
01-23-2003, 07:10 AM
Thanks alot for the help people :)