One of our clients server lives inside of tight security VPC. Therefore, all of our EC2 web server must use HTTP_PROXY, HTTPS_PROXY. When I try to use Concrete CMS (formally concrete5) to fetch the latest language files from remote server, I’ve got the curl timeout error and couldn’t update the language. So I need to set the proxy for PHP-FPM. If you use Apache’s PHP module or CLI, PHP will use server’s environment settings. However, for php-fpm you must also configure in php.d/www.conf. Checked & tested with Amazon Linux 2 with PHP7.4 installed via amazon-linux-extra. Condition For example, you have your proxy set for both http and https. STEP 1. … Continue reading How to set proxy in PHP-FPM
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed