PHP 4.4.0 released

markus

Verified User
Joined
Nov 7, 2004
Messages
134
Location
Girona, Catalunya
Hi!

The PHP Development Team announced today 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 would often create memory corruptions which would not always surface and be visible. In other cases it can cause variables and objects to change type or class. If you encountered strange behavior like this, this release might fix it. The increased middle digit was required because the fix that corrected the problem with references changed PHP's internal API. Because of this all binary extension modules need to be recompiled for work with this release again.

Besides this reference problem, this release also fixes numerous other bugs, including a small security problem with our bundled shtool. All Users of PHP are strongly encouraged to upgrade to this release.

For changes in PHP 4.4.0 since PHP 4.3.11, please consult the PHP 4 ChangeLog.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have upgraded PHP and also installed Zend Optimizer 2.5.10 and now I get the following message when starting Apache:

PHP Warning: Zend Optimizer does not support this version of PHP - please upgrade to the latest version of Zend Optimizer in Unknown on line 0

Anyone else seen this? Do we have to wait for a new Zend Optimizer version?
 
I have reported this here:
http://bugs.php.net/bug.php?id=33647

As I believe, if it's a conflict between both products, they should have posted a warning or something along the release announcement. After all both products are Zend creatures...

Anyone have experiences with a similar problem in the past?
 
Well, the bug I mentioned above has been closed as "Bogus" with the following comment:

Do not file bugs when you have Zend extensions (zend_extension=)
loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache,
APC, Xdebug and ionCube loader. These extensions often modify engine
behavior which is not related to PHP itself.

I knew that was going to happen. :(

I have also found this problem reported at Zend site:
http://www.zend.com/phorum/read.php?id=4028&num=5&thread=4028

where the 3rd comment says:
I think you'll have to wait for the developers of ZO to release a new version

Well, ok, let's wait....

HTH+
 
in that case thanks for the advance warning guys I will hold off until a fixed ZO is released.
 
compiling php 4.4.0

could someone show the steps for compiling php 4.4.0 with DA? I really don't want to muck this install up. thanks in advance.
 
cd /usr/local/directadmin/customapache
wget http://your-mirror-of-choice/php-4.4.0.tar.gz

In the wget command you should replace the URL so it points to the mirror of your choice, got from this page:
http://www.php.net/get/php-4.4.0.tar.gz/from/a/mirror

Now, edit the build script to change the PHP version so looks like this:

PHP_VER=4.4.0

Then clean up previous stuff and build all PHP components:

./build clean
./build php y

Finally, restart Apache. On RHLE would be:

service httpd restart

Note: If you use Zend Optimer, be aware there's no one compatible with PHP 4.4.0 yet.
 
Zend Optimizer update: First official answer to the PHP 4.4.0 incompatibility issue.

Quoted from here:
http://www.zend.com/phorum/read.php?num=5&id=4110&thread=4074

----- Alexandra - Zend Support wrote: -----

We currently do have Optimizer for PHP 4.4
You are all welcome to write to support at zend dot com (specify your OS), to get this package.
I wrote them asking for Win2k and RHLE versions. Waiting for feedback...

Well, good news: Mr. Zend is on it, finally. :)

Bad news: The version available via web is till 2.5.10, which refused to work with PHP 4.4.0.


Cheers
 
Maybe because devs had a summer break or something...


Well, this time they have shown where to wget the files. :)

However, while direct link to the tar worked from my browser, the wget failed with timeouts (?) from my RHLE box. :confused:
 
Stopping httpd: [ OK ]
Remaining processes: 1157
Stopping httpd: [FAILED]

Lol :p

Running RH90 with Latest zend now smoothly :)

@ above:

./build zend has also to be done, else you will get an error.
 
Chrysalis said:
in that case thanks for the advance warning guys I will hold off until a fixed ZO is released.
Finally, Zend Optimer version 2.5.10a worked for me on two different platforms: Win2K and RHLE (note the Windows binary has been updated today).

The binaries can be downloaded from here:

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

Take care to get version 2.5.10a for your platform.

:)
 
./build zend has also to be done, else you will get an error. [/B]
Also, before doing so, remember to edit the build script to update the ZO version so it looks something like this:

ZEND_VER=2.5.10a

:)
 
Back
Top