Date: 08/30/02
- Next message: Dallas Thunder: "Re: [PHP-DOC] cvs: phpdoc /chm make_chm.bat"
- Previous message: Dallas Thunder: "Re: [PHP-DOC] cvs: phpdoc /chm make_chm.bat"
- Next in thread: kalowsky <email protected>: "[PHP-DOC] #19200 [Opn->Fbk]: dl() fails with E_ERROR when php is compiled with ZTS"
- Reply: kalowsky <email protected>: "[PHP-DOC] #19200 [Opn->Fbk]: dl() fails with E_ERROR when php is compiled with ZTS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ilia <email protected>
Operating system: Linux 2.4.19
PHP version: 4CVS-2002-08-30
PHP Bug Type: Documentation problem
Bug description: dl() fails with E_ERROR when php is compiled with ZTS
The documentation mentions that dl() will fail with E_ERROR if safe_mode is
enabled or enable_dl is turned off. However, it does not mention that if
PHP is compiled with ZTS, dl() would also fail with E_ERROR.
This means that if the user wants to handle dl() failure gracefuly within
their own script they must do the following check in their code, before
calling dl() function:
if( ini_get('safe_mode') || !ini_get('enable_dl') || ZEND_THREAD_SAFE ) {
echo "The dl() functionality is not avaliable<br />\n";
}
-- Edit bug report at http://bugs.php.net/?id=19200&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19200&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19200&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19200&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19200&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19200&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19200&r=support Expected behavior: http://bugs.php.net/fix.php?id=19200&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19200&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19200&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19200&r=globals-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Dallas Thunder: "Re: [PHP-DOC] cvs: phpdoc /chm make_chm.bat"
- Previous message: Dallas Thunder: "Re: [PHP-DOC] cvs: phpdoc /chm make_chm.bat"
- Next in thread: kalowsky <email protected>: "[PHP-DOC] #19200 [Opn->Fbk]: dl() fails with E_ERROR when php is compiled with ZTS"
- Reply: kalowsky <email protected>: "[PHP-DOC] #19200 [Opn->Fbk]: dl() fails with E_ERROR when php is compiled with ZTS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

