{"id":3975,"date":"2021-11-25T22:57:55","date_gmt":"2021-11-26T06:57:55","guid":{"rendered":"https:\/\/www.xh86.me\/?p=3975"},"modified":"2021-11-25T23:09:06","modified_gmt":"2021-11-26T07:09:06","slug":"centos-7-x%e7%bc%96%e8%af%91%e5%ae%89%e8%a3%85nginxmysqlphp5-2-5-3-5-4-5-5-5-6-7-0-7-1-7-2-7-3","status":"publish","type":"post","link":"https:\/\/www.xh86.me\/?p=3975","title":{"rendered":"CentOS 7.x\u7f16\u8bd1\u5b89\u88c5Nginx+MySQL+PHP5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3"},"content":{"rendered":"<div class=\"wxsyncmain\">\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-1ad07a371cbba7ab8709c80bb65b71f7.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-1ad07a371cbba7ab8709c80bb65b71f7.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-galleryid=\"\" data-ratio=\"0.42592592592592593\" data-s=\"300,640\" data-type=\"jpeg\" data-w=\"1080\" \/><\/div><\/p>\n<section><\/section>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\"><strong>\u57fa\u7840\u77e5\u8bc6\uff1a<\/strong><\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\"><strong>\u51c6\u5907\u7bc7<\/strong><\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u4e00\u3001\u9632\u706b\u5899\u914d\u7f6e<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">CentOS 7.x\u9ed8\u8ba4\u4f7f\u7528\u7684\u662ffirewall\u4f5c\u4e3a\u9632\u706b\u5899\uff0c\u8fd9\u91cc\u6539\u4e3aiptables\u9632\u706b\u5899\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">1\u3001\u5173\u95edfirewall\uff1a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">systemctl stop firewalld.service #\u505c\u6b62firewall<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">systemctl disable firewalld.service #\u7981\u6b62firewall\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">systemctl mask firewalld<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">systemctl stop firewalld<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">yum remove firewalld<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">2\u3001\u5b89\u88c5iptables\u9632\u706b\u5899<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">yum install iptables-services #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/sysconfig\/iptables #\u7f16\u8f91\u9632\u706b\u5899\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># sample configuration for iptables service<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># you can edit this manually or use system-config-firewall<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># please do not ask us to add additional ports\/services to this default configuration<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">*filter<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:INPUT ACCEPT [0:0]<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:FORWARD ACCEPT [0:0]<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:OUTPUT ACCEPT [0:0]<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">-A INPUT -m state &#8211;state RELATED,ESTABLISHED -j ACCEPT<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">-A INPUT -p icmp -j ACCEPT<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">-A INPUT -i lo -j ACCEPT<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">-A INPUT -p tcp -m state &#8211;state NEW -m tcp &#8211;dport 22 -j ACCEPT<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">-A INPUT -p tcp -m state &#8211;state NEW -m tcp &#8211;dport 80 -j ACCEPT<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">-A INPUT -p tcp -m state &#8211;state NEW -m tcp &#8211;dport 3306 -j ACCEPT<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">-A INPUT -j REJECT &#8211;reject-with icmp-host-prohibited<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">-A FORWARD -j REJECT &#8211;reject-with icmp-host-prohibited<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">COMMIT<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">systemctl restart iptables.service #\u6700\u540e\u91cd\u542f\u9632\u706b\u5899\u4f7f\u914d\u7f6e\u751f\u6548<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">systemctl enable iptables.service #\u8bbe\u7f6e\u9632\u706b\u5899\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/libexec\/iptables\/iptables.init restart #\u91cd\u542f\u9632\u706b\u5899<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u4e8c\u3001\u5173\u95edSELINUX<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/selinux\/config<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#SELINUX=enforcing #\u6ce8\u91ca\u6389<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#SELINUXTYPE=targeted #\u6ce8\u91ca\u6389<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">SELINUX=disabled #\u589e\u52a0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">setenforce 0 #\u4f7f\u914d\u7f6e\u7acb\u5373\u751f\u6548<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u4e09 \u3001\u7cfb\u7edf\u7ea6\u5b9a<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8f6f\u4ef6\u6e90\u4ee3\u7801\u5305\u5b58\u653e\u4f4d\u7f6e\uff1a\/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u6e90\u7801\u5305\u7f16\u8bd1\u5b89\u88c5\u4f4d\u7f6e\uff1a\/usr\/local\/\u8f6f\u4ef6\u540d\u5b57<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u56db\u3001\u4e0b\u8f7d\u8f6f\u4ef6\u5305<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">1\u3001\u4e0b\u8f7dnginx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/nginx.org\/download\/nginx-1.10.3.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">2\u3001\u4e0b\u8f7dMySQL<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">https:\/\/cdn.mysql.com\/archives\/mysql-5.7\/mysql-5.7.16.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">3\u3001\u4e0b\u8f7dphp<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/mirrors.sohu.com\/php\/php-7.3.6.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/mirrors.sohu.com\/php\/php-7.2.19.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/mirrors.sohu.com\/php\/php-7.1.3.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/mirrors.sohu.com\/php\/php-7.0.17.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/mirrors.sohu.com\/php\/php-5.6.30.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/mirrors.sohu.com\/php\/php-5.5.38.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/mirrors.sohu.com\/php\/php-5.4.45.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/mirrors.sohu.com\/php\/php-5.3.29.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/museum.php.net\/php5\/php-5.2.17.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/php-fpm.org\/downloads\/php-5.2.17-fpm-0.5.14.diff.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">4\u3001\u4e0b\u8f7dcmake\uff08MySQL\u7f16\u8bd1\u5de5\u5177\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">https:\/\/cmake.org\/files\/v3.7\/cmake-3.7.2.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">5\u3001\u4e0b\u8f7dpcre \uff08\u652f\u6301nginx\u4f2a\u9759\u6001\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ftp:\/\/ftp.csx.cam.ac.uk\/pub\/software\/programming\/pcre\/pcre-8.40.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">6\u3001\u4e0b\u8f7dopenssl\uff08nginx\u6269\u5c55\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">https:\/\/www.openssl.org\/source\/openssl-1.1.0e.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">7\u3001\u4e0b\u8f7dzlib\uff08nginx\u6269\u5c55\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/www.zlib.net\/zlib-1.2.11.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">8\u3001\u4e0b\u8f7dlibmcrypt\uff08php\u6269\u5c55\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">https:\/\/nchc.dl.sourceforge.net\/project\/mcrypt\/Libmcrypt\/2.5.8\/libmcrypt-2.5.8.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9\u3001\u4e0b\u8f7dyasm\uff08php\u6269\u5c55\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/www.tortall.net\/projects\/yasm\/releases\/yasm-1.3.0.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">10\u3001t1lib\uff08php\u6269\u5c55\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/download.freenas.org\/distfiles\/t1lib-5.1.2.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">11\u3001\u4e0b\u8f7dgd\u5e93\u5b89\u88c5\u5305<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">https:\/\/github.com\/libgd\/libgd\/releases\/download\/gd-2.1.1\/libgd-2.1.1.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">12\u3001libvpx\uff08gd\u5e93\u9700\u8981\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">https:\/\/codeload.github.com\/webmproject\/libvpx\/tar.gz\/v1.3.0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">13\u3001tiff\uff08gd\u5e93\u9700\u8981\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/download.osgeo.org\/libtiff\/tiff-4.0.7.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">14\u3001libpng\uff08gd\u5e93\u9700\u8981\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ftp:\/\/ftp.simplesystems.org\/pub\/libpng\/png\/src\/libpng16\/libpng-1.6.28.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">15\u3001freetype\uff08gd\u5e93\u9700\u8981\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/download.savannah.gnu.org\/releases\/freetype\/freetype-2.7.1.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">16\u3001jpegsrc\uff08gd\u5e93\u9700\u8981\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">http:\/\/www.ijg.org\/files\/jpegsrc.v9b.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">17\u3001Boost\uff08\u7f16\u8bd1mysql\u9700\u8981\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">https:\/\/ufpr.dl.sourceforge.net\/project\/boost\/boost\/1.59.0\/boost_1_59_0.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">18\u3001libzip\uff08\u7f16\u8bd1php\u9700\u8981\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">https:\/\/nih.at\/libzip\/libzip-1.2.0.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4ee5\u4e0a\u8f6f\u4ef6\u5305\u4e0a\u4f20\u5230\/usr\/local\/src\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u4e94\u3001\u5b89\u88c5\u7f16\u8bd1\u5de5\u5177\u53ca\u5e93\u6587\u4ef6\uff08\u4f7f\u7528yum\u547d\u4ee4\u5b89\u88c5\uff09<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">yum install -y apr* autoconf automake bison bzip2 bzip2* cloog-ppl\u00a0 cpp curl curl-devel fontconfig fontconfig-devel freetype freetype* freetype-devel gcc gcc-c++ gtk+-devel gd gettext gettext-devel glibc kernel kernel-headers keyutils keyutils-libs-devel krb5-devel libcom_err-devel libpng libpng-devel libjpeg* libsepol-devel libselinux-devel libstdc++-devel libtool* libgomp libxml2 libxml2-devel libXpm* libxml*\u00a0libXaw-devel libXmu-devel libtiff libtiff* make mpfr ncurses* ntp openssl openssl-devel patch pcre-devel perl php-common php-gd policycoreutils telnet t1lib t1lib* nasm nasm* wget zlib-devel<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\"><strong>\u5b89\u88c5\u7bc7<\/strong><\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4ee5\u4e0b\u662f\u7528putty\u5de5\u5177\u8fdc\u7a0b\u767b\u5f55\u5230\u670d\u52a1\u5668\uff0c\u5728\u547d\u4ee4\u884c\u4e0b\u9762\u64cd\u4f5c\u7684<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u4e00\u3001\u5b89\u88c5MySQL<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">1\u3001\u5b89\u88c5cmake<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf cmake-3.7.2.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd cmake-3.7.2<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">2\u3001\u5b89\u88c5MySQL<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir -p \/usr\/local\/boost<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp boost_1_59_0.tar.gz \/usr\/local\/boost<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">groupadd mysql #\u6dfb\u52a0mysql\u7ec4<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">useradd -g mysql mysql -s \/bin\/false #\u521b\u5efa\u7528\u6237mysql\u5e76\u52a0\u5165\u5230mysql\u7ec4\uff0c\u4e0d\u5141\u8bb8mysql\u7528\u6237\u76f4\u63a5\u767b\u5f55\u7cfb\u7edf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir -p \/data\/mysql #\u521b\u5efaMySQL\u6570\u636e\u5e93\u5b58\u653e\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chown -R mysql:mysql \/data\/mysql #\u8bbe\u7f6eMySQL\u6570\u636e\u5e93\u5b58\u653e\u76ee\u5f55\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir -p \/usr\/local\/mysql #\u521b\u5efaMySQL\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src #\u8fdb\u5165\u8f6f\u4ef6\u5305\u5b58\u653e\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf mysql-5.7.16.tar.gz #\u89e3\u538b<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd mysql-5.7.16 #\u8fdb\u5165\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cmake . -DCMAKE_INSTALL_PREFIX=\/usr\/local\/mysql -DMYSQL_DATADIR=\/data\/mysql -DWITH_INNOBASE_STORAGE_ENGINE=1 -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EMBEDDED_SERVER=OFF -DWITH_BOOST=\/usr\/local\/boost<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">\u6ce8\u610f\uff1a\u53ef\u4ee5\u4f7f\u7528-DDOWNLOAD_BOOST=1 -DWITH_BOOST=\/usr\/local\/boost\u53c2\u6570\u5728\u7ebf\u5b89\u88c5boost\u8f6f\u4ef6\u5305\uff0c\u9700\u8981\u670d\u52a1\u5668\u8054\u7f51\uff0c\u5bb9\u6613\u4e0b\u8f7d\u5931\u8d25\u3002<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cmake . -DCMAKE_INSTALL_PREFIX=\/usr\/local\/mysql -DMYSQL_DATADIR=\/data\/mysql -DMYSQL_UNIX_ADDR=\/tmp\/mysql.sock -DMYSQL_USER=mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DENABLED_LOCAL_INFILE=ON -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 -DWITH_EMBEDDED_SERVER=OFF -DDOWNLOAD_BOOST=1 -DWITH_BOOST=\/usr\/local\/boost<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u7f16\u8bd1\u51fa\u9519, \u91cd\u65b0\u7f16\u8bd1\u524d\u8981\u5220\u9664\u7f16\u8bd1\u5931\u8d25\u7684\u6587\u4ef6\uff0c\u91cd\u65b0\u7f16\u8bd1\u65f6\uff0c\u9700\u8981\u6e05\u9664\u65e7\u7684\u5bf9\u8c61\u6587\u4ef6\u548c\u7f13\u5b58\u4fe1\u606f\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make clean<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rm -f CMakeCache.txt<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rm -rf \/etc\/my.cnf #\u5220\u9664\u7cfb\u7edf\u9ed8\u8ba4\u7684\u914d\u7f6e\u6587\u4ef6\uff08\u5982\u679c\u9ed8\u8ba4\u6ca1\u6709\u5c31\u4e0d\u7528\u5220\u9664\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/mysql #\u8fdb\u5165MySQL\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/bin\/mysqld &#8211;user=mysql &#8211;initialize &#8211;basedir=\/usr\/local\/mysql &#8211;datadir=\/data\/mysql #\u751f\u6210mysql\u7cfb\u7edf\u6570\u636e\u5e93<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">&#8211;initialize\u8868\u793a\u9ed8\u8ba4\u751f\u6210\u5bc6\u7801, &#8211;initialize-insecure \u8868\u793a\u4e0d\u751f\u6210\u5bc6\u7801, \u5bc6\u7801\u4e3a\u7a7a\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u770b\u5230\u8fd9\u4e00\u884c[Note] A temporary password is generated for root@localhost: i&gt;X18*=Rav=7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/mysql\/support-files\/my-default.cnf \/usr\/local\/mysql\/my.cnf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/mysql\/my.cnf \/etc\/my.cnf #\u6dfb\u52a0\u5230\/etc\u76ee\u5f55\u7684\u8f6f\u8fde\u63a5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/mysql\/support-files\/mysql.server \/etc\/rc.d\/init.d\/mysqld #\u628aMysql\u52a0\u5165\u7cfb\u7edf\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod 755 \/etc\/init.d\/mysqld #\u589e\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig mysqld on #\u52a0\u5165\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/mysqld #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">basedir=\/usr\/local\/mysql #MySQL\u7a0b\u5e8f\u5b89\u88c5\u8def\u5f84<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">datadir=\/data\/mysql #MySQl\u6570\u636e\u5e93\u5b58\u653e\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">service mysqld start #\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/profile #\u628amysql\u670d\u52a1\u52a0\u5165\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\uff1a\u5728\u6700\u540e\u6dfb\u52a0\u4e0b\u9762\u8fd9\u4e00\u884c<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">export PATH=$PATH:\/usr\/local\/mysql\/bin<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">source \/etc\/profile #\u4f7f\u914d\u7f6e\u7acb\u523b\u751f\u6548<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4e0b\u9762\u8fd9\u4e24\u884c\u628amyslq\u7684\u5e93\u6587\u4ef6\u94fe\u63a5\u5230\u7cfb\u7edf\u9ed8\u8ba4\u7684\u4f4d\u7f6e\uff0c\u8fd9\u6837\u4f60\u5728\u7f16\u8bd1\u7c7b\u4f3cPHP\u7b49\u8f6f\u4ef6\u65f6\u53ef\u4ee5\u4e0d\u7528\u6307\u5b9amysql\u7684\u5e93\u6587\u4ef6\u5730\u5740\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/mysql\/lib\/mysql \/usr\/lib\/mysql<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/mysql\/include\/mysql \/usr\/include\/mysql<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir \/var\/lib\/mysql #\u521b\u5efa\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/tmp\/mysql.sock \/var\/lib\/mysql\/mysql.sock #\u6dfb\u52a0\u8f6f\u94fe\u63a5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mysql_secure_installation #\u4fee\u6539Mysql\u5bc6\u7801\uff0c\u8f93\u5165\u4e4b\u524d\u751f\u6210\u7684\u5bc6CSJlm3DyTG.d\u56de\u8f66\uff0c\u6839\u636e\u63d0\u793a\u64cd\u4f5c\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">Press y|Y for Yes, any other key for No: y #\u662f\u5426\u5b89\u88c5\u5bc6\u7801\u5b89\u5168\u63d2\u4ef6\uff1f\u9009\u62e9y<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">There are three levels of password validation policy: #\u6709\u4ee5\u4e0b\u51e0\u79cd\u5bc6\u7801\u5f3a\u5ea6\u9009\u62e9<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">LOW Length &gt;= 8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">MEDIUM Length &gt;= 8, numeric, mixed case, and special characters<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">STRONG Length &gt;= 8, numeric, mixed case, special characters and dictionary file<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 0 #\u9009\u62e90,\u53ea\u89818\u4f4d\u6570\u5b57\u5373\u53ef\uff0c\u90091\u8981\u6709\u5927\u5199\uff0c\u5c0f\u5199\uff0c\u7279\u6b8a\u5b57\u7b26\u7b49<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">UNINSTALL PLUGIN validate_password ; #\u5378\u8f7d\u5bc6\u7801\u5f3a\u5ea6\u63d2\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">use mysql;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">update mysql.user set authentication_string=password(&#8216;123456&#8242;) where user=&#8217;root&#8217; ; #\u767b\u5f55mysql\u63a7\u5236\u53f0\u4fee\u6539<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ALTER USER &#8216;root&#8217;@&#8217;localhost&#8217; IDENTIFIED WITH mysql_native_password AS &#8216;123456&#8217;; #\u4fee\u6539\u5bc6\u7801<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u4e8c\u3001\u5b89\u88c5Nginx<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">1\u3001\u5b89\u88c5pcre<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir \/usr\/local\/pcre<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf pcre-8.40.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd pcre-8.40<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/pcre<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">2\u3001\u5b89\u88c5openssl<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir \/usr\/local\/openssl<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf openssl-1.1.0e.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd openssl-1.1.0e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/config &#8211;prefix=\/usr\/local\/openssl<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/profile<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">export PATH=$PATH:\/usr\/local\/openssl\/bin<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq!<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">source \/etc\/profile<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">3\u3001\u5b89\u88c5zlib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir \/usr\/local\/zlib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf zlib-1.2.11.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd zlib-1.2.11<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/zlib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">4\u3001\u5b89\u88c5Nginx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">groupadd www<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">useradd -g www www -s \/bin\/false<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf nginx-1.10.3.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd nginx-1.10.3<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/nginx &#8211;without-http_memcached_module &#8211;user=www &#8211;group=www &#8211;with-http_stub_status_module &#8211;with-http_ssl_module &#8211;with-http_gzip_static_module &#8211;with-openssl=\/usr\/local\/src\/openssl-1.1.0e &#8211;with-zlib=\/usr\/local\/src\/zlib-1.2.11 &#8211;with-pcre=\/usr\/local\/src\/pcre-8.40<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u6ce8\u610f\uff1a&#8211;with-openssl=\/usr\/local\/src\/openssl-1.1.0e &#8211;with-zlib=\/usr\/local\/src\/zlib-1.2.11 &#8211;with-pcre=\/usr\/local\/src\/pcre-8.40\u6307\u5411\u7684\u662f\u6e90\u7801\u5305\u89e3\u538b\u7684\u8def\u5f84\uff0c\u800c\u4e0d\u662f\u5b89\u88c5\u7684\u8def\u5f84\uff0c\u5426\u5219\u4f1a\u62a5\u9519<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/nginx\/sbin\/nginx #\u542f\u52a8Nginx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6enginx\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/nginx #\u7f16\u8f91\u542f\u52a8\u6587\u4ef6\u6dfb\u52a0\u4e0b\u9762\u5185\u5bb9<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">############################################################<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#!\/bin\/sh<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># nginx &#8211; this script starts and stops the nginx daemon<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># chkconfig: &#8211; 85 15<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># description: Nginx is an HTTP(S) server, HTTP(S) reverse<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># proxy and IMAP\/POP3 proxy server<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># processname: nginx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># config: \/etc\/nginx\/nginx.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># config: \/usr\/local\/nginx\/conf\/nginx.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># pidfile: \/usr\/local\/nginx\/logs\/nginx.pid<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># Source function library.<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">. \/etc\/rc.d\/init.d\/functions<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># Source networking configuration.<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">. \/etc\/sysconfig\/network<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># Check that networking is up.<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">[ &#8220;$NETWORKING&#8221; = &#8220;no&#8221; ] &amp;&amp; exit 0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">nginx=&#8221;\/usr\/local\/nginx\/sbin\/nginx&#8221;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prog=$(basename $nginx)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">NGINX_CONF_FILE=&#8221;\/usr\/local\/nginx\/conf\/nginx.conf&#8221;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">[ -f \/etc\/sysconfig\/nginx ] &amp;&amp; . \/etc\/sysconfig\/nginx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">lockfile=\/var\/lock\/subsys\/nginx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make_dirs() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># make required directories<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user=`$nginx -V 2&gt;&amp;1 | grep &#8220;configure arguments:&#8221; | sed &#8216;s\/[^*]*&#8211;user=([^ ]*).*\/1\/g&#8217; -`<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">if [ -z &#8220;`grep $user \/etc\/passwd`&#8221; ]; then<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">useradd -M -s \/bin\/nologin $user<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">fi<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">options=`$nginx -V 2&gt;&amp;1 | grep &#8216;configure arguments:&#8217;`<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">for opt in $options; do<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">if [ `echo $opt | grep &#8216;.*-temp-path&#8217;` ]; then<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">value=`echo $opt | cut -d &#8220;=&#8221; -f 2`<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">if [ ! -d &#8220;$value&#8221; ]; then<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># echo &#8220;creating&#8221; $value<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir -p $value &amp;&amp; chown -R $user $value<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">fi<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">fi<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">done<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">start() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">[ -x $nginx ] || exit 5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">[ -f $NGINX_CONF_FILE ] || exit 6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make_dirs<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">echo -n $&#8221;Starting $prog: &#8220;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">daemon $nginx -c $NGINX_CONF_FILE<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">retval=$?<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">echo<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">[ $retval -eq 0 ] &amp;&amp; touch $lockfile<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">return $retval<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">stop() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">echo -n $&#8221;Stopping $prog: &#8220;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">killproc $prog -QUIT<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">retval=$?<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">echo<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">[ $retval -eq 0 ] &amp;&amp; rm -f $lockfile<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">return $retval<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">restart() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#configtest || return $?<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">stop<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">sleep 1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">start<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">reload() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#configtest || return $?<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">echo -n $&#8221;Reloading $prog: &#8220;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">killproc $nginx -HUP<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">RETVAL=$?<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">echo<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">force_reload() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">restart<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">configtest() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">$nginx -t -c $NGINX_CONF_FILE<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rh_status() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">status $prog<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rh_status_q() {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rh_status &gt;\/dev\/null 2&gt;&amp;1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">case &#8220;$1&#8221; in<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">start)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rh_status_q &amp;&amp; exit 0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">$1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">;;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">stop)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rh_status_q || exit 0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">$1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">;;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">restart|configtest)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">$1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">;;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">reload)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rh_status_q || exit 7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">$1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">;;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">force-reload)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">force_reload<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">;;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">status)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rh_status<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">;;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">condrestart|try-restart)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rh_status_q || exit 0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">;;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">*)<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">echo $&#8221;Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}&#8221;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">exit 2<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">esac<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">############################################################<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod 775 \/etc\/rc.d\/init.d\/nginx #\u8d4b\u4e88\u6587\u4ef6\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig nginx on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/etc\/rc.d\/init.d\/nginx restart #\u91cd\u542f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u670d\u52a1\u5668IP\u5730\u5740\uff0c\u4f1a\u770b\u5230\u4e0b\u9762\u7684\u754c\u9762\uff0c\u8bf4\u660eNginx\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">\u6269\u5c55\u9605\u8bfb\uff1a<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">Nginx\u914d\u7f6etxt\u3001pdf\u3001doc\u3001xls\u7b49\u6587\u4ef6\u76f4\u63a5\u4e0b\u8f7d\u7684\u65b9\u6cd5<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">\u5728nginx\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">location \/ {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">if ($request_filename ~* ^.*?.(txt|pdf|doc|xls)$){<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">add_header Content-Disposition: &#8216;attachment;&#8217;;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u4e09\u3001\u5b89\u88c5php<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">1\u3001\u5b89\u88c5yasm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf yasm-1.3.0.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd yasm-1.3.0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">2\u3001\u5b89\u88c5libmcrypt<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf libmcrypt-2.5.8.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd libmcrypt-2.5.8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">3\u3001\u5b89\u88c5libvpx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf libvpx-1.3.0.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd libvpx-1.3.0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/libvpx &#8211;enable-shared &#8211;enable-vp9<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">4\u3001\u5b89\u88c5tiff<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf tiff-4.0.7.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd tiff-4.0.7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/tiff &#8211;enable-shared<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">5\u3001\u5b89\u88c5libpng<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf libpng-1.6.28.tar.gz\u00a0 \u00a0 #\u89e3\u538b<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">xz -d libpng-1.6.28.tar.xz\u00a0 \u00a0#\u5148\u89e3\u538bxz<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">tar xvf\u00a0 libpng-1.6.28.tar\u00a0 \u00a0#\u518d\u89e3\u538btar<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">\u6216\u8005<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">tar xvJf\u00a0 libpng-1.6.36.tar.xz\u00a0 #\u76f4\u63a5\u89e3\u538b<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd libpng-1.6.28<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/libpng &#8211;enable-shared<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">6\u3001\u5b89\u88c5freetype<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf freetype-2.7.1.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd freetype-2.7.1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/freetype &#8211;enable-shared<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">7\u3001\u5b89\u88c5jpeg<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf jpegsrc.v9b.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd jpeg-9b<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/jpeg &#8211;enable-shared<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">8\u3001\u5b89\u88c5libgd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf libgd-2.1.1.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd libgd-2.1.1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/libgd &#8211;enable-shared &#8211;with-jpeg=\/usr\/local\/jpeg &#8211;with-png=\/usr\/local\/libpng &#8211;with-freetype=\/usr\/local\/freetype &#8211;with-fontconfig=\/usr\/local\/freetype &#8211;with-xpm=\/usr\/lib64 &#8211;with-tiff=\/usr\/local\/tiff &#8211;with-vpx=\/usr\/local\/libvpx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bf4\u660e\uff1a\u5982\u679clibgd\u7f16\u8bd1\u5931\u8d25\uff0c\u53ef\u4ee5\u5148\u8df3\u8fc7\uff0c\u76f4\u63a5\u4f7f\u7528\u7cfb\u7edf\u9ed8\u8ba4\u76842.1.0\u7248\u672c\uff0c\u5728\u7f16\u8bd1php\u7684\u65f6\u5019\u628a\u53c2\u6570&#8211;with-gd=\/usr\/local\/libgd\u4fee\u6539\u4e3a&#8211;with-gd\u5373\u53ef\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9\u3001\u5b89\u88c5t1lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf t1lib-5.1.2.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd t1lib-5.1.2<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/t1lib &#8211;enable-shared<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make without_doc<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">10\u3001\u5b89\u88c5libzip<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zxvf libzip-1.2.0.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd libzip-1.2.0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/lib\/libzip\/include\/zipconf.h\u00a0 \u00a0\/usr\/local\/include\/zipconf.h<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #0000ff; border: 0px initial initial;\">#\u62f7\u8d1d\u6587\u4ef6\uff0c\u5426\u5219CentOS 7.x \u5b89\u88c5php7.3.x \u53ef\u80fd\u4f1a\u62a5\u9519 \/usr\/local\/include\/zip.h:59:21: fatal error: zipconf.h: No such file or dire<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">11\u3001\u5b89\u88c5php<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u6ce8\u610f\uff1a\u5982\u679c\u7cfb\u7edf\u662f64\u4f4d\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u4e24\u6761\u547d\u4ee4\uff0c\u5426\u5219\u5b89\u88c5php\u4f1a\u51fa\u9519\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp -frp \/usr\/lib64\/libltdl.so* \/usr\/lib\/<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp -frp \/usr\/lib64\/libXpm.so* \/usr\/lib\/<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">11.-1\u3001\u5b89\u88c5php7.3.6<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zvxf php-7.3.6.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-7.3.6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">export LD_LIBRARY_PATH=\/usr\/local\/libgd\/lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php73 &#8211;with-config-file-path=\/usr\/local\/php73\/etc &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bf4\u660e\uff1a\u5982\u679c\u63d0\u793alibgd\u7248\u672c\u9519\u8bef\uff0c\u628aphp\u7f16\u8bd1\u53c2\u6570&#8211;with-gd=\/usr\/local\/libgd\u4fee\u6539\u4e3a&#8211;with-gd\u5373\u53ef\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp php.ini-production \/usr\/local\/php73\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rm -rf \/etc\/php.ini #\u5220\u9664\u7cfb\u7edf\u81ea\u5e26\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/php73\/etc\/php.ini \/etc\/php.ini #\u6dfb\u52a0\u8f6f\u94fe\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php73\/etc\/php-fpm.conf.default \/usr\/local\/php73\/etc\/php-fpm.conf #\u62f7\u8d1d\u6a21\u677f\u6587\u4ef6\u4e3aphp-fpm\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/php73\/etc\/php-fpm.conf \/etc\/php-fpm.conf #\u6dfb\u52a0\u8f6f\u8fde\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php73\/etc\/php-fpm.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">pid = run\/php-fpm.pid #\u53d6\u6d88\u524d\u9762\u7684\u5206\u53f7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">include=\/usr\/local\/php73\/etc\/php-fpm.d\/*.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php73\/etc\/php-fpm.d\/www.conf.default \/usr\/local\/php73\/etc\/php-fpm.d\/www.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php73\/etc\/php-fpm.d\/www.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u8d26\u53f7\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">group = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:8998<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-7.3.6\/sapi\/fpm\/init.d.php-fpm\u00a0 \u00a0\/etc\/rc.d\/init.d\/php73-fpm #\u62f7\u8d1dphp-fpm\u5230\u542f\u52a8\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod +x \/etc\/rc.d\/init.d\/php73-fpm #\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php73-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php73-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php73<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php73-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php73\/sbin\/php-fpm \/usr\/local\/php73\/sbin\/php73-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php73\/etc\/php.ini #\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1adisable_functions =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adisable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,escapeshellcmd,dll,popen,disk_free_space,checkdnsrr,checkdnsrr,getservbyname,getservbyport,disk_total_space,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u5217\u51faPHP\u53ef\u4ee5\u7981\u7528\u7684\u51fd\u6570\uff0c\u5982\u679c\u67d0\u4e9b\u7a0b\u5e8f\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5220\u9664\uff0c\u53d6\u6d88\u7981\u7528\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;date.timezone =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adate.timezone = PRC #\u8bbe\u7f6e\u65f6\u533a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aexpose_php = On<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aexpose_php = Off #\u7981\u6b62\u663e\u793aphp\u7248\u672c\u7684\u4fe1\u606f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1ashort_open_tag = Off<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1ashort_open_tag = ON #\u652f\u6301php\u77ed\u6807\u7b7e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230opcache.enable=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3aopcache.enable=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;opcache.enable_cli=1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aopcache.enable_cli=0\u00a0#php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0\uff1azend_extension=opcache.so #\u5f00\u542fopcode\u7f13\u5b58\u529f\u80fd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">11.0\u3001\u5b89\u88c5php7.2.19<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zvxf php-7.2.19.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-7.2.19<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">export LD_LIBRARY_PATH=\/usr\/local\/libgd\/lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php72 &#8211;with-config-file-path=\/usr\/local\/php72\/etc &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bf4\u660e\uff1a\u5982\u679c\u63d0\u793alibgd\u7248\u672c\u9519\u8bef\uff0c\u628aphp\u7f16\u8bd1\u53c2\u6570&#8211;with-gd=\/usr\/local\/libgd\u4fee\u6539\u4e3a&#8211;with-gd\u5373\u53ef\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp php.ini-production \/usr\/local\/php72\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rm -rf \/etc\/php.ini #\u5220\u9664\u7cfb\u7edf\u81ea\u5e26\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/php72\/etc\/php.ini \/etc\/php.ini #\u6dfb\u52a0\u8f6f\u94fe\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php72\/etc\/php-fpm.conf.default \/usr\/local\/php72\/etc\/php-fpm.conf #\u62f7\u8d1d\u6a21\u677f\u6587\u4ef6\u4e3aphp-fpm\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/php72\/etc\/php-fpm.conf \/etc\/php-fpm.conf #\u6dfb\u52a0\u8f6f\u8fde\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php72\/etc\/php-fpm.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">pid = run\/php-fpm.pid #\u53d6\u6d88\u524d\u9762\u7684\u5206\u53f7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">include=\/usr\/local\/php72\/etc\/php-fpm.d\/*.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php72\/etc\/php-fpm.d\/www.conf.default \/usr\/local\/php72\/etc\/php-fpm.d\/www.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php72\/etc\/php-fpm.d\/www.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u8d26\u53f7\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">group = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:8999<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-7.2.19\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php72-fpm #\u62f7\u8d1dphp-fpm\u5230\u542f\u52a8\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod +x \/etc\/rc.d\/init.d\/php72-fpm #\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php72-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php72-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php72<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php72-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php72\/sbin\/php-fpm \/usr\/local\/php72\/sbin\/php72-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php72\/etc\/php.ini #\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1adisable_functions =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adisable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,escapeshellcmd,dll,popen,disk_free_space,checkdnsrr,checkdnsrr,getservbyname,getservbyport,disk_total_space,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u5217\u51faPHP\u53ef\u4ee5\u7981\u7528\u7684\u51fd\u6570\uff0c\u5982\u679c\u67d0\u4e9b\u7a0b\u5e8f\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5220\u9664\uff0c\u53d6\u6d88\u7981\u7528\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;date.timezone =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adate.timezone = PRC #\u8bbe\u7f6e\u65f6\u533a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aexpose_php = On<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aexpose_php = Off #\u7981\u6b62\u663e\u793aphp\u7248\u672c\u7684\u4fe1\u606f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1ashort_open_tag = Off<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1ashort_open_tag = ON #\u652f\u6301php\u77ed\u6807\u7b7e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230opcache.enable=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3aopcache.enable=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;opcache.enable_cli=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aopcache.enable_cli=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0\uff1azend_extension=opcache.so #\u5f00\u542fopcode\u7f13\u5b58\u529f\u80fd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">11.1\u3001\u5b89\u88c5php7.1.3<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zvxf php-7.1.3.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-7.1.3<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">export LD_LIBRARY_PATH=\/usr\/local\/libgd\/lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php71 &#8211;with-config-file-path=\/usr\/local\/php71\/etc &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bf4\u660e\uff1a\u5982\u679c\u63d0\u793alibgd\u7248\u672c\u9519\u8bef\uff0c\u628aphp\u7f16\u8bd1\u53c2\u6570&#8211;with-gd=\/usr\/local\/libgd\u4fee\u6539\u4e3a&#8211;with-gd\u5373\u53ef\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp php.ini-production \/usr\/local\/php71\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rm -rf \/etc\/php.ini #\u5220\u9664\u7cfb\u7edf\u81ea\u5e26\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/php71\/etc\/php.ini \/etc\/php.ini #\u6dfb\u52a0\u8f6f\u94fe\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php71\/etc\/php-fpm.conf.default \/usr\/local\/php71\/etc\/php-fpm.conf #\u62f7\u8d1d\u6a21\u677f\u6587\u4ef6\u4e3aphp-fpm\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">ln -s \/usr\/local\/php71\/etc\/php-fpm.conf \/etc\/php-fpm.conf #\u6dfb\u52a0\u8f6f\u8fde\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php71\/etc\/php-fpm.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">pid = run\/php-fpm.pid #\u53d6\u6d88\u524d\u9762\u7684\u5206\u53f7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">include=\/usr\/local\/php71\/etc\/php-fpm.d\/*.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php71\/etc\/php-fpm.d\/www.conf.default \/usr\/local\/php71\/etc\/php-fpm.d\/www.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php71\/etc\/php-fpm.d\/www.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u8d26\u53f7\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">group = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:9000<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-7.1.3\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php71-fpm #\u62f7\u8d1dphp-fpm\u5230\u542f\u52a8\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod +x \/etc\/rc.d\/init.d\/php71-fpm #\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php71-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php71-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php71<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php71-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php71\/sbin\/php-fpm \/usr\/local\/php71\/sbin\/php71-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php71\/etc\/php.ini #\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1adisable_functions =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adisable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,escapeshellcmd,dll,popen,disk_free_space,checkdnsrr,checkdnsrr,getservbyname,getservbyport,disk_total_space,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u5217\u51faPHP\u53ef\u4ee5\u7981\u7528\u7684\u51fd\u6570\uff0c\u5982\u679c\u67d0\u4e9b\u7a0b\u5e8f\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5220\u9664\uff0c\u53d6\u6d88\u7981\u7528\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;date.timezone =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adate.timezone = PRC #\u8bbe\u7f6e\u65f6\u533a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aexpose_php = On<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aexpose_php = Off #\u7981\u6b62\u663e\u793aphp\u7248\u672c\u7684\u4fe1\u606f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1ashort_open_tag = Off<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1ashort_open_tag = ON #\u652f\u6301php\u77ed\u6807\u7b7e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230opcache.enable=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3aopcache.enable=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;opcache.enable_cli=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aopcache.enable_cli=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0\uff1azend_extension=opcache.so #\u5f00\u542fopcode\u7f13\u5b58\u529f\u80fd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">11.2\u3001\u5b89\u88c5php7.0.17<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u6ce8\u610f\uff1a\u5982\u679c\u7cfb\u7edf\u662f64\u4f4d\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5426\u5219\u5b89\u88c5php\u4f1a\u51fa\u9519\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp -frp \/usr\/lib64\/libltdl.so* \/usr\/lib\/<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp -frp \/usr\/lib64\/libXpm.so* \/usr\/lib\/<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zvxf php-7.0.17.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-7.0.17<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">export LD_LIBRARY_PATH=\/usr\/local\/libgd\/lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php70 &#8211;with-config-file-path=\/usr\/local\/php70\/etc &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bf4\u660e\uff1a\u5982\u679c\u63d0\u793alibgd\u7248\u672c\u9519\u8bef\uff0c\u628aphp\u7f16\u8bd1\u53c2\u6570&#8211;with-gd=\/usr\/local\/libgd\u4fee\u6539\u4e3a&#8211;with-gd\u5373\u53ef<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp php.ini-production \/usr\/local\/php70\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#rm -rf \/etc\/php.ini #\u5220\u9664\u7cfb\u7edf\u81ea\u5e26\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php70\/etc\/php.ini \/etc\/php.ini #\u6dfb\u52a0\u8f6f\u94fe\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php70\/etc\/php-fpm.conf.default \/usr\/local\/php70\/etc\/php-fpm.conf #\u62f7\u8d1d\u6a21\u677f\u6587\u4ef6\u4e3aphp-fpm\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php70\/etc\/php-fpm.conf \/etc\/php-fpm.conf #\u6dfb\u52a0\u8f6f\u8fde\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php70\/etc\/php-fpm.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">pid = run\/php-fpm.pid #\u53d6\u6d88\u524d\u9762\u7684\u5206\u53f7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">include=\/usr\/local\/php70\/etc\/php-fpm.d\/*.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php70\/etc\/php-fpm.d\/www.conf.default \/usr\/local\/php70\/etc\/php-fpm.d\/www.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php70\/etc\/php-fpm.d\/www.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u8d26\u53f7\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">group = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:9001<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-7.0.17\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php70-fpm #\u62f7\u8d1dphp-fpm\u5230\u542f\u52a8\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod +x \/etc\/rc.d\/init.d\/php70-fpm #\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php70-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php70-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php70<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php70-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php70\/sbin\/php-fpm \/usr\/local\/php70\/sbin\/php70-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php70\/etc\/php.ini #\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1adisable_functions =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adisable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,escapeshellcmd,dll,popen,disk_free_space,checkdnsrr,checkdnsrr,getservbyname,getservbyport,disk_total_space,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u5217\u51faPHP\u53ef\u4ee5\u7981\u7528\u7684\u51fd\u6570\uff0c\u5982\u679c\u67d0\u4e9b\u7a0b\u5e8f\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5220\u9664\uff0c\u53d6\u6d88\u7981\u7528\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;date.timezone =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adate.timezone = PRC #\u8bbe\u7f6e\u65f6\u533a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aexpose_php = On<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aexpose_php = Off #\u7981\u6b62\u663e\u793aphp\u7248\u672c\u7684\u4fe1\u606f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1ashort_open_tag = Off<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1ashort_open_tag = ON #\u652f\u6301php\u77ed\u6807\u7b7e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230opcache.enable=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3aopcache.enable=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;opcache.enable_cli=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aopcache.enable_cli=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0\uff1azend_extension=opcache.so #\u5f00\u542fopcode\u7f13\u5b58\u529f\u80fd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">10.3\u3001\u5b89\u88c5php5.6.30<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u6ce8\u610f\uff1a\u5982\u679c\u7cfb\u7edf\u662f64\u4f4d\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u4e24\u6761\u547d\u4ee4\uff0c\u5426\u5219\u5b89\u88c5php\u4f1a\u51fa\u9519\uff0832\u4f4d\u7cfb\u7edf\u4e0d\u9700\u8981\u6267\u884c\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp -frp \/usr\/lib64\/libltdl.so* \/usr\/lib\/<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp -frp \/usr\/lib64\/libXpm.so* \/usr\/lib\/<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zvxf php-5.6.30.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-5.6.30<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">export LD_LIBRARY_PATH=\/usr\/local\/libgd\/lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php56 &#8211;with-config-file-path=\/usr\/local\/php56\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-vpx-dir=\/usr\/local\/libvpx\/ &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-t1lib=\/usr\/local\/t1lib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5982\u679c\u7f16\u8bd1\u9519\u8bef\uff0c\u53ef\u4ee5\u6e05\u7406\u540e\u5728\u7f16\u8bd1\u4e00\u6b21<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make clean #\u6e05\u7406<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp php.ini-production \/usr\/local\/php56\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#rm -rf \/etc\/php.ini #\u5220\u9664\u7cfb\u7edf\u81ea\u5e26\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php56\/etc\/php.ini \/etc\/php.ini #\u6dfb\u52a0\u8f6f\u94fe\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php56\/etc\/php-fpm.conf.default \/usr\/local\/php56\/etc\/php-fpm.conf #\u62f7\u8d1d\u6a21\u677f\u6587\u4ef6\u4e3aphp-fpm\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php56\/etc\/php-fpm.conf \/etc\/php-fpm.conf #\u6dfb\u52a0\u8f6f\u8fde\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php56\/etc\/php-fpm.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u8d26\u53f7\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">group = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">pid = run\/php-fpm.pid #\u53d6\u6d88\u524d\u9762\u7684\u5206\u53f7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:9002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-5.6.30\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php56-fpm #\u62f7\u8d1dphp-fpm\u5230\u542f\u52a8\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod +x \/etc\/rc.d\/init.d\/php56-fpm #\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php56-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php56-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php56<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php56-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php56\/sbin\/php-fpm \/usr\/local\/php56\/sbin\/php56-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php56\/etc\/php.ini #\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1adisable_functions =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adisable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,escapeshellcmd,dll,popen,disk_free_space,checkdnsrr,checkdnsrr,getservbyname,getservbyport,disk_total_space,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u5217\u51faPHP\u53ef\u4ee5\u7981\u7528\u7684\u51fd\u6570\uff0c\u5982\u679c\u67d0\u4e9b\u7a0b\u5e8f\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5220\u9664\uff0c\u53d6\u6d88\u7981\u7528\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;date.timezone =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adate.timezone = PRC #\u8bbe\u7f6e\u65f6\u533a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aexpose_php = On<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aexpose_php = Off #\u7981\u6b62\u663e\u793aphp\u7248\u672c\u7684\u4fe1\u606f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1ashort_open_tag = Off<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1ashort_open_tag = ON #\u652f\u6301php\u77ed\u6807\u7b7e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230opcache.enable=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3aopcache.enable=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;opcache.enable_cli=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aopcache.enable_cli=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0\uff1azend_extension=opcache.so #\u5f00\u542fopcode\u7f13\u5b58\u529f\u80fd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">10.4\u3001\u5b89\u88c5php5.5.38<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u6ce8\u610f\uff1a\u5982\u679c\u7cfb\u7edf\u662f64\u4f4d\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u4e24\u6761\u547d\u4ee4\uff0c\u5426\u5219\u5b89\u88c5php\u4f1a\u51fa\u9519\uff0832\u4f4d\u7cfb\u7edf\u4e0d\u9700\u8981\u6267\u884c\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp -frp \/usr\/lib64\/libltdl.so* \/usr\/lib\/<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp -frp \/usr\/lib64\/libXpm.so* \/usr\/lib\/<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zvxf php-5.5.38.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-5.5.38<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">export LD_LIBRARY_PATH=\/usr\/local\/libgd\/lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php55 &#8211;with-config-file-path=\/usr\/local\/php55\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/ &#8211;with-vpx-dir=\/usr\/local\/libvpx\/ &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-t1lib=\/usr\/local\/t1lib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp php.ini-production \/usr\/local\/php55\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#rm -rf \/etc\/php.ini #\u5220\u9664\u7cfb\u7edf\u81ea\u5e26\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php55\/etc\/php.ini \/etc\/php.ini #\u6dfb\u52a0\u8f6f\u94fe\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php55\/etc\/php-fpm.conf.default \/usr\/local\/php55\/etc\/php-fpm.conf #\u62f7\u8d1d\u6a21\u677f\u6587\u4ef6\u4e3aphp-fpm\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php\/etc\/php-fpm.conf \/etc\/php-fpm.conf #\u6dfb\u52a0\u8f6f\u8fde\u63a5\u5230 \/etc\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php55\/etc\/php-fpm.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u8d26\u53f7\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">group = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">pid = run\/php-fpm.pid #\u53d6\u6d88\u524d\u9762\u7684\u5206\u53f7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:9003<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-5.5.38\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php55-fpm #\u62f7\u8d1dphp-fpm\u5230\u542f\u52a8\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod +x \/etc\/rc.d\/init.d\/php55-fpm #\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php55-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php55-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php55-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php55\/sbin\/php-fpm \/usr\/local\/php55\/sbin\/php55-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php55\/etc\/php.ini #\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1adisable_functions =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adisable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,escapeshellcmd,dll,popen,disk_free_space,checkdnsrr,checkdnsrr,getservbyname,getservbyport,disk_total_space,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u5217\u51faPHP\u53ef\u4ee5\u7981\u7528\u7684\u51fd\u6570\uff0c\u5982\u679c\u67d0\u4e9b\u7a0b\u5e8f\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5220\u9664\uff0c\u53d6\u6d88\u7981\u7528\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;date.timezone =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adate.timezone = PRC #\u8bbe\u7f6e\u65f6\u533a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aexpose_php = On<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aexpose_php = Off #\u7981\u6b62\u663e\u793aphp\u7248\u672c\u7684\u4fe1\u606f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1ashort_open_tag = Off<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1ashort_open_tag = ON #\u652f\u6301php\u77ed\u6807\u7b7e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230opcache.enable=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3aopcache.enable=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aopcache.enable_cli=1 #php\u652f\u6301opcode\u7f13\u5b58<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aopcache.enable_cli=0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0\uff1azend_extension=opcache.so #\u5f00\u542fopcode\u7f13\u5b58\u529f\u80fd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">10.5\u3001\u5b89\u88c5php5.4.45<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zvxf php-5.4.45.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-5.4.45<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mkdir -p \/usr\/local\/php54 #\u5efa\u7acbphp\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php54 &#8211;with-config-file-path=\/usr\/local\/php54\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=shared &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/ &#8211;with-vpx-dir=\/usr\/local\/libvpx\/ &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-t1lib=\/usr\/local\/t1lib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;with-curlwrappers &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp php.ini-production \/usr\/local\/php54\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#rm -rf \/etc\/php.ini #\u5220\u9664\u7cfb\u7edf\u81ea\u5e26\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php54\/etc\/php.ini \/etc\/php.ini #\u6dfb\u52a0\u8f6f\u94fe\u63a5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php54\/etc\/php-fpm.conf.default \/usr\/local\/php54\/etc\/php-fpm.conf #\u62f7\u8d1d\u6a21\u677f\u6587\u4ef6\u4e3aphp-fpm\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php54\/etc\/php-fpm.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u8d26\u53f7\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">group = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">pid = run\/php-fpm.pid #\u53d6\u6d88\u524d\u9762\u7684\u5206\u53f7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:9004<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-5.4.45\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php54-fpm #\u62f7\u8d1dphp-fpm\u5230\u542f\u52a8\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod +x \/etc\/rc.d\/init.d\/php54-fpm #\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php54-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php54-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php54<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php54-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php54\/sbin\/php-fpm \/usr\/local\/php54\/sbin\/php54-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php54\/etc\/php.ini #\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1adisable_functions =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adisable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,escapeshellcmd,dll,popen,disk_free_space,checkdnsrr,checkdnsrr,getservbyname,getservbyport,disk_total_space,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u5217\u51faPHP\u53ef\u4ee5\u7981\u7528\u7684\u51fd\u6570\uff0c\u5982\u679c\u67d0\u4e9b\u7a0b\u5e8f\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5220\u9664\uff0c\u53d6\u6d88\u7981\u7528\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u7cfb\u7edf\u8fd0\u7ef4 www.osyunwei.com \u6e29\u99a8\u63d0\u9192\uff1aqihang01\u539f\u521b\u5185\u5bb9\u7248\u6743\u6240\u6709,\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\u53ca\u539f\u6587\u94fe\u63a5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;date.timezone =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adate.timezone = PRC #\u8bbe\u7f6e\u65f6\u533a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aexpose_php = On<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aexpose_php = OFF #\u7981\u6b62\u663e\u793aphp\u7248\u672c\u7684\u4fe1\u606f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1ashort_open_tag = Off<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1ashort_open_tag = ON #\u652f\u6301php\u77ed\u6807\u7b7e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u7f16\u8bd1php mysqli\u6269\u5c55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src\/php-5.4.45\/ext\/mysqli<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php54\/bin\/phpize<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;with-php-config=\/usr\/local\/php54\/bin\/php-config &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php54\/etc\/php.ini<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">extension=mysqli.so<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">10.6\u3001\u5b89\u88c5php5.3.29<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf gd-2.0.35.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd gd-2.0.35<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;enable-m4_pattern_allow &#8211;prefix=\/usr\/local\/gd &#8211;with-jpeg=\/usr\/lib &#8211;with-png=\/usr\/lib &#8211;with-xpm=\/usr\/lib &#8211;with-freetype=\/usr\/lib &#8211;with-fontconfig=\/usr\/lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar -zvxf php-5.3.29.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-5.3.29<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php53 &#8211;with-config-file-path=\/usr\/local\/php53\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/gd &#8211;with-png-dir=\/usr\/lib &#8211;with-jpeg-dir=\/usr\/lib &#8211;with-freetype-dir=\/usr\/lib &#8211;with-iconv &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;enable-xml &#8211;enable-magic-quotes &#8211;enable-safe-mode &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;with-curlwrappers &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;with-mysqli=shared &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp php.ini-production \/usr\/local\/php53\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#rm -rf \/etc\/php.ini #\u5220\u9664\u7cfb\u7edf\u81ea\u5e26\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php53\/etc\/php.ini \/etc\/php.ini #\u6dfb\u52a0\u8f6f\u94fe\u63a5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php53\/etc\/php-fpm.conf.default \/usr\/local\/php53\/etc\/php-fpm.conf #\u62f7\u8d1d\u6a21\u677f\u6587\u4ef6\u4e3aphp-fpm\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php53\/etc\/php-fpm.conf #\u7f16\u8f91<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u8d26\u53f7\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">group = www #\u8bbe\u7f6ephp-fpm\u8fd0\u884c\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">pid = run\/php-fpm.pid #\u53d6\u6d88\u524d\u9762\u7684\u5206\u53f7<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:9005<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-5.3.29\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php53-fpm #\u62f7\u8d1dphp-fpm\u5230\u542f\u52a8\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod +x \/etc\/rc.d\/init.d\/php53-fpm #\u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php53-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php53-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php53<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php53-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php53\/sbin\/php-fpm \/usr\/local\/php53\/sbin\/php53-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">service php53-fpm start #\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php53\/etc\/php.ini #\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1adisable_functions =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adisable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,escapeshellcmd,dll,popen,disk_free_space,checkdnsrr,checkdnsrr,getservbyname,getservbyport,disk_total_space,posix_ctermid,posix_get_last_error,posix_getcwd, posix_getegid,posix_geteuid,posix_getgid, posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid, posix_getppid,posix_getpwnam,posix_getpwuid, posix_getrlimit, posix_getsid,posix_getuid,posix_isatty, posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid, posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u5217\u51faPHP\u53ef\u4ee5\u7981\u7528\u7684\u51fd\u6570\uff0c\u5982\u679c\u67d0\u4e9b\u7a0b\u5e8f\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5220\u9664\uff0c\u53d6\u6d88\u7981\u7528<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1a;date.timezone =<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1adate.timezone = PRC #\u8bbe\u7f6e\u65f6\u533a<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1aexpose_php = On<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1aexpose_php = OFF #\u7981\u6b62\u663e\u793aphp\u7248\u672c\u7684\u4fe1\u606f<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u627e\u5230\uff1ashort_open_tag = Off<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\u4e3a\uff1ashort_open_tag = ON #\u652f\u6301php\u77ed\u6807\u7b7e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php53\/etc\/php.ini\u00a0\u00a0\u00a0 #\u6dfb\u52a0mysqli\u6269\u5c55\uff0c\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">extension=&#8221;\/usr\/local\/php53\/lib\/php\/extensions\/no-debug-non-zts-20090626\/mysqli.so&#8221;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">10.7\u3001\u5b89\u88c5php5.2.17<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u7f16\u8bd1gd-2.0.35\uff0c\u5982\u679c\u4e0a\u4e00\u6b65\u5df2\u7ecf\u7f16\u8bd1\u8fc7\uff0c\u5ffd\u7565\u5373\u53ef\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf gd-2.0.35.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd gd-2.0.35<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;enable-m4_pattern_allow &#8211;prefix=\/usr\/local\/gd &#8211;with-jpeg=\/usr\/lib &#8211;with-png=\/usr\/lib &#8211;with-xpm=\/usr\/lib &#8211;with-freetype=\/usr\/lib &#8211;with-fontconfig=\/usr\/lib<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make #\u7f16\u8bd1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install #\u5b89\u88c5<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/src<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">tar zxvf php-5.2.17.tar.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">gunzip php-5.2.17-fpm-0.5.14.diff.gz<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">patch -d php-5.2.17 -p1 &lt; php-5.2.17-fpm-0.5.14.diff #\u7ed9php\u6e90\u7801\u6253\u4e0afpm\u8865\u4e01<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">curl -o php-5.2.17.patch https:\/\/mail.gnome.org\/archives\/xml\/2012-August\/txtbgxGXAvz4N.txt<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd php-5.2.17<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">patch -p0 -b &lt;..\/php-5.2.17.patch<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php52 &#8211;with-config-file-path=\/usr\/local\/php52\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/gd &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-iconv &#8211;with-zlib &#8211;enable-xml &#8211;enable-discard-path &#8211;enable-magic-quotes &#8211;enable-safe-mode &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;with-curlwrappers &#8211;enable-mbregex &#8211;enable-fastcgi &#8211;enable-fpm &#8211;enable-force-cgi-redirect &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;with-mime-magic &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;with-mysqli=shared<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">make install<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-5.2.17\/php.ini-dist \/usr\/local\/php52\/etc\/php.ini #\u590d\u5236php\u914d\u7f6e\u6587\u4ef6\u5230\u5b89\u88c5\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#rm -rf \/etc\/php.ini #\u5220\u9664\u9ed8\u8ba4\u914d\u7f6e\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#ln -s \/usr\/local\/php52\/etc\/php.ini \/etc\/php.ini #\u521b\u5efa\u94fe\u63a5\u5230\u7cfb\u7edf\u9ed8\u8ba4\u7684\u4f4d\u7f6e<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php52\/etc\/php-fpm.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">&lt;value name=&#8221;listen_address&#8221;&gt;127.0.0.1:9006&lt;\/value&gt;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">&lt;value name=&#8221;user&#8221;&gt;www&lt;\/value&gt; #\u53bb\u6389\u6ce8\u91ca\uff0c\u4fee\u6539\u7528\u6237\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">&lt;value name=&#8221;group&#8221;&gt;www&lt;\/value&gt; #\u53bb\u6389\u6ce8\u91ca\uff0c\u4fee\u6539\u7528\u6237\u7ec4\u4e3awww<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq!\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u8bbe\u7f6e php-fpm\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/php52\/sbin\/php-fpm \/etc\/rc.d\/init.d\/php52-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php52\/sbin\/php-fpm \/usr\/local\/php52\/sbin\/php52-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php52-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728#!\/bin\/bash\u4e0b\u9762\u6dfb\u52a0\u4e24\u884c<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#chkconfig:345 62 62<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#description:php-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=\/usr\/local\/php52\/bin\/php-cgi<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_CONF=\/usr\/local\/php52\/etc\/php-fpm.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_PID=\/usr\/local\/php52\/logs\/php-fpm.pid<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq!\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod 775 \/etc\/rc.d\/init.d\/php52-fpm #\u8d4b\u4e88\u6587\u4ef6\u6267\u884c\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chkconfig php52-fpm on #\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php52\/sbin\/php52-fpm start<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">service php52-fpm start<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php52\/etc\/php.ini #\u6dfb\u52a0mysqli\u6269\u5c55\uff0c\u5728\u6700\u540e\u4e00\u884c\u6dfb\u52a0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">extension=&#8221;\/usr\/local\/php52\/lib\/php\/extensions\/no-debug-non-zts-20060613\/mysqli.so&#8221;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u914d\u7f6enginx\u652f\u6301php<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/nginx\/conf\/nginx.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u4fee\u6539\/usr\/local\/nginx\/conf\/nginx.conf \u914d\u7f6e\u6587\u4ef6,\u9700\u505a\u5982\u4e0b\u4fee\u6539<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">user www www; #\u9996\u884cuser\u53bb\u6389\u6ce8\u91ca,\u4fee\u6539Nginx\u8fd0\u884c\u7ec4\u4e3awww www\uff1b\u5fc5\u987b\u4e0e\/usr\/local\/php\/etc\/php-fpm.conf\u4e2d\u7684user,group\u914d\u7f6e\u76f8\u540c\uff0c\u5426\u5219php\u8fd0\u884c\u51fa\u9519<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">index index.html index.htm index.php; #\u6dfb\u52a0index.php<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"># pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">location ~ .php$ {<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">root html;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">fastcgi_pass 127.0.0.1:<span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">9000<\/span>;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">fastcgi_index index.php;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">include fastcgi_params;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">}<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">#\u53d6\u6d88FastCGI server\u90e8\u5206location\u7684\u6ce8\u91ca,\u6ce8\u610ffastcgi_param\u884c\u7684\u53c2\u6570,\u6539\u4e3a$document_root$fastcgi_script_name,\u6216\u8005\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/etc\/init.d\/nginx restart #\u91cd\u542fnginx<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">service php71-fpm start #\u542f\u52a8php71-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\"><strong>\u8bf4\u660e\uff1a<\/strong><\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">fastcgi_pass 127.0.0.1:9000;\u4e2d\u4f7f\u7528\u7aef\u53e3\u53f7\u6765\u533a\u5206php\u7248\u672c,\u9700\u8981\u4f7f\u7528\u54ea\u4e2aphp\u7248\u672c\u5c31\u4fee\u6539\u4e3a\u76f8\u5e94\u7684\u7aef\u53e3\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">8998\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp7.3.6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">8999\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp7.2.19<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9000\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp7.1.3<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9001\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp7.0.17<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9002\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp5.6.30<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9003\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp5.5.38<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9004\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp5.4.45<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9005\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp5.3.29<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">9006\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp5.2.17<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\"><strong>\u591a\u7248\u672cphp\u5171\u5b58\u53ef\u4ee5\u603b\u7ed3\u4e3a\uff1a<\/strong><\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">1\u3001\u89c4\u5212php\u5b89\u88c5\u8def\u5f84<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php52<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php53<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php54<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php56<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php70<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php71<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php72<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\/usr\/local\/php73<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">2\u3001\u7f16\u8bd1php\u53c2\u6570\u8def\u5f84<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php73 &#8211;with-config-file-path=\/usr\/local\/php73\/etc &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php72 &#8211;with-config-file-path=\/usr\/local\/php72\/etc &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php71 &#8211;with-config-file-path=\/usr\/local\/php71\/etc &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php70 &#8211;with-config-file-path=\/usr\/local\/php70\/etc &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php56 &#8211;with-config-file-path=\/usr\/local\/php56\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/lib64 &#8211;with-vpx-dir=\/usr\/local\/libvpx\/ &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-t1lib=\/usr\/local\/t1lib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php55 &#8211;with-config-file-path=\/usr\/local\/php55\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/libgd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/ &#8211;with-vpx-dir=\/usr\/local\/libvpx\/ &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-t1lib=\/usr\/local\/t1lib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;enable-opcache &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php54 &#8211;with-config-file-path=\/usr\/local\/php54\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=shared &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-xpm-dir=\/usr\/ &#8211;with-vpx-dir=\/usr\/local\/libvpx\/ &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;with-t1lib=\/usr\/local\/t1lib &#8211;with-iconv &#8211;enable-libxml &#8211;enable-xml &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;with-curlwrappers &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php53 &#8211;with-config-file-path=\/usr\/local\/php53\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/gd &#8211;with-png-dir=\/usr\/lib &#8211;with-jpeg-dir=\/usr\/lib &#8211;with-freetype-dir=\/usr\/lib &#8211;with-iconv &#8211;with-zlib-dir=\/usr\/local\/zlib &#8211;enable-xml &#8211;enable-magic-quotes &#8211;enable-safe-mode &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;with-curlwrappers &#8211;enable-mbregex &#8211;enable-fpm &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;with-mysqli=shared &#8211;enable-mysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">.\/configure &#8211;prefix=\/usr\/local\/php52 &#8211;with-config-file-path=\/usr\/local\/php52\/etc &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config &#8211;with-mysql-sock=\/tmp\/mysql.sock &#8211;with-pdo-mysql=\/usr\/local\/mysql &#8211;with-gd=\/usr\/local\/gd &#8211;with-freetype-dir=\/usr\/local\/freetype &#8211;with-jpeg-dir=\/usr\/local\/jpeg &#8211;with-png-dir=\/usr\/local\/libpng &#8211;with-iconv &#8211;with-zlib &#8211;enable-xml &#8211;enable-discard-path &#8211;enable-magic-quotes &#8211;enable-safe-mode &#8211;enable-bcmath &#8211;enable-shmop &#8211;enable-sysvsem &#8211;enable-inline-optimization &#8211;with-curlwrappers &#8211;enable-mbregex &#8211;enable-fastcgi &#8211;enable-fpm &#8211;enable-force-cgi-redirect &#8211;enable-mbstring &#8211;enable-ftp &#8211;enable-gd-native-ttf &#8211;with-openssl &#8211;enable-pcntl &#8211;enable-sockets &#8211;with-xmlrpc &#8211;enable-zip &#8211;enable-soap &#8211;without-pear &#8211;with-gettext &#8211;with-mime-magic &#8211;enable-session &#8211;with-mcrypt &#8211;with-curl &#8211;enable-ctype &#8211;with-mysqli=shared<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">3\u3001php\u5f00\u673a\u542f\u52a8\u8bbe\u7f6e<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-7.1.3\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php71-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cp \/usr\/local\/src\/php-7.0.17\/sapi\/fpm\/init.d.php-fpm \/etc\/rc.d\/init.d\/php70-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/etc\/rc.d\/init.d\/php71-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">prefix=\/usr\/local\/php71<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php_fpm_BIN=${exec_prefix}\/sbin\/php71-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">mv \/usr\/local\/php71\/sbin\/php-fpm \/usr\/local\/php71\/sbin\/php71-fpm<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">4\u3001php\u76d1\u542c\u7aef\u53e3\u8bbe\u7f6e<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php71\/etc\/php-fpm.d\/www.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:9000<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi \/usr\/local\/php56\/etc\/php-fpm.conf<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">listen = 127.0.0.1:9002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">5\u3001nginx\u7ed3\u5408php<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">\u4fee\u6539nginx\u7ad9\u70b9\u914d\u7f6e\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">\/usr\/local\/nginx\/conf\/nginx.conf<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff00ff; border: 0px initial initial;\">fastcgi_pass 127.0.0.1:9000;<\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u6839\u636e\u4e4b\u524dphp\u7684\u8bbe\u7f6e\uff0c\u9009\u62e9\u76f8\u5e94\u7684\u7aef\u53e3\uff0c\u4f8b\u59829000\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp7.1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u90a3\u4e48\u6b64\u7ad9\u70b9\u7684php\u7248\u672c\u5c31\u4e3aphp7.1<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">fastcgi_pass 127.0.0.1:9001;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u6839\u636e\u4e4b\u524dphp\u7684\u8bbe\u7f6e\uff0c\u9009\u62e9\u76f8\u5e94\u7684\u7aef\u53e3\uff0c\u4f8b\u59829001\u5bf9\u5e94\u7684php\u7248\u672c\u662fphp7.0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u90a3\u4e48\u6b64\u7ad9\u70b9\u7684php\u7248\u672c\u5c31\u4e3aphp7.0<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\"><strong>\u6d4b\u8bd5\u7bc7<\/strong><\/span><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">cd \/usr\/local\/nginx\/html\/ #\u8fdb\u5165nginx\u9ed8\u8ba4\u7f51\u7ad9\u6839\u76ee\u5f55<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">rm -rf \/usr\/local\/nginx\/html\/* #\u5220\u9664\u9ed8\u8ba4\u6d4b\u8bd5\u9875<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">vi index.php #\u65b0\u5efaindex.php\u6587\u4ef6<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">&lt;?php<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">phpinfo();<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">?&gt;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">:wq! #\u4fdd\u5b58\u9000\u51fa<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chown www.www \/usr\/local\/nginx\/html\/ -R #\u8bbe\u7f6e\u76ee\u5f55\u6240\u6709\u8005<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">chmod 700 \/usr\/local\/nginx\/html\/ -R #\u8bbe\u7f6e\u76ee\u5f55\u6743\u9650<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u670d\u52a1\u5668ip\u5730\u5740\u4f1a\u51fa\u73b0phpinfo\u9875\u9762\uff0c\u8bf4\u660e\u90e8\u7f72\u6210\u529f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><strong><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u603b\u7ed3\uff1a<\/span><\/strong><\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">CentOS 7.x +php 7.0\/7.1\/7.2\/7.3\u7ec4\u5408\u5efa\u8bae\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u7684GD\u5e93\u8fdb\u884c\u7f16\u8bd1\uff0cphp\u9ed8\u8ba4\u53bb\u6389\u4e86mysql\u9a71\u52a8\uff0c\u53ea\u6709mysqli\u548cmysqlnd\u9a71\u52a8\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">CentOS 7.x +php 5.5\/5.6\u7ec4\u5408\u5efa\u8bae\u4f7f\u7528libgd-2.1.1\u8fdb\u884c\u7f16\u8bd1\uff0cphp\u9a71\u52a8\u5305\u62ecmysql\uff0cmysqli\u548cmysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">CentOS 7.x +php 5.4\u7ec4\u5408\u5efa\u8bae\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u7684GD\u5e93\u8fdb\u884c\u7f16\u8bd1\uff0cphp\u9a71\u52a8\u5305\u62ecmysql\uff0cmysqli\uff08\u9700\u8981\u52a0\u8f7d\uff09\uff0cmysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">CentOS 7.x +php 5.3\u7ec4\u5408\u5efa\u8bae\u4f7f\u7528gd-2.0.35\u8fdb\u884c\u7f16\u8bd1\uff0cphp\u9a71\u52a8\u5305\u62ecmysql\uff0cmysqli\uff08\u9700\u8981\u52a0\u8f7d\uff09\uff0cmysqlnd<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">CentOS 7.x +php 5.2\u7ec4\u5408\u5efa\u8bae\u4f7f\u7528gd-2.0.35\u8fdb\u884c\u7f16\u8bd1\uff0cphp\u9a71\u52a8\u5305\u62ecmysql\uff0cmysqli\uff08\u9700\u8981\u52a0\u8f7d\uff09<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">\u63a8\u8350\uff1aCentOS 7.x\u4f7f\u7528php 5.5\/5.6\u7ec4\u5408\u6700\u4f73\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\">php\u5404\u4e2a\u5c0f\u7248\u672c\u7684\u5b89\u88c5\u8fc7\u7a0b\u76f8\u540c\uff0c\u5982php 7.1.2\u548cphp 7.1.3\u5b89\u88c5\u8fc7\u7a0b\u4e00\u6837\uff0cphp 7.0.16\u548cphp 7.0.17\u5b89\u88c5\u8fc7\u7a0b\u4e00\u6837\u3002<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\">\u963f\u91cc\u4e91\u7684CentOS 7.x\u955c\u50cf\u81ea\u5e26\u7684yum.repos.d\u6587\u4ef6\u9ed8\u8ba4\u88ab\u4fee\u6539\u4e3a\u963f\u91cc\u4e91\u81ea\u5df1\u7684\u955c\u50cf\u6e90\u4e86\uff0c\u4f46\u662f\uff0c\u8fd9\u4e2a\u6e90\u6709\u4e9b\u95ee\u9898\uff0c\u5f88\u591a\u8f6f\u4ef6\u5305\u65e0\u6cd5yum\u5b89\u88c5\uff0c\u5bfc\u81f4\u540e\u9762\u7684php\u7b49\u7f16\u8bd1\u4f1a\u51fa\u9519\uff0c\u89e3\u51b3\u529e\u6cd5\u5c31\u662f\u66ff\u6362yum\u6e90\u4e3aCentOS\u5b98\u65b9\u6e90\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin-bottom: 10px; font-size: 13px; background: #ffffff; text-indent: 2em; color: #000000; font-family: 'Microsoft YaHei', \u5fae\u8f6f\u96c5\u9ed1, Arial, 'Lucida Grande', Tahoma, sans-serif; text-align: start; white-space: normal; border: 0px initial initial;\"><span style=\"background: transparent; color: #ff0000; border: 0px initial initial;\"><strong>\u81f3\u6b64\uff0cCentOS 7.x\u7f16\u8bd1\u5b89\u88c5Nginx1.10.3+MySQL5.7.16+PHP5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3\u591a\u7248\u672c\u5168\u80fd\u73af\u5883\u6559\u7a0b\u5b8c\u6210\u3002<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u7840\u77e5\u8bc6\uff1a \u51c6\u5907\u7bc7 \u4e00\u3001\u9632\u706b\u5899\u914d\u7f6e CentOS 7.x\u9ed8\u8ba4\u4f7f\u7528\u7684\u662ffirewall\u4f5c\u4e3a\u9632\u706b\u5899\uff0c\u8fd9\u91cc\u6539\u4e3aipt [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-3975","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/3975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3975"}],"version-history":[{"count":1,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/3975\/revisions"}],"predecessor-version":[{"id":4097,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/3975\/revisions\/4097"}],"wp:attachment":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}