Edit report at https://bugs.php.net/bug.php?id=62733&edit=1
ID: 62733 Comment by: chopins dot xiao at gmail dot com Reported by: chopins dot xiao at gmail dot com Summary: dl function has been removed 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: I don't think dl() has safely problem, because the function can disable via set enable_dl to off or ban it. so server's administrator should know aftermath when the dl() is available, I think should disable dl() in default instead of SAPIs removed except CLI and Embed Previous Comments: ------------------------------------------------------------------------ [2012-08-03 03:42:31] ras...@php.net 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. ------------------------------------------------------------------------ [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