zoukankan      html  css  js  c++  java
  • 在linux上安装php5.6版本提示GD2版本要高于2.1.0解决

    错误详情:

    错误分析:

    像问题描述的那样,在相应文件夹里面没有找到对应的扩展,我进入对应文件查看,果然没有;

    然后我查找了一下:

    这不还是在里面的么?

    但是:

    版本确实低了;

    解决办法:

    其实php的源码包里面就有gd的扩展,不要指定路径就可以搞定了!

    ./configure --prefix=/usr/local/php/ 

    --with-config-file-path=/usr/local/php/etc/ 

    --with-apxs2=/usr/local/apache2/bin/apxs

    --with-mysql=/usr/local/mysql/

    --with-libxml-dir=/usr/local/libxml2/

    --with-jpeg-dir=/usr/local/jpeg6/

    --with-png-dir=/usr/local/libpng/

    --with-freetype-dir=/usr/local/freetype/

    --with-gd

    --with-mcrypt=/usr/local/libmcrypt/ 

    --with-mysqli=/usr/local/mysql/bin/mysql_config

    --enable-soap

    --enable-mbstring=all

    --enable-sockets  

    --without-pear

  • 相关阅读:
    information_schema
    面包屑路径导航
    mysql5.7.26安装
    菜单权限作为父权限
    权限控制到按钮
    二级菜单
    留言板和jq轮播图
    M商城
    表单
    w3c
  • 原文地址:https://www.cnblogs.com/eis13/p/5459024.html
Copyright © 2011-2022 走看看