For and by top PHP developers

Another Joomla installer problem

There is a problem with the PHP function gunzip() which in early versions of PHP 5 is known to have made large and unnecessary memory demands in some circumstances. This error is liable to be triggered by Joomla for some PHP versions in the 5.1.x range. Also, there is a problem with some of the Joomla code.

Also, for sites running PHP 5.2.0 or later Joomla would use PHP functions to unpack zip files, but with earlier versions Joomla code is used. A problem was eventually traced to the JFile class and its read method. It can be found at ../libraries/joomla/filesystem/file.php. The old read method is: