Date: 08/30/02
- Next message: iliaa <email protected>: "[PHP-DOC] #16217 [Opn]: syslog functions and exit functions are buggy"
- Previous message: Gabor Hojtsy: "Re: [PHP-DOC] cvs: phpdoc /chm make_chm.bat"
- In reply to: ilia <email protected>: "[PHP-DOC] #19200 [NEW]: dl() fails with E_ERROR when php is compiled with ZTS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 19200
Updated by: kalowsky <email protected>
Reported By: ilia <email protected>
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
Operating System: Linux 2.4.19
PHP Version: 4CVS-2002-08-30
New Comment:
so checkout the phpdoc and fix it :)
Previous Comments:
------------------------------------------------------------------------
[2002-08-30 12:47:30] ilia <email protected>
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 this bug report at http://bugs.php.net/?id=19200&edit=1-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: iliaa <email protected>: "[PHP-DOC] #16217 [Opn]: syslog functions and exit functions are buggy"
- Previous message: Gabor Hojtsy: "Re: [PHP-DOC] cvs: phpdoc /chm make_chm.bat"
- In reply to: ilia <email protected>: "[PHP-DOC] #19200 [NEW]: dl() fails with E_ERROR when php is compiled with ZTS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

