URL file-access is disabled in the server configuration

Auto

New member
Joined
Aug 3, 2009
Messages
4
URL file-access is disabled in the server configuration is the error I am getting.

Code:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/removed/public_html/index.php on line 2

But it is turned on.

Code:
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On
I have looked and found that I this works.
Code:
$file_contents = file_get_contents('http://url.com/');
But that is awful slow.

Anyone know anything I can do?
 
Set "allow_url_include = On" and restart apache afterwards.
 
Back
Top