Home  >  Article  >  Backend Development  >  php php+fpm安装配置

php php+fpm安装配置

WBOY
WBOYOriginal
2016-06-23 14:35:37979browse

                  <p class="sycode">                 sudo apt     -     get      install php5     -     cgi php5     -     mysql php5     -     fpm php5     -     curl php5     -     gd php5     -     idn php     -     pear php5     -     imagick php5     -     imap php5     -     mcrypt php5     -     mhash php5     -     ming php5     -     pspell php5     -     recode php5     -     snmp php5     -     tidy php5     -     xmlrpc php5     -     xsl                  </p>

打开 /etc/php5/fpm/php.ini 修改 cgi.fix_pathinfo=0

                  <p class="sycode">                 sudo      /     etc     /     init.d     /     php5     -     fpm start                  </p>

                  <p class="sycode">                 netstat      -     ntlp      |      grep      9000     killall php     -     cgisudo      /     etc     /     init.d     /     php5     -     fpm start                  </p>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn