• Resolved niska

    (@niska)


    I have allow_url_fopen disabled in php.ini – but it seems wordfence needs it to be on. I get this warning:

    PHP message: PHP Warning: fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /www/domain.com/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/http.php on line 409

    However. I’ve read several security blogs that say that allow_url_fopen should not be enabled. Disabling is best for security.

    Any takes on this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi niska,
    Please go to (Wordfence > Tools > Diagnostics) and let me know what you can see under “Checking for cURL support”? also, while being on the same page, check PHP version.

    Thanks.

    Thread Starter niska

    (@niska)

    It says:

    Checking for cURL support
    FAIL

    PHP version >= PHP 5.2.4 (Minimum version required by WordPress)
    7.0.20-1~dotdeb+8.1

    So I need to enable cURL support?

    Hi,
    If cURL wasn’t installed the plugin will use “fopen()” which seems to be disabled on your server too, so you will have to enable/install any of them.

    Thanks.

    Hello!

    I hope we were successful in helping you resolve your issue with Wordfence! Since we have not heard back from you in the past 2 weeks I will now be marking this support thread as resolved. However, if we still haven’t resolved your issue please reach out to us as we would be more than happy to further assist you!

    Thanks and have a great day!
    Chloe

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Warning: fopen()’ is closed to new replies.