Here is the guide to show you how to install the Comodo SSL certificate in Nginx.
Order Comodo Certificate. And received the Certificate files.
I don’t discuss how to get it, where to get it. It is another topic. You will receive following files. Positive SSL certificate, it is a zip file emailed to you. Unzip it and get four files.
Root CA Certificate – AddTrustExternalCARoot.crt
Intermediate CA Certificate – COMODORSAAddTrustCA.crt
Intermediate CA Certificate – COMODORSADomainValidationSecureServerCA.crt
Your PositiveSSL Certificate – www_example_com.crt (or the subdomain you gave them)
I just need your certificate and intermediate certificates. Root is already installed in every single computer or browser. The order of certificates is important.
Save this file into the place you want Nginx use
mv your_domain_crt.pem /etc/nginx/ssl/
Save your private key in the same place
Make sure your Nginx config file looks like below
listen 443 ssl;
# side note: only use TLS since SSLv2 and SSLv3 have had recent vulnerabilities
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
Reload Nginx and check if it works by enter https://www.your_domain.com/
Then, I start to install XCache from source, the latest version of XCache is 3.1.0.
3) Download and decompress it.
tar -xvzf xcache-3.1.0.tar.gz
4) Compile XCache based on current PHP 5.4.28 installation
./configure --enable-xcache --with-php-config=/usr/local/php54/bin/php-config
cp xcache.ini /etc/php54/php.d/xcache.ini
service httpd restart
Then reload the phpinfo page and get following information.
It is a guide of how to install multiple version of PHP on CentOS 6.5 64bit. All different PHP as fastcgi.
It is works on Apache, one web server, each virtualhost has its own different php version support.
0) Prepare the testing environment
Disable SELinux and stop iptables. It is for testing environment. For production machine, you should implement firewall carefully.