From DreamHost
Jump to: navigation, search


allow_url_fopen can be used to retrieve data from remote servers or websites. However, if incorrectly used, this function can compromise the security of your site. View the following link for further details:

allow_url_fopen security

DreamHost configuration

allow_url_fopen is currently available on DreamHost servers. You can view DreamHost's public phpinfo file for details on what other directives are currently enabled.

If you wish to disable allow_url_fopen, you must create a PHP.ini file. Then add the following to it:

allow_url_fopen = off
Dh-kb-note-icon.fw.png Note: Please note that allow_url_include remains disabled, and will not be enabled (as it poses a serious security risk to sites and is generally not required).

See also