Tag: php-fpm

php-fpm can not use html as php

I have a site, which use nginx as web server and php-fpm as php interpreter. Most of the files use html extension name. My nginx conf file has following section. But, when I enter the url such as https://example.com/sample.html, whose content is php script. It did not work. The solution is to change the config

PHP Batch Test Result on LEMP

It is the test based on the LEMP, or Linux, Nginx, MySQL and PHP, on Centos 6.4 64bit at Burst.net 1GB VPS. Details about the testing bed: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1 cores, 1GB RAM CentOS Linux 6.4 Linux 2.6.18-348.4.1.el5.028stab107.2 on x86_64 PHP Version 5.4.21 fpm-fcgi Nginx 1.0.15 MySQL server 5.5.34 I ran