PDA

View Full Version : [WARNING] PHP 4.4.0 Update


Hvu
07-11-2005, 07:05 PM
Just a warning, Zend Optimizer has been known not to work with the NEWEST php yet. Eaccelerator might not work either so do not upgrade if your scripts needs Zend or scared it might break eaccelerator.

Tony
07-11-2005, 07:27 PM
Zend 2.5.10 is compatible with PHP 4.4.0 - you can download a copy from http://download.powervps.com/useful/zend.tar.gz

There have been no details released on the Eaccelerator site yet.

Hvu
07-11-2005, 07:48 PM
Tony, you sure? I'll try it later tonight.

Some people having problems
http://bugs.php.net/bug.php?id=33647
http://www.zend.com/phorum/read.php?num=5&id=4074&loc=0&thread=4074

vps-vince
07-11-2005, 08:39 PM
I'd be suprised if PHP4.4 is not compatible, but do know of some php applications that will give an error because 2.5.10 appears as 2.5.1 decimally, meaning that some apps may think the new version is older than what it requires (previous version number was 2.5.9).

I am shocked at the Zend team for not using better version numbering method.
They could have gone from 2.5.9 to 2.5.91 or 2.5.6 to avoid these issues.

- Vince

Lorio
07-12-2005, 03:40 PM
Zend 2.5.10 is compatible with PHP 4.4.0 - you can download a copy from http://download.powervps.com/useful/zend.tar.gz


You can also get these files from Zend via
http://downloads.zend.com/optimizer/2.5.10/

But the installer of 2.5.10 told me that the ZendOptimizer is not compatible with PHP 4.4.0.

The relevant Cpanel forum thread is this: http://forums.cpanel.net/showthread.php?t=41224

The relevant Webhostingtalk thread is this:
http://www.webhostingtalk.com/showthread.php?s=&threadid=423608

So please confirm a working installation of PHP 4.4.0 with Zent 2.5.10.

mpattman
07-12-2005, 06:31 PM
Hi,

I can confirm that Zend Optimizer 2.5.10 does not work with PHP 4.4.0. However, for those who use it Ioncube have updated their loader to support this version.

Fred
07-13-2005, 12:20 AM
Are we in risk if we don't update our php ???

We heard that it work, we heard that it doesn't work... I wouldn't update anything without being very sure that nothing will break...

charles
07-13-2005, 12:41 AM
Since there are issues upgrading I highly recommend you dont until they are ironed out. Please see the release notes to determine if you are at risk, but the point is moot if you can't use it.

http://forums.deftechgroup.com/showthread.php?t=420

charles

mpattman
07-14-2005, 01:04 PM
A new version of Zend Optimizer is out 2.5.10a

http://downloads.zend.com/optimizer/2.5.10a/

So far it is working fine on my PHP 4.4.0 system with Zend encoded files.

PvUtrix
07-23-2005, 08:57 PM
A new version of Zend Optimizer is out 2.5.10a

http://downloads.zend.com/optimizer/2.5.10a/

So far it is working fine on my PHP 4.4.0 system with Zend encoded files.

Yep, here's a How To -
http://forums.cpanel.net/showthread.php?t=41308&page=1&pp=15

jpetrov
08-12-2005, 01:34 AM
does this mean that we'll have to rebuild eAccelerator and Apache?

ozgreg
08-12-2005, 01:56 AM
yes, php / apache / eAccelerator are all linked with each other. The same also goes with mysql (if you upgraded it to 4.1 you would also need to do an apache rebuild)

I heard some mixed reports on 4.4.0 and right now I cannot see a compelling reason to upgrade to it.

jpetrov
08-12-2005, 02:44 AM
Well - it was a security release as far as I know...

ozgreg
08-12-2005, 08:38 AM
Well - it was a security release as far as I know...

Actually no it is not..

"The PHP Development Team would like to announce the immediate release of PHP 4.4.0. This is a maintenance release that addresses a serious memory corruption problem within PHP concerning references. If references were used in a wrong way, PHP could create memory corruptions which would not always surface or be visible. The increased middle digit was required because the fix that corrected the problem with references changed PHP's internal API, breaking binary compatibility with the PHP 4.3.* series. PHP 4.4.0 does not have any new features, and is solely a bugfix release; however, it is strongly recommended that you read the more detailed release announcement available here prior to upgrading your PHP 4 installation."

Tony
08-12-2005, 08:42 AM
Well - it was a security release as far as I know...


4.4.0RC2 was the security release. =)

elix
08-12-2005, 09:13 AM
Is eAccelerator compatible?

ozgreg
08-12-2005, 09:55 AM
Is eAccelerator compatible?

Yes I read reports of it working with 4.4.0. Watch out for Zend although it seems that same issue with the current version 2.5.10 which complains about it being less recent..

NV38
08-12-2005, 12:39 PM
You can change the installer URL to include the new URL

Edit: Open up /scripts/installzendopt via Pico or whatever you use to edit files and change this line

Linux => 'http://www.zend.com/store/getfreefile.php?pid=13&zbid=848&iagree=1',

to

Linux =>'http://downloads.zend.com/optimizer/2.5.10a/ZendOptimizer-2.5.10a-linux-glibc21-i386.tar.gz'


Save Your changes, re-run the script /scripts/installzendopt . And it'll all be working.

PvUtrix
08-28-2005, 12:02 AM
Linux =>'http://downloads.zend.com/optimizer/2.5.10a/ZendOptimizer-2.5.10a-linux-glibc21-i386.tar.gz'

that location does not exist anymore, this is the correct one now
http://downloads.zend.com/optimizer/2.5.10/ZendOptimizer-2.5.10a-linux-glibc21-i386.tar.gz

Jad
08-28-2005, 08:07 AM
I have both installed together with Eaccesslator and all working propely and running smoothly

PvUtrix
08-28-2005, 11:26 PM
I have both installed together with Eaccesslator and all working propely and running smoothly
me too... (blahblah 10 charachers - is this really necessary?)

asterisk
11-03-2005, 09:44 AM
I have installed PHP 4.4.0 together with Zend Optimiser 2.5.10a and it does not work. There will be an error log in the directory stating that Zend is not compatible with this version of PHP.

I reverted PHP back to 4.3.11 and the errors have since stopped.

I am wondering if anyone had any luck with the newer PHP 4.4.1.

BornOnline
11-03-2005, 10:07 AM
When you guys are rebuilding apache, do you select system mysql, mysql module or both?

Zaf
11-03-2005, 05:30 PM
When you guys are rebuilding apache, do you select system mysql, mysql module or both?Mine is MySQL Module.

I upgraded to PHP 4.4.1 and no problems yet. Zend seems to be working fine too. I never had Eacclerator installed and no regrets for that, as I found APC 3.0.8 which is known to be better than Eaccelerator.
If someone needs a How-to for installation, I can post it.

falsedawn
11-04-2005, 06:50 PM
which is known to be better than Eaccelerator

How? From what I've read, eaccelerator is still the fastest on most benchmarks, and APC doesn't play well with ZO. APC may have more active development, though - seems like eA is being rewritten, which could take ages!

elix
11-04-2005, 06:56 PM
How? From what I've read, eaccelerator is still the fastest on most benchmarks, and APC doesn't play well with ZO. APC may have more active development, though - seems like eA is being rewritten, which could take ages!
APC seems better for me, and it works fine with Zend for me as well....

falsedawn
11-04-2005, 07:01 PM
Again, "seems better".
Any objective measurements to back this up?

asterisk
11-15-2005, 01:49 PM
Thanks Zaf, for the info. I've upgraded to PHP 4.4.1 and so far things seem okay where Zend is concerned.

Mine is MySQL module as well.