• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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