centos 6.5 web service模式 系统 安装php
1 首先是坚持libxml2出问题,提示如下:
checking for xml2-config path... /home/www/thirdlib/libxml2/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.
解决如下:
shell > yum -y install libxml2-devel
把安装命令中的 --with-libxml-dir=/home/www/thirdlib/libxml2 改成 --with-libxml-dir=/usr ,因为默认把libxml2-devel安装在了/user里了
2 没安装xpm,重新安装 yum -y install ....
3 报错 configure: error: freetype.h not found.
yum install freetype-devel
下面是安装命令行
./configure --prefix=/home/www/php
--with-config-file-path=/home/www/php/etc
--with-mysql=/home/www/mysql
--with-mysqli=/home/www/mysql/bin/mysql_config
--with-zlib=/home/www/thirdlib/zlib
--with-libxml-dir=/usr --with-pcre-dir=/home/www/thirdlib/pcre
--with-jpeg-dir=/home/www/thirdlib/jpeg
--with-png-dir=/home/www/thirdlib/libpng
--with-freetype-dir=/home/www/thirdlib/freetype
--with-gd=/home/www/thirdlib/gd2
--with-openssl=/home/www/thirdlib/openssl
--with-mcrypt=/home/www/thirdlib/libmcrypt
--with-mhash=/home/www/thirdlib/mhash
--with-xpm-dir=/usr/lib64
--enable-fpm
--enable-mbstring
--enable-xml
--enable-soap
--enable-sockets
--enable-zip
--without-sqlite3
--without-pear
--without-pdo-sqlite
--without-cdb
最终安装成功的命令行:
./configure --prefix=/home/www/php --with-config-file-path=/home/www/php/etc --with-mysql=/home/www/mysql --with-mysqli=/home/www/mysql/bin/mysql_config --with-zlib=/home/www/thirdlib/zlib --with-libxml-dir=/usr --with-pcre-dir=/home/www/thirdlib/pcre --with-jpeg-dir=/home/www/thirdlib/jpeg --with-png-dir=/home/www/thirdlib/libpng --with-freetype-dir=/home/www/thirdlib/freetype --with-gd=/home/www/thirdlib/gd2 --with-openssl=/home/www/thirdlib/openssl --with-mcrypt=/home/www/thirdlib/libmcrypt --with-mhash=/home/www/thirdlib/mhash --with-xpm-dir=/usr/lib64 --enable-fpm --enable-mbstring --enable-xml --enable-soap --enable-sockets --enable-zip --without-sqlite3 --without-pear --without-pdo-sqlite --without-cdb
4 安装扩展库curl提示没有 autoconf, yum install autoconf后解决
5 安装curl扩展
单独一节讨论
6 安装ssh2 库ssh2-0.11.0.tgz
yum install libssh2-devel
./configure --with-php-config=/home/www/php/bin/php-config
phpize。。。
centos 6.5 web service模式 系统 安装php的更多相关文章
- 使用Web Service进行网络编程-----Web Service简介
Android应用通常都是运行在手机平台上,手机系统的硬件资源是有限的,不管是存储能力还是计算能力都是有限的,在Android系统上开发.运行一些单用户.小型应用是可能的,但对于需要进行大量的数据处理 ...
- 怎样创建.NET Web Service http://blog.csdn.net/xiaoxiaohai123/article/details/1546941
为什么需要Web Service 在通过internet网购买商品后,你可能对配送方式感到迷惑不解.经常的情况是因配送问题找配送公司而消耗你的大量时间,对于配送公司而言这也不是一项增值服务. 为了解决 ...
- 基于服务(Web Service)的文件管理Winform客户端实现(二)
上一篇主要介绍文件管理服务有哪些方法,实现了哪些功能. 基于服务(Web Service)的文件管理Winform客户端实现(一) 本篇将根据文件服务服务实现Winform客户端设计.开发. 3. ...
- 怎样封装RESTful Web Service
所谓Web Service是一个平台独立的,低耦合的.自包括的.可编程的Web应用程序.有了Web Service异构系统之间就能够通过XML或JSON来交换数据,这样就能够用于开发分布式的互操作的应 ...
- 如何封装RESTful Web Service
所谓Web Service是一个平台独立的,低耦合的,自包含的.可编程的Web应用程序,有了Web Service异构系统之间就可以通过XML或JSON来交换数据,这样就可以用于开发分布式的互操作的应 ...
- 进入除错模式!进入此模式后,将会出现更多的选项,分别是: · 以基本图形介面安装 CentOS 7 (使用标准显卡来设定安装流程图示); · 救援Centos系统; · 执行内存测试(Run a memory test);
Centos 7.3 安装 0.0392017.07.14 20:12:09字数 1550阅读 985 Centos 7.3 基于 Red Hat 企业版的源代码的最新版本的 CentOS 7 在今年 ...
- CentOS Linux 系统 安装oracle 11g
CentOS Linux 系统 安装oracle 11g 在Linux系统上安装oracle是比较麻烦,需要配置各种变量啥的,o(︶︿︶)o ,但是没办法,有些东西你总的去接触,而且接触理解的越早越深 ...
- 深入学习Web Service系列----异步开发模式
概述 在本篇随笔中,通过一些简单的示例来说一下Web Service中的异步调用模式.调用Web Service方法有两种方式,同步调用和异步调用.同步调用是程序继续执行前等候调用的完成,而异步调用在 ...
- Centos 7 64位 minimal 最小化安装的系统中静默安装oracle 11g r2
1:安装好centos 7 操作系统: 虚拟机安装centos 7,在vmware中一步步来就可以成功. 2:安装vim 最小化安装的系统只有vi编辑器,这里装一下vim,个人习惯,可以不安装, 那么 ...
随机推荐
- 前端--javaScript之BOM和DOM
BOM和DOM概述 BOM(Browser Object Model):是指浏览器对象模型,它使js有能力和浏览器进行"对话". DOM(Document Object Model ...
- CentOS7.2安装mysql-5.7.19多实例
安装多实例之前首先需要先安装mysql,这里就不介绍如何安装mysql了,参考前面的博客:https://www.cnblogs.com/hei-ma/p/9505509.html 安装多实例之前需要 ...
- Phaser游戏框架与HTML Dom元素之间的通信交互
本想按照PHASER的HTML Dom元素官方实例:http://labs.phaser.io/index.html?dir=game%20objects/dom%20element/&q= ...
- Raft 一致性协议算法 《In search of an Understandable Consensus Algorithm (Extended Version)》
<In search of an Understandable Consensus Algorithm (Extended Version)> Raft是一种用于管理日志复制的一致性算 ...
- 存储过程关于LOOP循环问题
本随笔文章,由个人博客(鸟不拉屎)转移至博客园 发布时间: 2018 年 10 月 17 日 原地址:https://niaobulashi.com/archives/procedures_loop. ...
- Vue.js项目中,当图片无法显示时则显示默认图片
使用require将图片进入,写法如下: data: () => ({logo: 'this.src="' + require('../assets/img.png') + '&quo ...
- Java基础知识:Java实现Map集合二级联动2
2. 定义获取省份的方法,创建一个Map集合,将上一步得到的映射集合赋值给它,使用Map集合的keySet()方法获取该集合中的所有键对象组成的Set 集合,即为省分集合,创建一个Object型一维数 ...
- 【ZABBIX】SNMPtrap实现主动监控的原理与安装配置
工欲善其事,必先利其器.作为一款强大的开源软件,Zabbix号称“Monitor Everything”,其所依赖的,很大程度上便是SNMP的数据采集支持.SNMP 协议是用来管理设备的协议,目前SN ...
- centos 6.5 双网卡 上网 virtualbox nat hostonly
虚拟机两张网卡:分别调成NAT(eth0)和host only(eht1)模式. nat的网卡不用设置,host only网卡调为(vi /etc/sysconfig/network-scripts/ ...
- java面向对象的有序数组和无序数组的比较
package aa; class Array{ //定义一个有序数组 private long[] a; //定义数组长度 private int nElems; //构造函数初始化 public ...