Hello,
Don't know if this will help you,
but to change the fopen you need to find your php.ini file, this files holds all the information for settings.
You will look for this section in the file
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
allow_url_include = Off
; Define the anonymous ftp password (your email address)
;from="
john@doe.com"
; Define the User-Agent string
; user_agent="PHP"
; Default timeout for socket based streams (seconds)
default_socket_timeout = 60
; If your scripts have to deal with files from Macintosh systems,
; or you are running on a Mac and need to deal with files from
; unix or win32 systems, setting this flag will cause PHP to
; automatically detect the EOL character in those files so that
; fgets() and file() will work regardless of the source of the file.
; auto_detect_line_endings = Off
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
If you don't know where the php.ini file is make a new .php page like info.php or whatever you want to name it and place it in the same directory as your index.php file for you home page.
Within the info.php file or whatever you name it place this script
<?php
phpinfo();
?>
when you type in your url such as
www.yourdomainname.com/info.php it should list some information regarding php and you should also find the path list to your php.ini file.