Req #62733 [Opn->Wfx]: dl function has been removed
| From: | rasmus@php.net | Date: | Fri, 03 Aug 2012 03:42:31 +0000 |
| Subject: | Req #62733 [Opn->Wfx]: dl function has been removed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172403@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62733&edit=1
ID: 62733
Updated by: rasmus@php.net
Reported by: chopins dot xiao at gmail dot com
Summary: dl function has been removed
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: *General Issues
Operating System: linux
PHP Version: 5.3.15
Block user comment: N
Private report: N
New Comment:
Because if you don't have permission to edit the php.ini you probably shouldn't
be loading extensions. Extensions stay loaded after the request and can break
very subsequent request. So dl() hasn't been completely removed, it has only been
removed from the persistent and threaded SAPIs because they destabilize the
server and cannot be done safely.
Previous Comments:
------------------------------------------------------------------------
[2012-08-03 03:39:05] chopins dot xiao at gmail dot com
Description:
------------
why the function been removed and use the Extension Loading Directives instead
if phper can edit php.ini, he has supper permissions, so use dl or use php.ini is no difference,
when dl function is removed i can't dynamically load extension if do't hope the extension
load when PHP start up
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62733&edit=1