[quote="oxpus";p="74855"]...
Nur was mit der 6er kommt, habe ich noch nicht erörtert, da ich zur Zeit ganz andere Arbeiten zu bewältigen habe...[/quote]
Also ich war mal neugierig

und habe mir eine lokalen Testumgebung gemacht, mit Apache 2.2.4, PHP 6.0.0-Dev, MySQL 6.0.0 alpha und phpMyAdmin 3.0.0-dev und ich wollte dann mal versuchen phpBB2.0.22 zu installieren da tut er schon bei der Installation wenn ich
http://localhost/phpBB2/ aufrufen Fehler anzeigen
Code: Alles auswählen
Fatal error: Call to undefined function set_magic_quotes_runtime() in X:\xyz\htdocs\phpBB2\common.php on line 29
bei
http://localhost/phpBB2/install/install.php selbe Fehlermeldung nur das er statt common.php dann "\install\install.php on line 226" schreibt.
Das liegt wenn man mal die News von PHP6 anschaut dann schon mal hier ran...
- Removed undocumented and incomplete support for strings in list() operator.
(Dmitry)
- Removed old legacy:
. "register_globals" support. (Pierre)
. "register_long_arrays" ini option. (Dmitry)
. "safe_mode" support. (Ilia, Andi)
. "allow_call_time_pass_reference", added E_STRICT error message. (Dmitry)
. session_register(), session_unregister() and session_is_registered()
(needed only with "register_globals=On").
. "magic_quotes_gpc", "magic_quotes_runtime" and "magic_quotes_sybase" ini
options. (Pierre)
. Changed get_magic_quotes_gpc(), get_magic_quotes_runtime to always return
false and set_magic_quotes_runtime() to raise an E_CORE_ERROR.
- Removed support for "continue" and "break" operators with non-constant
operands. (Dmitry)
- Removed Freetype 1.x and GD 1.x from GD extension. (Pierre)
auch solle wie ich gelesen habe die super globalen Variablen $HTTP_*_VARS, welche aus Rückständen von PHP3 mitgeschleppt wurden verschwinden. so das nur noch $_GET und $_POST genutzt wird, aber soweit ich weiss ist in phpBB2 (und aktuelle MODs) auch noch $HTTP_*_VARS-Variablen vorhanden, es dauert noch zwar bis PHP6 erscheint aber wenn es dann soweit ist wirds wohl ein größeres Update mal wieder fürs phpBB2 dann geben. *NadannMahlzeit*
Gruß Chris
EDIT: Ok in der common.php steht schon sowas
Code: Alles auswählen
// PHP5 with register_long_arrays off?
if (@phpversion() >= '5.0.0' && (!@ini_get('register_long_arrays') || @ini_get('register_long_arrays') == '0' || strtolower(@ini_get('register_long_arrays')) == 'off'))
{
$HTTP_POST_VARS = $_POST;
$HTTP_GET_VARS = $_GET;
$HTTP_SERVER_VARS = $_SERVER;
$HTTP_COOKIE_VARS = $_COOKIE;
$HTTP_ENV_VARS = $_ENV;
$HTTP_POST_FILES = $_FILES;
// _SESSION is the only superglobal which is conditionally set
if (isset($_SESSION))
{
$HTTP_SESSION_VARS = $_SESSION;
}
}
damit wird, weil die common.php eh überall ausgeführt wird dann $HTTP_POST_VARS zu $_POST wenn ich des PHP so langsam richtig verstehe

So brauchen dann doch nicht soviele Dateien bearbeitet werden, bzw. MODs angepasst werden.

So das am ende die Anpassung wohl doch nicht so stark ist, einfach mal abwarten.

Da wenn man die ganze Dateien sonst anpassen würden, wäre man so Stundelang an dem Update da WinEdt 1251 Strings in 42 out of 301 Files findet tut.
Gruß Chris