zoukankan      html  css  js  c++  java
  • php环境安装

    [PHP]
    yum install libxml2-devel
    yum install gd-devel
    yum install libmcrypt-devel
    yum install libcurl-devel
    yum install openssl-devel
    yum install php-soap -y


    ./configure --prefix=/usr/local/php --enable-cli --enable-shared --with-libxml-dir --with-gd --with-openssl --enable-mbstring --with-mcrypt --with-mysqli --with-mysql --enable-opcache --enable-mysqlnd --enable-zip --with-zlib-dir --with-pdo-mysql --with-jpeg-dir --with-freetype-dir --with-curl --without-pdo-sqlite --without-sqlite3 --enable-fpm
    make & make install

    [Nginx]
    ./configure --prefix=/usr/local/nginx --without-http_memcached_module --user=nginx --group=nginx --with-http_stub_status_module --with-openssl=/usr/ --with-pcre=/usr/local/src/pcre-8.35
    make & make install

    [Yaf]
    /usr/local/php/bin/phpize
    ./configure --with-php-config=/usr/local/php/bin/php-config
    make && make install


    //最好放在extension的位置
    extension=yaf.so
    //在php.ini文件末尾放置
    [yaf]
    yaf.environ = product
    yaf.library = NULL
    yaf.cache_config = 0
    yaf.name_suffix = 1
    yaf.name_separator = ""
    yaf.forward_limit = 5
    yaf.use_namespace = 0
    yaf.use_spl_autoload = 0

  • 相关阅读:
    python中list的一种取值方式切片
    python之字典(Dictionary)
    表示数字
    自动收售货系统
    明明的随机数
    自守数
    等差数列
    计算字符个数
    字符统计
    Redraimen的走法
  • 原文地址:https://www.cnblogs.com/assion/p/8001231.html
Copyright © 2011-2022 走看看