• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

allow_url_fopen from vhost.conf

M

Mandi

Guest
Hello
I am trying to activate the allow_url_fopen for a specif domain in the vhost.conf.
the following lines where placed under the conf/vhost.conf directory:
PHP:
<Directory /home/httpd/vhosts/mydomain.com/subdomains/mysubdomain/httpdocs>
php_admin_value allow_url_fopen 1
</Directory>
I also reconfigure apache with:
/usr/local/psa/admin/sbin/websrvmng -v -a
but still the configuration seems to be not enforced
I get:

Directive Local Value Master Value
allow_url_fopen Off Off
 
Hi,

Use this:

<Directory /home/httpd/vhosts/mydomain.com/subdomains/mysubdomain/httpdocs>
php_admin_flag allow_url_fopen on
</Directory>

Then run /usr/local/psa/admin/sbin/websrvmng -v -a

and possibly restart httpd
 
Back
Top