News Archive - 2007

Here are the most important news items we have published in 2007 on PHP.net.


PHP 5.2.5 Released

[09-Nov-2007]

The PHP development team would like to announce the immediate availability of PHP 5.2.5. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release.

Further details about the PHP 5.2.5 release can be found in the release announcement for 5.2.5, the full list of changes is available in the ChangeLog for PHP 5.

Security Enhancements and Fixes in PHP 5.2.5:

  • Fixed dl() to only accept filenames. Reported by Laurent Gaffie.
  • Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887). Reported by Laurent Gaffie.
  • Fixed htmlentities/htmlspecialchars not to accept partial multibyte sequences. Reported by Rasmus Lerdorf
  • Fixed possible triggering of buffer overflows inside glibc implementations of the fnmatch(), setlocale() and glob() functions. Reported by Laurent Gaffie.
  • Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable in .htaccess due to the security implications. Reported by SecurityReason.
  • Fixed bug #42869 (automatic session id insertion adds sessions id to non-local forms).
  • Fixed bug #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()).

For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide is available here, detailing the changes between those releases and PHP 5.2.5.


São Paulo 2007

PHP Conference Brasil 2007

[29-Oct-2007]

November 30th - December 1st, Join us at the 2nd Annual PHP Conference Brasil. The event will take place at UNIFIEO in Osasco, São Paulo. This year's conference will have room for 1000 people. Its scheduled for tutorials of 3 hours, aside of speeches, cases, stands and a great catch up time for newbies and veterans.Visit the website for more details. Early registration with discounted price is available until November 9th.


The new documentation build system is ready for testing

[03-Oct-2007]

The PHP documentation team is pleased to announce the initial release of the new build system that generates the PHP Manual. Written in PHP, PhD ([PH]P based [D]ocBook renderer) builds are now available for viewing at docs.php.net. Everyone is encouraged to test and use this system so that bugs will be found and squashed.

Once the new build system is stable, expect additional changes to the PHP manual that will include an improved navigation system and styling for OOP documentation.

Feel free to set this developmental mirror as your default by using my.php.


Washington DC 2007

DC PHP Conference 2007

[21-Sep-2007]

November 7th - 9th, Join us at the 2nd Annual DC PHP Conference. The event will take place at George Washington University's Cafritz Conference Center in the heart of Washington DC. The three day conference begins November 7th and 8th with general sessions, and ends November 9th with tutorials. This year's conference will host some of the PHP Community's top speakers and developers and focus on three primary tracks:

  • Scalability
  • Security
  • The Art of PHP
Please see the website for more details and to register. Early registration is available until mid-October.


Paris Forum 2007

Forum PHP Paris 2007

[20-Sep-2007]

The French AFUP association is proud to announce the sixth annual PHPmeeting in Paris, on November 21st and 22nd, 2007. Developers andmanagers will gather to meet Rasmus Lerdorf, Andrei Zmievski and otherprominent community experts for two days of sessions, packed withenterprise solutions and advanced techniques.


PHP 5.2.4 Released

[30-Aug-2007]

The PHP development team would like to announce the immediateavailability of PHP 5.2.4. This release focuses on improving the stability of the PHP 5.2.X branch with over 120 various bug fixes in addition to resolving several low priority security bugs. All users of PHP are encouraged to upgrade to this release.

Further details about the PHP 5.2.4 release can be found in therelease announcement for 5.2.4, the full list ofchanges is available in the ChangeLog for PHP 5.

Security Enhancements and Fixes in PHP 5.2.4:

  • Fixed a floating point exception inside wordwrap() (Reported by Mattias Bengtsson)
  • Fixed several integer overflows inside the GD extension (Reported by Mattias Bengtsson)
  • Fixed size calculation in chunk_split() (Reported by Gerhard Wagner)
  • Fixed integer overflow in str[c]spn(). (Reported by Mattias Bengtsson)
  • Fixed money_format() not to accept multiple %i or %n tokens. (Reported by Stanislav Malyshev)
  • Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. (Reported by Stefan Esser)
  • Fixed INFILE LOCAL option handling with MySQL extensions not to be allowed when open_basedir or safe_mode is active. (Reported by Mattias Bengtsson)
  • Fixed session.save_path and error_log values to be checked against open_basedir and safe_mode (CVE-2007-3378) (Reported by Maksymilian Arciemowicz)
  • Fixed a possible invalid read in glob() win32 implementation (CVE-2007-3806) (Reported by shinnai)
  • Fixed a possible buffer overflow in php_openssl_make_REQ (Reported by zatanzlatan at hotbrev dot com)
  • Fixed an open_basedir bypass inside glob() function (Reported by dr at peytz dot dk)
  • Fixed a possible open_basedir bypass inside session extension when the session file is a symlink (Reported by c dot i dot morris at durham dot ac dot uk)
  • Improved fix for MOPB-03-2007.
  • Corrected fix for CVE-2007-2872.

For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide isavailable here, detailing the changes betweenthose releases and PHP 5.2.4.


Zend/PHP Conference 2007

Zend/PHP Conference 2007

[25-Jul-2007]

Don't miss the third annual Zend/PHP Conference and Expo 2007! Thisyear's conference promises to be the best ever. Join Zend, the PHPcommunity and leading technology companies from around the world forthree days of education, learning and networking - plus an additionaltutorial day. The 2007 conference will feature over 40 sessions, anexhibit hall featuring leading companies such as Adobe, IBM, PayPal andZend, an UnConference area to stimulate impromptu discussions, andnetworking opportunities galore.

ZendCon2007 will feature something for everyone – from novice toadvanced, business-oriented to technical-focused. You will hear fromleaders in the PHP community and business experts who have implementedPHP based initiatives. Come hear from Zend as it presents a roadmap forbusiness-critical PHP. Meet the Zend development teams. Learn moreabout Zend open source projects.

ZendCon 2007 promises to be the largest gathering dedicated to PHP. Plan to attend ZendCon 2007 and join the PHP community to network andlearn from the best PHP minds from around the world.

For more information please see http://www.zendcon.com/.


php|works 2007

php|works 2007 in Atlanta

[16-Jul-2007]

php|architect is proud to announce php|works 2007, which will take place in Atlanta Georgia (USA) on September 12-14, 2007.

This year, the conference once again promises to be an excellent event for PHP developers of all levels, with talks from top PHP experts such as Derick Rethans, Chris Shiflett, Andrei Zmievski, Sara Golemon, and many more (and plenty of new faces, as well).


PHP 4 end of life announcement

[13-Jul-2007]

Today it is exactly three years ago since PHP 5 has been released. Inthose three years it has seen many improvements over PHP 4. PHP 5 isfast, stable & production-ready and as PHP 6 is on the way, PHP 4will be discontinued.

The PHP development team hereby announces that support for PHP 4 willcontinue until the end of this year only. After 2007-12-31 there will be nomore releases of PHP 4.4. We will continue to make critical security fixesavailable on a case-by-case basis until 2008-08-08. Please use the rest ofthis year to make your application suitable to run on PHP 5.

For documentation on migration for PHP 4 to PHP 5, we would like to point youto our migration guide. There isadditional information available in the PHP 5.0 to PHP 5.1 and PHP 5.1 to PHP 5.2 migration guides aswell.


PHP 5.2.3 Released

[01-Jun-2007]

The PHP development team would like to announce the immediate availability of PHP 5.2.3. This release continues to improve the security and the stability of the 5.X branch as well as addressing two regressions introducedby the previous 5.2 releases. These regressions relate to the timeouthandling over non-blocking SSL connections and the lack ofHTTP_RAW_POST_DATA in certain conditions. All users are encouraged toupgrade to this release.

Further details about the PHP 5.2.3 release can be found in therelease announcement for 5.2.3, the full list ofchanges is available in the ChangeLog for PHP 5.

Security Enhancements and Fixes in PHP 5.2.3:

  • Fixed an integer overflow inside chunk_split() (by Gerhard Wagner, CVE-2007-2872)
  • Fixed possible infinite loop in imagecreatefrompng. (by Xavier Roche, CVE-2007-2756)
  • Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser, CVE-2007-1900)
  • Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()) (by bugs dot php dot net at chsc dot dk)
  • Improved fix for CVE-2007-1887 to work with non-bundled sqlite2 lib.
  • Added mysql_set_charset() to allow runtime altering of connection encoding.

For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide isavailable here, detailing the changes betweenthose releases and PHP 5.2.3.


WebTech 2007

WebTech 2007

[19-May-2007]

The 4th Internet technologies conferencewill take place from June 29 till 30th in the Bulgarian seaside at city of Varna whereyou can combine sun, sea and technologies.

The conference as in the previous 3 years will focus on new technologies in web programming,open source and everything that stands for IT.

The conference is free of charge.


PHP 5.2.2 and PHP 4.4.7 Released

[03-May-2007]

The PHP development team would like to announce the immediateavailability of PHP 5.2.2 andavailability of PHP 4.4.7.These releases are major stability and security enhancements of the 5.x and4.4.x branches, and all users are strongly encouraged to upgrade to it assoon as possible. Further details about the PHP 5.2.2 release can be foundin the release announcement for 5.2.2,the full list of changes is available in theChangeLog for PHP 5. Details aboutthe PHP 4.4.7 release can be found in therelease announcement for 4.4.7, the fulllist of changes is available in theChangeLog for PHP 4.

Security Enhancements and Fixes in PHP 5.2.2 and PHP 4.4.7:

  • Fixed CVE-2007-1001, GD wbmp used with invalid image size (by Ivan Fratric)
  • Fixed asciiz byte truncation inside mail() (MOPB-33 by Stefan Esser)
  • Fixed a bug in mb_parse_str() that can be used to activate register_globals (MOPB-26 by Stefan Esser)
  • Fixed unallocated memory access/double free in in array_user_key_compare() (MOPB-24 by Stefan Esser)
  • Fixed a double free inside session_regenerate_id() (MOPB-22 by Stefan Esser)
  • Added missing open_basedir & safe_mode checks to zip:// and bzip:// wrappers. (MOPB-21 by Stefan Esser).
  • Fixed CRLF injection inside ftp_putcmd(). (by loveshell[at]Bug.Center.Team)
  • Fixed a remotely trigger-able buffer overflow inside bundled libxmlrpc library. (by Stanislav Malyshev)

Security Enhancements and Fixes in PHP 5.2.2 only:

  • Fixed a header injection via Subject and To parameters to the mail() function (MOPB-34 by Stefan Esser)
  • Fixed wrong length calculation in unserialize S type (MOPB-29 by Stefan Esser)
  • Fixed substr_compare and substr_count information leak (MOPB-14 by Stefan Esser) (Stas, Ilia)
  • Fixed a remotely trigger-able buffer overflow inside make_http_soap_request(). (by Ilia Alshanetsky)
  • Fixed a buffer overflow inside user_filter_factory_create(). (by Ilia Alshanetsky)
  • Fixed a possible super-global overwrite inside import_request_variables(). (by Stefano Di Paola, Stefan Esser)
  • Limit nesting level of input variables with max_input_nesting_level as fix for (MOPB-03 by Stefan Esser)

Security Enhancements and Fixes in PHP 4.4.7 only:

  • XSS in phpinfo() (MOPB-8 by Stefan Esser)

While majority of the issues outlined above are local, in somecircumstances given specific code paths they can be triggered externally.Therefor, we strongly recommend that if you use code utilizing thefunctions and extensions identified as having had vulnerabilities in them,you consider upgrading your PHP.

For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide isavailable here, detailing the changes betweenthose releases and PHP 5.2.2.

Update: May 4th; The PHP 4.4.7 Windows build was updated due to the faulty Apache2 module shipped with the original

Update: May 23th; By accident a couple of fixes where listed as fixed in both PHP 5.2.2 and 4.4.7 but where however only fixed in PHP 5.2.2. The PHP 4 ChangeLog was not affected.


The PHP.net Google Summer of Code

[14-Apr-2007]

The PHP team is once again proud to participate in the Google Summer of Code.Seven students will "flip bits instead of burgers" this summer:

  • Mentored by Michael Wallner, Hannes Magnusson will work onLiveDocs, which is a"tool to display DocBook XML files in a web browser on thefly, without the need of building all HTML target files first".This project will be of great value to the PHP Documentation Team.
  • The PHP Interpreter uses reference counting to keep track of whichobjects are no longer referenced and thus can be destroyed. A majorweakness in the current implementation is that it cannot detectreference cycles, that is objects that reference each other in acircular graph structure which is not referenced itself from outsidethe circle. Mentored by Derick Rethans, David Wang will implement anew reference counting algorithm that will alleviate this problem.
  • Xdebug provides a range of usefulfunctionality for PHP developers, including detailed error information,code coverage and profiling support, and support for remote debuggingusing the GDB and DBGp protocols. Mentored by Xdebug's creator,Derick Rethans, Adam Harvey will develop a cross-platform GUIapplication that implements the DBGp protocol and allows PHPapplications to be debugged using Xdebug in a development environmentagnostic fashion.
  • Mentored by Lukas Smith, Konsta Vesterinen will work on theobject-relational mapper Doctrine.
  • Mutation Testing, or Automated Error Seeding, is an approach wherethe testing tool makes some change to the tested code, runs the tests,and if the tests pass displays a message saying what it changed. Thisapproach is different than code coverage analysis, because it can findcode that is executed by the running of tests but not actually tested.Mentored by Sebastian Bergmann, Mike Lewis will implement MutationTesting for PHPUnit.
  • Mentored by Helgi Þormar Þorbjörnsson, Igor Feghali will add supportfor foreign keys toMDB2_Schema,a package that "enables users to maintain RDBMS independant schemafiles in XML that can be used to create, alter and drop databaseentities and insert data into a database".
  • Mentored by David Coallier, Nicolas Bérard-Nault will refactor theinternals of Jaws, aFramework and Content Management System for building dynamic web sites,for PHP 6.

PHP 4.4.6 Released

[01-Mar-2007]

The PHP development team would like to announce the immediateavailability of PHP 4.4.6.

The main issue that this release addresses is a crash problem that wasintroduced in PHP 4.4.5. The problem occurs when session variables are usedwhile register_globals is enabled.

Details about the PHP 4.4.6 release can be found in therelease announcement for 4.4.6,the full list of changes is available in theChangeLog for PHP 4.


PHP 5.2.1 and PHP 4.4.5 Released

[08-Feb-2007]

The PHP development team would like to announce the immediateavailability of PHP 5.2.1 andavailability of PHP 4.4.5.These releases are major stability and security enhancements of the 5.x and4.4.x branches, and all users are strongly encouraged to upgrade to it assoon as possible. Further details about the PHP 5.2.1 release can be found inthe release announcement for 5.2.1, the full list ofchanges is available in the ChangeLog for PHP5. Details about the PHP 4.4.5 release can be found in therelease announcement for 4.4.5, the full list ofchanges is available in the ChangeLog for PHP 4.

Security Enhancements and Fixes in PHP 5.2.1 and PHP 4.4.5:

  • Fixed possible safe_mode & open_basedir bypasses inside the session extension.
  • Fixed unserialize() abuse on 64 bit systems with certain input strings.
  • Fixed possible overflows and stack corruptions in the session extension.
  • Fixed an underflow inside the internal sapi_header_op() function.
  • Fixed non-validated resource destruction inside the shmop extension.
  • Fixed a possible overflow in the str_replace() function.
  • Fixed possible clobbering of super-globals in several code paths.
  • Fixed a possible information disclosure inside the wddx extension.
  • Fixed a possible string format vulnerability in *print() functions on 64 bit systems.
  • Fixed a possible buffer overflow inside ibase_{delete,add,modify}_user() functions.
  • Fixed a string format vulnerability inside the odbc_result_all() function.

Security Enhancements and Fixes in PHP 5.2.1 only:

  • Prevent search engines from indexing the phpinfo() page.
  • Fixed a number of input processing bugs inside the filter extension.
  • Fixed allocation bugs caused by attempts to allocate negative values in some code paths.
  • Fixed possible stack/buffer overflows inside zip, imap & sqlite extensions.
  • Fixed several possible buffer overflows inside the stream filters.
  • Memory limit is now enabled by default.
  • Added internal heap protection.
  • Extended filter extension support for $_SERVER in CGI and apache2 SAPIs.

Security Enhancements and Fixes in PHP 4.4.5 only:

  • Fixed possible overflows inside zip & imap extensions.
  • Fixed a possible buffer overflow inside mail() function on Windows.
  • Unbundled the ovrimos extension.

The majority of the security vulnerabilities discovered and resolved can inmost cases be only abused by local users and cannot be triggered remotely.However, some of the above issues can be triggered remotely in certainsituations, or exploited by malicious local users on shared hosting setupsutilizing PHP as an Apache module. Therefore, we strongly advise all users ofPHP, regardless of the version to upgrade to the 5.2.1 or 4.4.5 releases as soon as possible.

For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide isavailable here, detailing the changes betweenthose releases and PHP 5.2.1.

Update: Feb 14th; Added release information for PHP4.4.5.

Update: Feb 12th; The Windows install package had problemswith upgrading from previous PHP versions. That has now been fixed and new fileposted in the download section.


The front page has changed

[08-Feb-2007]

The news on the front page of php.net has changed, the conference announcements are now located on their own page.The idea is to keep php.net specific news clear and also opens the door for additional news entries, like for RC releases. More changes are on the way so keep an eye out.


PHP Québec conference

PHP Québec conference 2007

[07-Feb-2007]

PHP Québec is pleased to announce the fifth edition of the PHP Québec Conference. The conference will take place in Montréal, Canada on March 14-15-16th 2007. It features 2 days of technicals talks and an additional day of workshop. Among the speakers, the well know PHP experts such has: Rasmus Lerdorf, Andrei Zmievski, Derick Rethans, Ilia Alshanetsky, John Coggeshall, Damien Séguy, and many more.

The conference has three distinct tracks : Advanced Techniques, Data Availability, PHP: Beyound Theory. With over 35 sessions and workshops, the PHP Québec Conference is great opportunity to learn about the latest development and professional techniques to help you build high quality PHP software and meet with PHP.

Special prices are available for all Open Source community members and major contributors.


PHP Manual Updates

[03-Feb-2007]

The PHP documentation team is proud to present to the PHP community a few fixes and tweaks to the PHP Manual, including:

  • an improved, XSL-based build system that will deliver compiled manuals to mirrors in a more timely manner (goodbye dsssl)
  • manual pages can now contain images (see imagearc() for an example)
  • updated function version information and capture system (fewer "no version information, might be only in CVS" messages)
  • ... and more to come!

Please help us improve the documentation by submitting bug reports, and adding notes to undocumented functions.


PHP London 2007

PHP London 2007

[18-Jan-2007]

After the success of 2006 the PHP London user group is staging the UK's second dedicated PHP conference on Friday, 23 February 2007, in London. The conference will be a low-cost event, costing £50 for the day. Speakers include: Rasmus Lerdorf, Cal Evans, Simon Laws and Kevlin Henney.


php|tek 2007

Chicago php|tek 2007

[12-Jan-2007]

php|architect is proud to announce php|tek 2007, which will take place in Chicago, Illinois (USA) on May 16-18, 2007.

This year, the conference once again promises to be an excellent event for PHP developers of all levels, with talks from top PHP experts such as Rasmus Lerdorf, Chris Shiflett, Andrei Zmievski, Ilia Alshanetsky, Sara Golemon, and many more.

To Top