Page 1 of 1

Check php for enable_dl or disabled dl()

Posted: 03 Dec 2015, 20:57
by cabn12
Good evening, I disabled my php.ini on the line enable_dl = on = off to enable_dl.
But in the config server firewall still get a warning message asking to disable dl.
Obs. In my php.ini this off

Re: Check php for enable_dl or disabled dl()

Posted: 11 Dec 2015, 04:27
by Elizine
Which PHP version are you using? This function has been removed from some SAPIs in PHP 5.3. -- dl()
So if you have the ini setting enable_dl set to on and it still does not work, then it is disabled in the SAPI you use.

If you wonder which SAPIs are meant, the changelog on that same page is more detailed:

The only SAPIs that allow dl() are CLI and Embed.