Cannot Switch PHP Version When Using WP_HTTP_BLOCK_EXTERNAL
-
Hi there,
For security reasons, we’re using the following commands in our wp-config.php file:
define('WP_HTTP_BLOCK_EXTERNAL', true);
define('WP_ACCESSIBLE_HOSTS', '*.www.ads-software.com, *.siteground.com, *.sgcpanel.com');
The above commands work great for our site with the following exception:
We have to change
define('WP_HTTP_BLOCK_EXTERNAL', true);
to
define('WP_HTTP_BLOCK_EXTERNAL', false);
in order to change our PHP version using the SG Optimizer plugin
Affected Plugin Path:
WP > SG Optimizer > Environment Optimization > Set Your PHP Version > PHP Management Method > Set Manual PHP Version
Question:
What URL or HTTP site is being used by SiteGround to update the PHP version? We’d like to add it to the above list of websites (i.e., URLs). Above URLs do not work.
Thank you!
- The topic ‘Cannot Switch PHP Version When Using WP_HTTP_BLOCK_EXTERNAL’ is closed to new replies.