Last Updated on December 1, 2019 by Christopher G Mendla
I was setting up a joomla installation on Westhost (Cpanel version). I was getting an error of
The PHP allow_url_fopen setting is disabled. This setting must be enabled for the updater to work.
I had renamed the Joomla htaccess.txt to htaccess. According to Westhost’s tech, I needed to copy the two lines shown below in their .htaccess file to the top of the new htaccess. Fortunately I had renamed the original Westhost .htaccess instead of deleting it.
# WestHost 4.0 Custom php.ini
SetEnv PHPRC /home//public_html/php.ini where is the user id for westhost.
That solved the problem.
UPDATE – 6/15/15 – The entry above did not work. I had to use
suPHP_ConfigPath /home//public_html/php.ini