• 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

  • 相关阅读:
    day01
    day02
    Linux安装Redis、PHP安装Redis扩展模块
    数据类型
    Redis常用命令
    Redis高级实用特性
    php操作redis案例
    (转)java二维数组的深度学习(静态与动态)
    java二维数组学习(转)
    java一维数组学习
  • 原文地址:https://www.cnblogs.com/assion/p/8001231.html
Copyright © 2020-2023  润新知