[TYPO3-core] RFC #15075: feature: make a pre-check for required php-extensions
Steffen Müller
typo3 at t3node.com
Fri Sep 24 18:18:06 CEST 2010
Hi.
a result from the Bugday:
On 19.09.2010 11:04 Jigal van Hemert wrote:
>
> On 13-8-2010 7:43, Xavier Perseguers wrote:
>> => DBAL should have a chance to autoload before your test
>
> This is simply impossible. DBAL autoloads after the session is
> initiated. 'session' is one of the required PHP modules. So the check
> has to be done before the modules are actually used.
>
Any drawback when moving DBAL autoload above the session?
Did so, please test.
>> => Your getMissingPHPModules() method should provide a hook that DBAL
>> would use to override the list of modules
>
> I have included a hook to set the required modules. So DBAL can use this
> to remove any db related modules and do the appropriate tests by itself
> or include other modules as it pleases.
>
I added the hook in dbal.
Everything should work now. Please test by disabling/enabling PHP
modules, for example, mysql.so, mysqli.so
So +1 by reading and testing from my side.
--
cheers,
Steffen
TYPO3 Blog: http://www.t3node.com/
Microblog: http://twitter.com/t3node
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15075_v6.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100924/e6f5df9a/attachment.asc>
More information about the TYPO3-team-core
mailing list