PHP 4.0.3, Patch Level 1 Released

PHP 4.0.3 has been released, along with a patch file that solves a few problems discovered in 4.0.3: "This release fixes an issue that prevented the Apache php_value mechanism from working correctly with .conf files, and a memory leak that was discovered in the module versions of PHP." This release fixes an issue that prevented the Apache php_value mechanism from working correctly with .conf files, and a memory leak that was discovered in the module versions of PHP.

There is quite a list of changes associated with 4.0.3, as you can see from this excerpt from the changelog:

  • Fixed a possible crash in -a interactive mode (Zeev, Zend Engine)
  • Added mysql_escape_string() (Peter A. Savitch and & Brian Wang)
  • Fixed many possible crash bugs with improper use of the printf() family of functions (Andi)
  • Fixed a problem that allowed users to override admin_value's and admin_flag's (Zeev)
  • Fixed PostgreSQL module to work when the link handle is omitted (Zeev)
  • Fixed returning of empty LOB fields in OCI8. (Thies)
  • Added Calendar module to default Win32 build (Andi)
  • Added FTP module to default Win32 build (Andi)
  • Fixed crash in the POSIX getrlimit() function (alex@zend.com)
  • Fixed dirname() under certain conditions (Andi)
  • Added --with-imap-ssl to support SSL'ized imap library in RH7 and others (Rasmus)
  • Fixed possible crash bug in parse_url() (Andi)
  • Added support for trans sid under Win32 (Daniel)
  • IPv6 support in fopen (Stig Venaas)
  • Added the shmop extension. It allows more general ways of shared memory access. (thanks to Ilia Alshanestky <iliaa@home.com> and Slava Poliakov <slavapl@mailandnews.com> (Derick)
  • Added the ability for CURLOPT_POSTFIELDS to accept an associative array of HTTP POST variables and values. (Sterling)
  • Added the CURLOPT_HTTPHEADER option to curl_setopt(). (Sterling)
  • Added the curl_error() and curl_errno() functions. (Sterling)
  • Changed ext/db not to be enabled by default (Jani)
  • Fixed building Apache SAPI module on SCO UnixWare (Sascha)
  • Fixed writing empty session sets to shared memory (tcarroll@chc-chimes.com)
  • Added support for BSD/OS make (Sascha)
  • Added improved URL rewriter (Sascha)
  • Fixed readdir_r() use on Solaris (Sascha)
  • Improved HTTP headers for private-caching (jon@csh.rit.edu, Sascha)
  • Added new function session_cache_limiter (jon@csh.rit.edu, Sascha)
  • Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>) (Derick)
  • PEAR: add last executed query as debug info in DB errors (Stig)
  • PEAR: allow multiple modes in PEAR_Error (Stig)
  • Made the Sybase CT module thread safe (Zeev)
  • Added second argument to array_reverse() that indicatese whether the original array keys should be preserved. (Andrei)
  • Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)
  • PEAR: renamed DB_GETMODE_* to DB_FETCHMODE_*, added setFetchMode() in DB_common to set the default mode, added some MySQL tests (Stig)
  • Made eval() and several other runtime-evaluated code portions report the nature and location of errors more accurately (Stas)
  • Added an optional parameter to wordwrap that cuts a string if the length of a word is longer than the maximum allowed. (Derick)
  • Added functions pg_put_line and pg_end_copy (Dirk Elmendorf)
  • Added second parameter for parse_str to save result (John Bafford)
  • Fixed bug with curl places extra data in the output. (medvitz@medvitz.net)
  • Added the pathinfo() function. (Sterling)
  • Updated sybase_ct module and its sybase_query to use high performance API. (Joey)
  • Added a more configurable error reporting interface to DB. (Stig)
  • Added is_uploaded_file() and move_uploaded_file() (Zeev)
  • Added several directives to php.ini - post_max_size, file_uploads, display_startup_errors - see php.ini-dist for further information (Zeev)
  • Worked around a bug in the libc5 implementation of readdir() (Stas)

This article was originally published on Oct 20, 2000
Page 1 of 2

Thanks for your registration, follow us on our social networks to keep up-to-date