Zend Optimizer 3.3.9

Support/Development for PHP
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Zend Optimizer 3.3.9

Unread post by faris »

I can't seem to find the right place to download Zend Optimizer from there days on the Zend site.

I keep getting pointed to ZendGuard and an Optimizer extension for it, which is missing the auto-installer and most of the files.

The filename seems right: ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz but it it way too small and like I say, doesn't contain the full set of files.

Have they made some significant change in the way things are done since 3.3.3 or have they goofed with the downloads? The 64-bit version is the same as the 32-bit one -- again missing most of the files.

Edit: Here's where I am pointed to: http://www.zend.com/products/zend_optimizer on the website. Selecting the Free Download gets you a page where you have to select the Optimizer option. And that's when things go wrong and I get this silly file with half the contents missing.

Edit again: There are indications on the forum that the auto-installer is not provided anymore.
OK, fine, but the only file provided in the "new style" package is ZendOptimizer.so

My php.ini contains the following

Code: Select all

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend333/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend333/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension =/usr/local/ioncube/ioncube_loader_lin_5.1.so
zend_extension=/usr/local/Zend333/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend333/lib/ZendExtensionManager_TS.so
What am I supposed to do about the extension_manager, and the "_ts" etc etc?
(I install each version of Zend in its own directory so that I can easily roll back, hence the Zend333 rather than just Zend)

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Zend Optimizer 3.3.9

Unread post by faris »

I take it that ...

Code: Select all

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend333/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend333/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension =/usr/local/ioncube/ioncube_loader_lin_5.1.so
zend_extension=/usr/local/Zend333/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend333/lib/ZendExtensionManager_TS.so
just needs to be replaced with

Code: Select all

[Zend]
zend_extension=/path/to/correct/version/of/ZendOptimizer.so
zend_extension =/usr/local/ioncube/ioncube_loader_lin_5.1.so
?

What was the purpose of the TS and ZendExtensionManager .so's? Anybody know?

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

Re: Zend Optimizer 3.3.9

Unread post by BruceLee »

After some research the *_ts files are used in TSRM (Thread Safe Resource Management) abstraction layer, sometimes referred to as ZTS (Zend Thread Safety).
Due to the article http://kb.zend.com/index.php?View=entry&EntryID=424
of how to install ZEND manually I think the _ts files are not needed under LINUX anymore because a non-thread safe based mode is only available in older versions.

Global Values
Frequently, an extension will need to track a value through a particular request, keeping that value independent from other requests which may be occurring at the same time. In a non-threaded SAPI that might be simple: just declare a global variable in the source file and access it as needed. The trouble is, since PHP is designed to run on threaded web servers (such as Apache 2 and IIS), it needs to keep the global values used by one thread separate from the global values used by another. PHP greatly simplifies this by using the TSRM (Thread Safe Resource Management) abstraction layer, sometimes referred to as ZTS (Zend Thread Safety).
Last edited by BruceLee on Tue Feb 02, 2010 9:38 am, edited 1 time in total.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Zend Optimizer 3.3.9

Unread post by scott »

and ZTS was merged into core PHP in 5.2.11 I think (package name php-zts), so that would explain why it was deprecated. Thanks for the follow up on that, I didn't know what was going on there either
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Zend Optimizer 3.3.9

Unread post by faris »

Thanks BruceLee!

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

Re: Zend Optimizer 3.3.9

Unread post by BruceLee »

Your're welcome! Happy, that I can help :)
Post Reply