URL: https://www.overclockers.at/coding-stuff/php_4_3_2_rc1_veroeffentlicht_71079/page_1 - zur Vollversion wechseln!
Der erste Release Candidate zu PHP 4.3.2 steht jetzt zur Verfügung 
Download (Source):
http://www.php.net/~jani/RC/php-4.3.2RC1.tar.gz
Download (Windows):
http://www.php.net/~jani/RC/php-4.3.2RC1-Win32.zip
Wer dieses Release unter Red Hat 8.0/8.1 installieren will, muss vorher auch Apache 2.0.44 kompilieren. Apache 2.0.40 läuft leider nicht damit.
Zitatchecking for Apache 2.0 handler-module support via DSO through APXS... configure: error: Please note that Apache version
>= 2.0.44 is required.

Apache 2.0.44 läuft jetzt, allerdings kommt beim Kompilieren von PHP eine Fehlermeldung:
Zitatext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Fehler 1
Es gibt nicht einmal ein Changelog für das ganze, große Neuerungen sind eh nicht zu erwarten - derzeit kein Grund für mich umzusteigen.
PS: wenn du bei configure --with-mysql kein verzeichnis angibst (also nicht --with-mysql=/blah/dir), dann sollte er das mitgelieferte mysql-modul verwenden. wenns mit dem einen nicht klappt, kannst immer noch die andere option versuchen (externe lib).
Ich habe das Problem in der Zwischenzeit gelöst. my_tempnam.so und der neuere GCC dürften sich nicht gut vertragen. Das PHP Modul ist trotz der Fehlermeldung fertig kompiliert und steht im .libs Verzeichnis bereit.
Das Modul muss man dann selber ins "modules" Verzeichnis kopieren, da auch "make install" nicht funktioniert.
Bugreports zu diesen Thema:
http://bugs.php.net/search.php?cmd=...amp;x=0&y=0
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026