PHP DL Function
        Posted  
        
            by 
                Pete Herbert Penito
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Pete Herbert Penito
        
        
        
        Published on 2011-06-23T21:52:47Z
        Indexed on 
            2011/06/25
            8:24 UTC
        
        
        Read the original article
        Hit count: 468
        
Is allowing dynamic extension loading dangerous for some reason?
I ask because I need it to include the pecl oauth.so extension to make the Google Adwords PHP SDK work using dl().
I've tried all other alternatives but just can't get it to work:
http://php.net/manual/en/function.dl.php
enable_dl is set to off by default inside my php.ini, I enabled it, restarted apache and it works. If it's safe to use why is it disabled by default? I'm the only user with access to the server and it will be hosting a web application.
Any advice would be helpful!
© Server Fault or respective owner