Posts tagged alllow_url_include

Warning: file() [function.file]: URL file-access is disabled in the server configuration

If you are getting the above error then  make the following changes  in  the php.ini file (Suexec  server) or  .htaccess file (non-Suexec server) :

[email protected][#] vi  php.ini

allow_url_fopen = On
allow_url_include = On


[email protected][#] vi  .htaccess

<IfModule mod_php5.c>
php_admin_value allow_url_fopen On
php_admin_value allow_url_include On

That’s all  this will  do it.