`
wenjinglian
  • 浏览: 806477 次
  • 性别: Icon_minigender_1
  • 来自: 株洲->深圳
社区版块
存档分类
最新评论

源码安装php , ./configure无法通过:报错Note that the MySQL client library is not bundled an

php 
阅读更多

PHP 5.4 解决方案:

[root@localhost php-5.4.14]# whereis mysql mysql: /usr/bin/mysql /usr/lib/mysql /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz

 

 找不到mysql的安装路径的话可以。尝试一下方案。

 

可以试试  mysqlnd     php5.4貌似是支持的

 

 ./configure --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd 你的参数

--------------------------------我的方案-----------------------------------

 

./configure -prefix=/home/artuion/php --with-config-file-path=/home/artuion/php/etc --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-fastcgi --enable-fpm

 

转:http://tst.a9188.com/linux/265.html

分享到:
评论

相关推荐

    Linux 下 Nginx的安装:(解压,进入目录里面执行,./configure –-> make -> sudo make install)

    NULL 博文链接:https://jackroomage.iteye.com/blog/1687401

    nginx安装教程

    sudo ./configure sudo make sudo make install # 安装zlib库 cd /usr/local/src sudo wget http://zlib.net/zlib-1.2.11.tar.gz sudo tar -zxvf zlib-1.2.11.tar.gz cd zlib-1.2.11 sudo ./configure sudo make ...

    银河麒麟V10系统+飞腾CPU交叉编译OpenCV

    ./configure make –j8 make install 执行上述过程中make时可能会报错,错误结果如下 ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes] 194 | void pure...

    nginx-1.0.5最新稳定版

    状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: error: the HTTP gzip module requires the zlib ...

    arm-linux-gcc-4.3.2(交叉编译器)

    ding specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --target=arm-linux --...

    tcpdump源码(tcpdump-4.99.4.tar.gz)生成tcpdump

    tcpdump源码编译,需要多个部件的源码进行顺序编译而成。 m4-1.4.19.tar.gz flex-2.6.4.tar.gz ...tar xvf *.tar解压后,分别执行./configure 和make install(root执行),即可编译和安装好tcpdump

    nginx1.1.8离线内网安装所需依赖和安装包.zip 通过tar.gz形式安装 无需安装其他系统包

    nginx1.1.8在没有网络的内网安装 下载包里附有安装文档,一个四个包;nginx-1.8.0.tar.gz;openssl-1.0.2o.tar.gz;zlib-1.2.11.tar.gz;pcre-8.38.tar.gz 安装方便 无需其他系统包

    安装lamp报错信息及解决方法

    /use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find -lltdl /usr/bin/ld: cannot find -...

    qt 安装缺少包 version“Glibc_2.9” not fount

    (2) ./configure也就是说不能直接在在glibc-2.9这个目录中进行./configure,必须重新建立一个目录后并且进入后再在刚才的目录下进行./configure,例如就是重新建立了一个目录glibc_build 进入这个目录后/roo/programes...

    ubuntu下mpich源码安装包

    ubuntu下mpich的源码安装包,版本3.2。解压后cd到mpich-3.2根目录...如果./configure过程中仍有错,则先用以下指令安装3个编译器: sudo apt-get install gcc sudo apt-get install g++ sudo apt-get install gfortran

    httpd-2.4.41.rar

    源码编译:亲测有效! 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file ..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr

    ffmpeg 4.2.0和ffmpeg2.6.1,并有txt文档安装说明。./configure。亲测可用

    ffmpeg 4.2.0和ffmpeg2.6.1,并有txt文档安装说明。.configure。亲测可用

    apr-1.7.0.zip

    apache-http源码编译 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr

    apr-util-1.6.1.zip

    apache-http源码编译 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr

    ubuntu 工具源码和安装说明

    ubuntu 工具源码和安装说明. export PATH=$PATH:/usr/local/vim/bin tar xf ncurses_5.9.orig.tar.gz mv ncurses-5.9/ ncurses cd ncurses ./configure --prefix=/usr/local/ncurses --without-cxx make sudo make ...

    asterisk部署文档

    ./configure make make install make config cd .. Dahdi开启回音消除模块:编辑/etc/dahdi/modules 在末尾处添加Dahdi_echocan_mg2 yum install libxml2-devel ncurses-devel subversion doxygen texinfo yum ...

    gd-devel-2.0.35-11.el6.x86_64.rpm

    redhat 6.4 安装nginx可能会报错./configure: error: the HTTP image filter module requires the GD library. You can either do not enable the module or install the libraries. 此时需要安装gd gd-devel,需要...

    Android代码-Orfox

    Checks if the all requirements for the build are fine with:./mach configure Builds the repo with:./mach build Creates the apk in tor-browser/MOZ_OBJDIR/dist/fennec-38.0.en-US.android-arm.apk./mach ...

    php-5.6.29.tar.gz

    ./configure --prefix=/usr/local/php --exec-prefix=/usr/local/php --bindir=/usr/local/php/bin --sbindir=/usr/local/php/sbin --includedir=/usr/local/php/include --libdir=/usr/local/php/lib/php --mandir=...

    ./nginx: No such file or directory

    我用的是ubuntu18.04安装nginx 一般来说我们安装的nginx文件结构大致是这样的: 1. 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 2. 程序文件在/usr/sbin/nginx 3...

Global site tag (gtag.js) - Google Analytics