zoukankan      html  css  js  c++  java
  • php7 install script

    ./configure --prefix=/home/admin/local/php7 --with-gd=/home/admin/local/libgd-2.1.1/ --with-jpeg-dir=/home/admin/local/jpeg/ --w
    ith-png-dir=/home/admin/local/libpng/ --with-freetype-dir=/home/admin/local/freetype/ --with-pdo-mysql=/home/admin/local/mysql/ -
    -with-config-file-path=/home/admin/local/php7/etc --with-libxml-dir=/home/admin/local/libxml2/ --enable-fpm --with-pcre-dir=/home
    /admin/local/pcre/ --enable-mbstring --enable-pcntl --enable-mysqlnd --with-xpm-dir=/usr/lib64/
    

    /home/admin/soft/php-7.0.5/ext/gd/gd.c:57:22: error: X11/xpm.h: No such file or directory

    make: *** [ext/gd/gd.lo] Error 1

     

    sudo yum install libXpm-devel.x86_64

    rpm -ql libXpm

    append this " --with-xpm-dir=/usr/lib64/"  to install php configure

    install memcached 

     error: ext/standard/php_smart_str.h: No such file or directory 

     

     

     

     

     

     

     

  • 相关阅读:
    ado.net
    sql基础
    css样式
    HTML基础加强
    socket网络编程
    网络聊天室
    多线程
    WinForm基础
    使用Maven插件(plugin)MyBatis Generator逆向工程
    SpringBoot使用thymeleaf时候遇到无法渲染问题(404/500)
  • 原文地址:https://www.cnblogs.com/allenhaozi/p/5356036.html
Copyright © 2011-2022 走看看