Software-update: PHP 4.3.3 RC2

Een nieuwe versie gaat meestal gepaard met nieuwe features en/of bugfixes, zo ook de tweede release candidate van PHP 4.3.3. Het is bijvorbeeld mogelijk om vanuit de nieuwe uitgave een HTTP error-pagina en directory listings te genereren. Daarnaast zijn enkele (crash)bugs opgelost. Het changelog ziet er als volgt uit:

30 Jul 2003, Version 4.3.3RC2
  • Improved the NSAPI SAPI module (Uwe Schindler)
    • Added possibility to use PHP to generate HTTP error pages (404 Not Found..)
    • Added possibility to use PHP to generate directory listings for directories without index.html
  • Upgraded the bundled Expat library to version 1.95.6. (Jani)
  • Upgraded the bundled PCRE library to version 4.3. (Andrei)
  • Added a new parameter to preg_match*() that can be used to specify the starting offset in the subject string to match from. (Andrei)
  • Fixed FastCGI IIS document root problem. (Shane)
  • Fixed corruption of multibyte character including 0x5c as second byte in multipart/form-data. (Rui)
  • Fixed possible crash in imagerotate() when an invalid color index is used for background color. (Pierre-Alain Joye)
  • Fixed a bug that under certain circumstances could invalidate safe_mode. (Ilia)
  • Fixed certificate version and allowed setting of the serial number in openssl_csr_sign(). (Stefan Roehrich)
  • Fixed each() to be binary safe for keys. (Zeev)
  • Fixed bug #24873 (incorrect handling of / inside open_basedir). (Ilia)
  • Fixed bug #24827 (ob_gzhandler overrides Vary header). (Ilia)
  • Fixed bug #24783 (foreach($ar as $key => $val), $key not binary safe). (Zeev)
  • Fixed bug #24760 (non-default SNMP port number not working). (Jani)
  • Fixed bug #24752 (Unhandled "uniqueidentifier" field type). (Ilia, s.sonnenberg[at]coolspot.de)
  • Fixed bug #24710 (Crash when $obj->" rel="external">0 is used). (Zeev)
  • Fixed bug #24663 (\n. sequences were not being escaped). (Ilia)
  • Fixed bug #24640 (var_export() and var_dump() can not output large floats). (Marcus)
  • Fixed bug #24629 (FreeBSD select() does not like large microseconds values). (Mirco Bauer).
  • Fixed bug #24609 (ext/domxml: segfault when using replace node across different docs). (Rob Richards)
  • Fixed bug #24594 (Rewrite of the imagefill() function). (Pierre-Alain Joye)
  • Fixed bug #24592 (NULL related crash in session extension). (Sascha)
  • Fixed bug #24573 (debug_backtrace() crashes if $this set to null). (Jani)
  • Fixed bug #24560 (parse_url() incorrectly handling certain file:// based schemas). (Ilia)
  • Fixed bug #24557 (make fclose() respect refcount on the resource). (Wez, Ilia)
  • Fixed bug #24537 (apache2 compile misses some include directories). (Jani)
  • Fixed bug #24535 (ext/mysql: crash when retrieving data from unbuffered result after the original connection has been changed). (Ilia)
  • Fixed bug #24519 (aggregate_methods_by_list() does not increment refcount).
  • Fixed bug #24313 (file_exists() warning on non-existent files when open_basedir is used). (Ilia)
  • Fixed bug #24312 (base64_decode() does not skip 0xF0-0xFF characters). (gereon.steffens[at]onvista.de, Ilia)
  • Fixed bug #24284 (Fixed memory leak inside pg_ping()). (Ilia)
  • Fixed bug #24249 (fdf_add_doc_javascript() not available on Windows). (Edin)
  • Fixed bug #24063 (scientific notation broken in *printf()). (Ilia)
  • Fixed bug #24028 (Reading raw post message by php://input failed). (Jani)
  • Fixed bug #24009 (FastCGI handling of file not found). (Shane)
  • Fixed bug #23808 (broken imagecopymerge()). (Pierre-Alain Joye)
  • Fixed bug #23798 (Spaces were not being stripped from Bcc header). (Ilia)
  • Fixed bug #23792 (imagerotate() problems with limited platte, the function will always return true color image from now on). (Pierre-Alain Joye)
  • Fixed bug #23664 (FastCGI socket listenting). (Shane)
  • Fixed bug #23685 (fake values returned when OID value is an empty string). (Jani)
  • Fixed bug #22690 (ob_start() did not work with create_function() callbacks). (Marcus)
  • Fixed bug #21855 (Threading issue on HP-UX). (Roshan Naik, Andi, Moriyoshi)
  • Fixed bug #21074 (Apache2: "ErrorDocument xxx /error.php" broken). (Jani)
  • Fixed bug #19613 (putenv("VAR=") does not empty VAR on win32). (Zeev)
  • Fixed bug #13142 (strtotime not handling "M d H:i:s Y" format). (Ilia)
  • Fixed bug #11924 (ibase_query(), ibase_execute() mangled passed parameters). (Jani)
[break]*PHP 4.3.3RC2 Bzip2
*PHP 4.3.3RC2 Tarball
*PHP 4.3.3RC2 Win32
Versienummer 4.3.3 RC2
Besturingssystemen Windows 9x, Windows NT, Windows 2000, Windows XP, Linux x86
Website PHP-QAT
Download http://downloads.php.net/ilia/php-4.3.3RC2-Win32.zip
Bestandsgrootte 5,97MB
Licentietype GPL

Door Robin Vreuls

Doktersteam

01-08-2003 • 02:38

8

Bron: PHP-QAT

Update-historie

Reacties (8)

8
7
6
0
0
0
Wijzig sortering
Dat je nu zelf error pages kunt aanroepen is echt handig, ik ben toevallig laatst dat probleem tegen gekomen. Ik wilde graag gewoon een error pagina laten zien, zonder daarvoor een gekke URL te moeten gebruiken. Ging niet... Nu dus wel :).

Ik kan niet wachten tot PHP5 (redelijk stabiel) uit is. Daar zitten echt te gekke verbetering in, als de betere streaming en OO verbeteringen. Weet toevallig iemand ongeveer wanneer de eerste stable versie het licht zal zien?
Zeev zegt op de Ask the Experts pagina op Zend.com het volgende hierover:
Well, since we don't have a launch schedule set up for it yet, I can only make a guess and say sometime before the end of this year (2003).
Nog even afwachten dus ;)
Hmm ik lees niks over nieuwe paaseieren. Moeten we het maar met de oude doen..

http://www.tweakers.net/ext/login.dsp?=PHPE9568F36-D428-11d2-A769-00AA 001ACF42
daar gaat mijn showApacheError functie :'(
na dat mysql me systeem had upgefuckt met een update en revdep-rebuild failde en na veel moeit ik php weer aan de praat kreeg. Gewone compile ging mekkeren over crosscompile wacht ik maybe wel ff met updaten. Maar al dat nieuwe maakt me toch wel nieuwschierig :)
misshien is het handig om te vermelden wat deze nieuwe feature nou precies inhoud.

Apache (en misschien ook nog wel andere webservers) kan door een configuratieoptie al custom webpagina's laten zien bij een bepaalde error-code.

Dat kunnen ook cgi/php scripts zijn.

(zie hier voor de apache instelling)

edit: nu ik na 2 uur terugkijk naar deze meuktracker schiet het me ineens te binnen dat ze best wel eens de error pagina van PHP zelf bedoelen.

Dus ipv gewoon een zinnetje van "script timed out" oid, een html pagina :?
Het gaat echter om de NSAPI module, die dus voor Netscape webservers is, welke amper gebruikt worden :)

Bij apache kon je altijd al HTTP headers (en dus fouten) doorgeven. Dirlistings maken kan niet standaard, maar dat kun je altijd zelf scripten natuurlijk.

Op dit item kan niet meer gereageerd worden.