`
wangguorui89
  • 浏览: 320244 次
  • 性别: Icon_minigender_1
  • 来自: 山西
社区版块
存档分类
最新评论

linux 安装php5.2时报configure: error: mysql configur的解决办法

阅读更多
configure: error: mysql configure failed. Please check config.log for more information.将编译的
root@localhost php-5.2.0]#./configure --prefix=/usr/local/php --with-apxs2=/usr/local/httpd/bin/apxs --with-gd=/usr/local/gd --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/usr/local/jpeg6 --with-png=/usr/local/lib --with-ttf --with-zlib=/usr/local/zlib --with-freetype-dir=/usr/local/freetype --enable-magic-quotes --with-mysql=/usr/local/mysql --with-mysql-sock=/usr/local/mysql/tmp/mysql.sock --with-iconv --with-mbstring --enable-mbstring --enable-track-vars --enable-force-cgi-redirect --enable-ftp --with-config-file-path=/usr/local/httpd/conf --with-pear=/usr/local/php/pear
中的mysql改成MySQL就可以了。
分享到:
评论

相关推荐

    CentOS下编译php时的一些典型错误及解决办法.

    11. configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore! 解决方法: yum install mysql-devel 此错误是由于缺少 mysql-devel 库文件所...

    libmount-2.32.tar.gz

    然而,当我们尝试编译和安装这个版本时,可能会遇到“configure: error: *** Could not find libmount”这样的错误提示,这通常是由于系统环境配置不完整或者依赖关系未满足所导致的。 首先,我们要明白“configure...

    gcc-4.9.4安装包

    在编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 要支持C++11,必须升级到gcc4.7以上。

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

    本篇文章将详细介绍如何在Linux系统下通过源码编译的方式安装Nginx,这个过程包括解压源码包、配置、编译以及安装等步骤。 首先,确保你的系统已经安装了必要的依赖包。在大多数Linux发行版中,安装这些依赖通常...

    PHP编译configure时常见错误的总结

    14. **错误:Configure: error: Cannot find MySQL header files** 这通常意味着MySQL开发库未安装。在CentOS上,可以运行`yum install mysql-devel`;在Debian系统中,使用`apt-get install libmysqlclient-dev`来...

    PHP错误Warning:mysql_query()解决方法

    本文主要针对PHP中出现的特定警告信息"Warning: mysql_query()..."进行探讨,并提供解决方案。 ### PHP Warning: mysql_query() 错误 在使用`mysql_query()`函数执行SQL查询时,如果遇到了“Access denied for ...

    Linux 开发板移植gdb

    开发板没有gdb,写程序老出错而且找不到问题在哪里。于是痛定思痛,决定移植一个gdb。 交叉编译器:arm-none-linux-gnueabi ...(3)./configure –host=arm-none-linux-gnueabi –prefix=$PWD/install –wi

    svn安装过程中遇到错误需要的文件包

    错误 configure: error: could not find library containing RSA_new: 错误 configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: ...

    apache2.4完整安装

    ### Apache2.4完整安装及解决configure: error: APR-util not found问题 #### 一、背景介绍 Apache HTTP Server(通常简称为Apache)是目前最流行的Web服务器软件之一,广泛应用于互联网上的各种网站和应用程序。...

    gcc_4.9.4_gcc+gmp+mpfr+mpc.tar.gz

    编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 原来是gcc版本太低了,我的版本是gcc version 4.6.3 想要支持C++11,必须升级到gcc4.8...

    suse系统ssh升级压缩包.tar

    本升级包中包含openssh-8.1p1.tar.gz openssl-1.1.1b.tar.gz zlib-1.2.11.tar.gz等3个源码资源包。

    device-mapper.1.02.28.tgz

    在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家

    编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法

    在Linux系统中,当尝试编译PHP以与MySQL数据库交互时,可能会遇到“configure error Cannot find libmysqlclient under /usr”的错误。这个问题通常出现在你尝试使用`./configure`脚本配置PHP源代码,并且系统中...

    Linphone编译错误及解决方法

    Linphone编译错误及解决方法 Linphone是一款开源的VoIP电话软件,但是在编译过程中经常会遇到各种错误。这些错误可能是由于缺少依赖项、头文件、库文件等原因引起的。在这里,我们将列举一些常见的Linphone编译...

    安装linux编译时报apr错误的解决方法

    在Linux环境中进行软件安装或系统配置时,遇到错误是常有的事。特别是在编译源代码安装软件时,可能会遇到各种依赖问题。本篇将详细解析如何解决在安装httpd(Apache HTTP服务器)过程中遇到的apr(Apache Portable ...

    Arm板Apache+PHP环境搭建

    3. 需要添加--cache=arm-linux.cache选项,并在arm-linux.cache文件中添加apr_cv_process_shared_works=yes和apr_cv_mutex_robus=yes选项。 八、总结 Arm板Apache+PHP环境搭建需要编译多个源码,包括pcre、apr、...

    Swoole扩展安装教程

    本文将详细讲解如何在Ubuntu系统上安装Swoole扩展,以便利用其特性进行TCP和WebSocket通信。 首先,为了安装Swoole,你需要确保系统中已经安装了PHP和PHP的开发环境。在Ubuntu系统上,这通常意味着安装`php7`和`...

    mysql安装缺失库解决办法

    提供的压缩包文件"mysql安装缺失库解决办法"可能包含了用于解决此问题的特定库文件或工具。解压并按照其中的说明进行操作,通常可以快速解决这个问题。 总之,处理MySQL安装中“vcruntime140.dll”缺失的问题需要对...

    linux下编译安装libcurl(附使用示例)1

    这篇教程将详细介绍如何在Linux系统中编译和安装libcurl库,并给出一个简单的使用示例。 首先,你需要获取libcurl的源代码。可以通过Git克隆libcurl的官方仓库来完成: ```bash git clone ...

Global site tag (gtag.js) - Google Analytics