安装PHP会出现的错误

错误1:configure: error: xml2-config not found. Please check your libxml2 installation.

解决:yum install -y libxml2-devel

错误2:configure: error: Cannot find OpenSSL‘s <evp.h>

解决:yum install -y openssl openssl-devel

错误3:checking for BZip2 in default path... not found
   configure: error: Please reinstall the BZip2 distribution

解决:yum install -y bzip2 bzip2-devel

错误4:configure: error: png.h not found.

解决:yum install -y libpng libpng-devel

错误5:configure: error: freetype.h not found

解决:yum install -y freetype freetype-devel

错误6:configure: error: jpeglib.h not found.

解决:yum install -y libjpeg-devel

错误7:configure: error: png.h not found.

解决:yum install -y libpng libpng-devel

错误8:configure: error: mcrypt.h not found. Please reinstall libmcrypt.

解决:rpm -ivh "http://www.aminglinux.com/bbs/data/attachment/forum/month_1211/epel-release-6-7.noarch.rpm"
    yum install -y  libmcrypt-devel

时间: 2024-08-26 12:37:49

安装PHP会出现的错误的相关文章

centos yum安装ftp 及解决vsftp错误500 OOPS: cannot change directory:/home/**

centos yum安装ftp 及解决vsftp错误500 OOPS: cannot changedirectory:/home/**   1.查看服务器有没有安装ftp包 rpm -qa |grep vsftp 2.yum  安装 yum -y install vsftpd 3.启动vsftp的服务 service vsftpd start 4.关闭防火墙 service iptables stop 5.测试匿名访问 修改配置文件 vsftpd.conf [[email protected]

安装SQLserver2008时出现的错误

1.SQLserver2008提示必须重启计算机才可以继续安装,解决方法如下: 在开始->运行中输入regedit,到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager 位置,在右边窗口右击PendingFileRenameOperations,选择删除,然后确认,然后重新运行 2.SQLserver2008提示防火墙警告: 打开网络连接,关闭防火墙即可 3.提示.framework警告: 这个警告的原因是你没有

linux安装php出现的各种错误解决方案

configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information. -------------------------------------------------------------- 解决方案:下载zlib 安装解压缩zlib 然后在后面的参数加上 --with-zlib ./configure --prefix=/usr/local/php --with-

子进程 已安装 pre-removal 脚本 返回了错误号 1或2 与 子进程 已安装 post-installation 脚本 返回了错误号 1或2

今天在ubuntu kylin上安装了virtualbox, 后来我想删除了再装个新一点的,结果正常的情况下删除不了,我就把找到的virtualbox的目录全部都删除了, 再通过apt-get remove等命令就删除不了了,出现标题所示的错误 子进程 已安装 pre-removal 脚本 返回了错误号 1 在网上找了一圈,费了好大的劲才找到以下的解决方案,记录一下, http://www.xuebuyuan.com/2153374.html sudo gedit /var/lib/dpkg/s

安装loadrunner11 ,出现如下错误如何解决?

出现的问题是: 安装LoadRunner 11时弹窗提示"Micosoft Visual C++ 2005 SP1 可再发行组件包(X86):'命令行选项语法错误.键入命令 / ? 可获得帮助信息'".或者弹窗提示"此计算机缺少 vc2005_sp1_with_atl_fix_redist,请安装所有缺少的必要组件,然后重新运行此安装". http://jingyan.baidu.com/article/915fc414fc60fc51394b20fa.html 这

Windows 安装启动apache时出现错误的解决方法

配置安装Apache主服务发生错误:(OS 5)拒绝访问.  : AH00369: Failed to open the Windows service manager, perhaps you forgot to log in as Adminstrator? 具体情况: 在配置安装Apache的时候,我下载的是zip格式,不是msi安装版,需要自己注册服务,才能在桌面任务栏里有httpd的图标. 结果在cmd命令行里输入安装服务命令的时候出错,出错信息界面如下: 错误信息提示我没有用管理员身

CentOS6.2上安装Oracle10g报ins_emdb.mk错误处理方法

oracle安装过程报ins_emdb.mk错误,此时继续点击“continue”即可,待Oracle完成安装后,再手工执行相应脚本完成链接即可 在CentOS6.2操作系统上,安装Oracle10g时,报如下错误: 根据提示查看日志,并没发现帮助信息,如下所示: 复制代码代码如下: [[email protected] ~]# tail -f /u01/app/oracle/oraInventory/logs/installActions2014-09-20_02-43-00PM.log IN

mysql安装完成后登入错误

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 解决: 1.先停止mysql服务,命令如下: #/etc/init.d/mysql stop 2.重新启动服务,命令如下: #  /etc/init.d/mysql stop#  mysqld_safe --user=mysql --skip-grant-tables --skip-networking & 3.登入mysql并修

windows linux 下安装mysql 报1045 等错误

曾经在windows 下安装mysql 没怎么出现过问题.而在linux下安装的时候出现了一些问题,昨天在windows 安装的时候也出现了1045 错误.就个人经历来看这个问题就是 root用户password的问题,所以将解决的方式总结例如以下: 一.mysql登录报 1045 错误 mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (us

解决:yum安装软件包Transaction Check Error错误

解决:yum安装软件包Transaction Check Error错误 yum(YellowdogUpdater,Modified)是软件包管理工具,就不多说了.错误产生的环境:OS:CentOS release 6.5 (Final)uname -r:2.6.32-431.el6.x86_64 在yum安装gnaglia时遇到的,具体错误如下: Transaction Check Error: Transaction Check Error:   file /usr/lib64/gangli