Description
The configuration directive enable_dl instructs PHP whether or not to enable dynamic loading of PHP modules with dl(). If you enable dynamic module loading, it's possible to bypass the safe_mode restrictions. Dynamic loading is enabled by default.
Remediation
You can disable enable_dl from php.ini
php.ini
enable_dl = off