PDA

View Full Version : Zend Optimizer


certify
Mon 22nd Oct '01, 6:54am
I want to download Zend Optimizer but I don't know which version should I use. By the way is this utility good?

My server info
PHP Version : 4.0.3pl1
Apache Version : Apache/1.3.14

Types of Zend Optimizer

FreeBSD 3.4 (for PHP 4.0.4)

Windows NT/2K (for PHP 4.0.4)

Solaris Sparc (for PHP 4.0.4)

Linux glibc2.1 (for PHP 4.0.4)

Linux libc5 (for PHP 4.0.4)

FreeBSD 4.0 (for PHP 4.0.4)

Windows NT/2K (for PHP 4.0.3)

Solaris Sparc (for PHP 4.0.3)

Linux libc5 (for PHP 4.0.3)

Linux glibc2.1 (for PHP 4.0.3)

FreeBSD 4.0 (for PHP 4.0.3)

FreeBSD 3.4 (for PHP 4.0.3)

Windows NT/2K (for PHP 4.0.5/4.0.6)

Solaris Sparc (for PHP 4.0.5/4.0.6)

Linux libc5 (for PHP 4.0.5/4.0.6)

Linux glibc2.1 (for PHP 4.0.5/4.0.6)

FreeBSD 4.0 (for PHP 4.0.5/4.0.6)

FreeBSD 3.4 (for PHP 4.0.5/4.0.6)

Martz
Mon 22nd Oct '01, 7:31am
You need to find out what O/S and version you are using. Try:
gcc -v from Telnet/SSH and it should produce an output similar to this: [admin@raq557 admin]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Obviously if you are on a Windows based server you are not going to be able to do this - therefore you'll want the Windows NT/2K (for PHP 4.0.4).

Importantly, you'll probably need to upgrade your version of php - or find an older version of Zend which will work for 4.03. Im no pro - this is just the obvious stuff, someone with more talent around here might be able to help you out more - this would be a good start though :)

certify
Mon 22nd Oct '01, 8:28am
Ops for about the OS, I'm using RedHad 7.1

Martz
Mon 22nd Oct '01, 10:45am
You will probably want one of these 2 - make sure someone else clarifies/confirms this before you dive in and install it :)

Linux libc5 (for PHP 4.0.3)
or
Linux glibc2.1 (for PHP 4.0.3)

It may already be installed - have you put:
<?php phpinfo() ?>
in a php file and run it? It should say if you have zend or gzip on your system.

fastforward
Mon 22nd Oct '01, 2:16pm
In my experience, unless you're using caching software, the benefits of using the Optimizer are virtually negligible when using vB and moderate hardware. The speed improvement of the compiled script is easily offset by the time taken to to parse and optimize it. Unfortunately, the only caching software that works with the Zend Optimizer, is their own that sells for $2,500.

certify
Tue 23rd Oct '01, 8:01am
$2,500 wow that is way too expensive!

Are there any Caching software that is good and cost less or better still free?

fastforward
Tue 23rd Oct '01, 2:34pm
Originally posted by certify
$2,500 wow that is way too expensive!

Are there any Caching software that is good and cost less or better still free?

APC at http://apc.communityconnect.com/
or
afterBurner at http://bwcache.bware.it/

Both say they plan to support the Zend optimizer some time in the future. The APC version seems to be updated more often.

I have successfully used both at one time or another.

Chris Schreiber
Tue 23rd Oct '01, 3:19pm
I would recommend against using the Zend "Optimizer".... in my experience it will actually slow things down. Here's a good benchmark page showing different php cache tools: http://www.dynamicwebpages.de/bench/cacheoverview.html

I have used both APC Cache and PHP Accelerator ( http://www.php-accelerator.co.uk/ ) and both work pretty well.

ethank
Wed 24th Oct '01, 9:09pm
Using APC, having no problems with it and the speed increase was definetly discernable.

Ethan

eva2000
Thu 25th Oct '01, 12:34am
with APC i got memory leaks :(

might try again with the latest version since i used 1.08/1.09 back then

ethank
Thu 25th Oct '01, 1:05am
Originally posted by eva2000
with APC i got memory leaks :(

might try again with the latest version since i used 1.08/1.09 back then

Haven't seen a leak since installing it. I'm using the latest version.

Ethan

Nicholas Brown
Thu 25th Oct '01, 6:02pm
I use bware_cache - seems fine for me - we got huge memory leaks with APC like others here :)

eva2000
Sun 28th Oct '01, 5:32am
just moving this from chit chat :)

nuno
Sun 28th Oct '01, 10:11am
scroll down
click Previous versions link
u'll find Zend Optimizer for PHP 4.0.3 ;)

dwh
Mon 23rd Jun '03, 9:22pm
If so I'd like to install php accelerator and uninstall zend but it came with my cpanel machine. Any ideas on if I should and how to uninstall/install? thank you.