zoukankan      html  css  js  c++  java
  • 记一次PHP7的编译安装过程

    由于新项目用PHP7,但原来的机子里面用的是php5.6又不想删掉。为了二全之策只能编译安装了

    编译安装就是折腾啊。

    总之想好要的那些个功能扩展啥东西写上去。然后报啥错就baidu、google(得FQ哈) 缺啥呢就补啥

    好了,附上我所使用到的编译参数,留个纪念:

    ./configure  --prefix=/data/vagrant/svr/php7 
    --with-mysqli=mysqlnd 
    --with-pdo-mysql=mysqlnd 
    --enable-mysqlnd --enable-fpm 
    --enable-pdo 
    --enable-libxml 
    --enable-mbstring 
    --enable-mbregex  
    --without-pear 
    --without-cdb 
    --without-sqlite3 
    --without-pdo-sqlite  
    --without-fpm-acl 
    --without-litespeed 
    --enable-pcntl 
    --enable-ftp 
    --enable-soap 
    --enable-bcmath 
    -enable-debug 
    --enable-inline-optimization 
    --with-mcrypt=/usr 
    --with-iconv-dir=/usr 
    --with-freetype-dir=/usr 
    --with-openssl-dir=/usr 
    --with-openssl=/usr 
    --with-curl=/usr 
    --with-png-dir=/usr 
    --with-xpm-dir=/usr/ 
    --with-libxml-dir=/usr 
    --with-gd  
    --with-jpeg-dir=/usr 
    --enable-phpdbg     #因为是开发机,所以开了
    --enable-phpdbg-debug #因为是开发机,所以开了

    然后装要必要的

    redis, memcached, xdebug

    结束。

  • 相关阅读:
    invokerequied
    C#如何用正则表达式截取https和带端口的域名
    flex datagrid combox
    java webservice
    Flexlib 控件 http://code.google.com/p/flexlib/
    Git使用
    转:Vim常用命令
    转:oracle连接查询
    Axis2 spring发布WebService
    oracle jdbc example 示例
  • 原文地址:https://www.cnblogs.com/tywei/p/5780204.html
Copyright © 2011-2022 走看看