dl() and extension= broken in non-zts builds
| From: | Wez Furlong | Date: | Tue, 18 May 2004 13:00:26 +0000 |
| Subject: | dl() and extension= broken in non-zts builds | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9939@lists.php.net to get a copy of this message | ||
> Exactly. Case and point: loading of php extensions from
> php.ini or via dl()
> being broken at the moment due to one of those "small changes".
It works fine under windows, so I'm assuming the problem is in non-zts builds
only.
If you load an extension from php.ini or manually using dl(), MINIT for that
extension appears to be called twice.
If I comment out the code in ext/standard/dl.c, the if statement starting on
line 250 that manually inits the extension, then the MINI function is called
only once.
--Wez.