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,个人习惯,可以不安装, 那么 ...
随机推荐
- 测试面试必会sql(1)
测试一般各种查询语句用的较多,下面的查询语句都是需要熟悉的 Course表 Score表 Student表 Teacher表 1,查询课程编号为“02”的总成绩 SELECT * FROM `Scor ...
- 自己动手做AI:Google AIY开发工具包解析
2018年国际消费性电子展(CES)上,最明显的一个趋势是Amazon与Google的语音技术进驻战,如AmazonAlexa进驻到Acer笔电内,Google Assist进驻到KIA汽车内,其他如 ...
- 模拟IDE上的run过程
看了一下老陈写的模仿JDK动态代理,从中取一部分单独扩展,模拟一下IDE上的run过程(不愧是老陈,去年写的东西我要现在才能理解) 对run过程的猜想 在点击run的过程中应该做了不少事.先编译运行r ...
- nodejs express 加载html模板
在nodejs中如使用express框架,她默认的是ejs和jade渲染模板.由于我在使用的时候觉得她的代码书写方式很不爽还是想用html的形式去书写,于是我找了使用了html模板. 直接上代码,主要 ...
- openstack-r版(rocky)搭建基于centos7.4 的openstack swift对象存储服务 一
openstack-r版(rocky)搭建基于centos7.4 的openstack swift对象存储服务 一 openstack-r版(rocky)搭建基于centos7.4 的openstac ...
- 建立 Python 虚拟环境
1.1 安装依赖包 $ yum -y install wget gcc epel-release git 1.2 安装 Python3.6和pip $ yum -y install python36 ...
- python sys.argv是什么?
1.sys.argv 是获取运行python文件的时候命令行参数,且以list形式存储参数 2.sys.argv[0] 代表当前module的名字 下面的代码文件是a.py,当我不用IDE工具,只用命 ...
- 【Python入门总结】
用了两周时间将python的基本语法和模块过了一遍,alex的视频也简单看了下;并且在项目中直接上了python解析语义的实现,初步感觉到了python语言的魅力.下一步,会按照廖雪峰的python学 ...
- java-sun.misc.BASE64Decode AccessException
在使用sun.misc中base64类时,eclipse可能会报找不到Access异常 只需要修改一下访问方式即可,如下: 右键项目->属性->Javabulid path->jre ...
- Coin Game
Problem Description After hh has learned how to play Nim game, he begins to try another coin game wh ...