[TYPO3-core] FYI24 #17732: Fatal error when installing TYPO3 with PHP-APC (no session is stored)

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Feb 24 09:15:04 CET 2011


Hi,

This patch will be committed soon, if noone objects, so that we can
include it in our next hotfix release.

Type: Bug

BT reference: http://bugs.typo3.org/view.php?id=17732

Branches: trunk

Problem:

When installing TYPO3 together on a system with loaded PHP-APC, e.g. the
one that ships with Debian Squeeze (APC 3.1.3, but affected seems to be
also 3.1.4-dev, 3.1.3p1, 3.1.2, 3.0.19) you get a Fatal error.

On the first step of the install tool:

Fatal error: Class 't3lib_div' not found in
/../typo3/sysext/install/mod/class.tx_install_session.php on line 347

See screen in the attachment (Fatal Error on the bottom).

No further steps are then possible (you then get a login screen).


Solution:

It turns out that the list of loaded classes is incomplete when PHP
tries to write the session data. t3lib_div is not there anymore. This
behaviour was introduced in 0017511.

The PHP bug is already documented and acknowledged by PHP / APC authors:

http://pecl.php.net/bugs/bug.php?id=16721 [^]



More information about the TYPO3-team-core mailing list