Skip to main content

Unable to enable allow_url_fopen and allow_url_include

Comments

4 comments

  • cPanelMichael
    Hello @MH-Stefan,
    - lsapi as the PHP handler for all versions

    Can you verify if lsapi_enable_user_ini is set to "On" in the /etc/apache2/conf.d/lsapi.conf file? This option is documented at: CloudLinux Documentation Thank you.
    0
  • sparek-3
    I would be really careful allowing allow_url_include It can become a major security issue.
    0
  • MH-Stefan
    Hello @MH-Stefan, Can you verify if lsapi_enable_user_ini is set to "On" in the /etc/apache2/conf.d/lsapi.conf file? This option is documented at:
    0
  • cPanelMichael
    Yes, lsapi_enable_user_ini is enabled. Maybe lsapi_user_ini_homedir is required, too?

    Hello @MH-Stefan, Yes, you may need to enable lsapi_user_ini_homedir as well. However, as noted in the previous posts, it's important to understand the security implications of doing so. I encourage you to vote and add feedback to the following feature request if you'd like to see a supported integration: Make MultiPHP INI Editor work with mod_lsapi Thank you.
    0

Please sign in to leave a comment.