"The PHP allow_url_fopen setting is disabled" Error
Posted: Wed Feb 15, 2012 8:28 am
Hello,
I currently have 1.7.3 and want to upgrade to 2.5.1. I tried to upgrade from Extension Manager> Upgrade> Purge Cache> Find Upgrade , but I got this error message instead.
"The PHP allow_url_fopen setting is disabled. This setting must be enabled for the updater to work."
I read that this has something to do with shared hosting so I found my php.ini file but I don't know what to edit here-:) Please advice.
Thank you very much!
# ######
#
# Including file: /data/templates/web/user/domain.com/cgi-bin/php.default.ini
#
# ######
upload_tmp_dir = /data/tmp
asp_tags = On
register_globals = On
safe_mode = Off
upload_max_filesize = 25M
post_max_size = 25M
output_buffering = 1024
mime_magic.magicfile = /usr/share/misc/file/magic.mime
memory_limit = 32M
include_path = .:/usr/services/vux/lib/php
disable_functions = shell_exec,passthru,exec,system,pcntl_exec
allow_url_include = 0
allow_url_fopen = 0
extension_dir = /usr/services/vux/php5/lib/php/extensions
zend_extension = /usr/services/vux/php5/lib/php/extensions/ioncube_loader_lin_5.2_real.so
zend_extension = /usr/services/vux/php5/lib/php/extensions/ZendOptimizer_real.so
realpath_cache_size = 64K
realpath_cache_ttl = 600
#
# Suhosin Configuration
#
# Disable suhosin for now
#extension = suhosin.so
#suhosin.simulation = On
#suhosin.executor.disable_eval = On
#suhosin.executor.eval.blacklist = popen
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 3600
# ######
#
# User-based Defaults
#
# ######
session.save_path=/data/7/0/72/20/398672/user/405813/cgi-bin/.php/sessions
I currently have 1.7.3 and want to upgrade to 2.5.1. I tried to upgrade from Extension Manager> Upgrade> Purge Cache> Find Upgrade , but I got this error message instead.
"The PHP allow_url_fopen setting is disabled. This setting must be enabled for the updater to work."
I read that this has something to do with shared hosting so I found my php.ini file but I don't know what to edit here-:) Please advice.
Thank you very much!
# ######
#
# Including file: /data/templates/web/user/domain.com/cgi-bin/php.default.ini
#
# ######
upload_tmp_dir = /data/tmp
asp_tags = On
register_globals = On
safe_mode = Off
upload_max_filesize = 25M
post_max_size = 25M
output_buffering = 1024
mime_magic.magicfile = /usr/share/misc/file/magic.mime
memory_limit = 32M
include_path = .:/usr/services/vux/lib/php
disable_functions = shell_exec,passthru,exec,system,pcntl_exec
allow_url_include = 0
allow_url_fopen = 0
extension_dir = /usr/services/vux/php5/lib/php/extensions
zend_extension = /usr/services/vux/php5/lib/php/extensions/ioncube_loader_lin_5.2_real.so
zend_extension = /usr/services/vux/php5/lib/php/extensions/ZendOptimizer_real.so
realpath_cache_size = 64K
realpath_cache_ttl = 600
#
# Suhosin Configuration
#
# Disable suhosin for now
#extension = suhosin.so
#suhosin.simulation = On
#suhosin.executor.disable_eval = On
#suhosin.executor.eval.blacklist = popen
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 3600
# ######
#
# User-based Defaults
#
# ######
session.save_path=/data/7/0/72/20/398672/user/405813/cgi-bin/.php/sessions