zoukankan      html  css  js  c++  java
  • php-fpm

    install php-fpm

    # Ubuntu
    sudo apt-get install python-software-properties;
    sudo add-apt-repository ppa:ondrej/php5-5.6;
    sudo apt-get update;
    sudo apt-get install php5-fpm php5-cli php5-curl 
    php5-gd php5-json php5-mcrypt php5-mysqlnd;
    # CentOS
    sudo rpm -Uvh 
    http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm;
    sudo rpm -Uvh 
    http://rpms.famillecollet.com/enterprise/remi-release-7.rpm;
    sudo yum -y --enablerepo=epel,remi,remi-php56 install php-fpm php-cli php-gd 
    php-mbstring php-mcrypt php-mysqlnd php-opcache php-pdo php-devel;

    global config

    On Ubuntu, the primary PHP-FPM cofiguration file is /etc/php5/fpm/php-fpm.conf.
    On CentOS, the primary PHP-FPM configuration file is /etc/php-fpm.conf.

    emergency_restart_threshold = 10
    emergency_restart_interval = 1m

    pool config

    include=/etc/php5/fpm/pool.d/*.conf      //pool 目录定义
    include=/etc/php-fpm.d/*.conf
  • 相关阅读:
    student
    super
    java 浮点数
    视图
    日期转换函数
    左外连接,右外连接,全外连接,自然连接,自连接区别
    Python中sys.argv[ ]的用法
    0 Scala
    统计字符串字符个数
    3个链表排序整合到一起
  • 原文地址:https://www.cnblogs.com/fenle/p/5213754.html
Copyright © 2011-2022 走看看