[ticket/12141] PHP extension setup must happen before webserver + PHP-FPM.

PHPBB3-12141