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

  • 相关阅读:
    帆软报表实现全选全不选的功能
    knowledge_others
    skills_kafka
    skills_operation
    problems_others
    skills_windows
    c语言标识符
    快速排序法
    字符串处理scanf("%d%*c",&n);
    Byte.parseByte(String s,int radix)的解释
  • 原文地址:https://www.cnblogs.com/eis13/p/5459024.html
Copyright © 2011-2022 走看看