What is allow_url_fopen and what must it be set to? Print
Submit Cancel
Email this article

Close

You are here: Home > Website Support > PHP

PHP is a scripting language used by developers to build websites. ‘url_fopen’ refers to a PHP directive allowing files to be included from external sources.

When the directive ‘allow_url_fopen’ is enabled on a server wide level, it creates a security risk for all domains hosted on that server. It is for this reason we have disabled the ‘allow_url_fopen’ directive on Monday, 23 November 2009 on our Web hosting servers.

Should you require the ‘allow_url_fopen’ directive to be enabled on your domain to ensure your website functions optimally, you will need to enable the directive on a per domain level. If your website does not require ‘allow_url_fopen’ you can simply check that the directive is set to ‘off’.

Simply follow these steps to enable ‘allow_url_fopen’ per domain:

  1. Browse to konsoleH (http://myaccount.hetzner.co.za)
  2. Login with your Client number and Management password
  3. Select or search for the domain you would like to configure under the ‘Hosting Service’ tab
  4. Select ‘Manage Services’ and ‘PHP Config’.
  5. You will see ‘allow_url_fopen’ and the drop down options ‘off’ or ‘on’
  6. Click ‘Save’ once you have made your selection

Was this information helpful?

Yes No

Thank you for your feedback
We are delighted to find that our article resolved your query.

Thank you for your feedback
We will resolve your query as soon as possible.

Please take a few moments to comment on your unresolved query. Simply tell us what your problem is. We guarantee that we'll get back to you within two hours (during office hours) in response to your query.


  Partially resolved    Unresolved
Enter your query here:
Your name:
Your email address:
Contact number:
Customer number or domain name:
 
Preferred contact method: Email     Call me
Please enter the text in the picture below into the text box:
CAPTCHA Image:
ID Number:
 
  • Hosting for Beginners

    Step-by-step guide to hosting with Hetzner.

    VIEW NOW
  • Application Tutorials

    Use our installation guides to get up and running.

    VIEW NOW
  • Login Now

    Our award winning proprietary control panel empowers customers to manage their hosting environment.

    Take the Tour
  • Contact Us

    support@hetzner.co.za

    Phone: 0861-0861-08
    Fax: 0861 0861-09
    Contact Us