12月 102010
 

随着php的版本的升级,ubuntu上默认安装的php版本也从php5.2.x升级到了php5.3.x. 服务器上的一些php程序也是被开发商用zend的早期版本加密过的, 但是zend官方至今仍然没有提供zend optimizer的支持php5.3同时兼容php5.2的版本.

为什么迟迟无法推出支持php5.3的zend optimizer呢?
在zend的官方论坛上,官方工作人员在2009年9月做了如下回答:

by kentatzend on Tue Sep 15, 2009 6:54 pm
The problem is that as we looked into this it is simply not just Optimizer that needs to be updated but also Zend Guard. Zend Guard does not support PHP 5.3 and it appear that php 5.2 code that is encoded with Guard will not run properly in Optimizer/php5.3. So even if we released optimizer it probably would not work.

We need to build a new version of Guard & Optimizer that supports PHP 5.3 and … then people will need to re-encode/obfuscate with the new Guard to run on PHP 5.3.

So this is taking some time due to low level incompatibility that end users of PHP would never see but are important for stuff like this. Please bear with us as we update this product.

http://forums.zend.com/viewtopic.php?f=57&t=1365#p8770

by kentatzend on Sat Jul 04, 2009 1:54 am
We plan to release a zend guard and runtime for php 5.3 later this year.

意思是要继续等待,等待官方开发出支持php5.3的zend guard加密部分的软件,然后才能提供解密运行的zend optimizer的部分.并预计2009年内可以发布.

好不容易等到了2010年的11月,官方发布了支持php5.3的zend guard 5.5(http://forums.zend.com/viewtopic.php?f=57&t=8575)

For PHP 5.2 you use Optimizer for the runtime. For PHP 5.3 you use Guard Loader for the runtime. Loader packages are on that same download page as the new version of Guard.

同时官方也做出了明确说明: 这个支持php5.3的guard中的loader并不兼容php5.2, 所有php5.2及老版本zend加密的php程序,都需要使用新版的zend guard for 5.3重新加密后,才能在php5.3下运行. 真是TMD超级大杯具!

by kentatzend on Thu Oct 21, 2010 11:49 pm
The Guard run-time for PHP 5.3 will not run PHP 5.2 encoded files. The source files must be re-encoded to run in 5.3.

http://forums.zend.com/viewtopic.php?f=57&t=6639&start=60#p27711

 回复

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>