Wednesday, January 27, 2010

Turn on allow_url_fopen

In order to turn ON allow_url_fopen for a single account on a phpsuexec server, edit the file

vi /usr/local/apache/conf/httpd.conf

scroll down to the VirtualHost entry of the domain and insert the following lines

php_admin_value allow_url_fopen On
php_admin_value allow_url_include On

Save the file and restart the Apache service.

No comments:

Post a Comment