linux 下php 的安装及配置
来源:互联网 发布:航天开票系统数据导出 编辑:程序博客网 时间:2024/05/19 09:01
1. libxml 的安装
下载libxml的源码包, http://www.xmlsoft.org/downloads.html, 由于源码包里包含的是configure.in和makefile.am ,所以需要一下工具
安装libtool , 命令如下 sudo apt-get install libtool
安装autoconf, 命令如下: sudo apt-get install autoconf
执行如下命令
libtoolize
aclocal -I /usr/share/aclocal-1.11/
autoheader
autoconf
automake --add-missing
./configure --prefix=/usr/local/libxml
make
make install
至此libxml 安装完成.
2. php 的安装
下载php 的源码包,http://php.net/downloads.php
#tar zvxf php-5.3.8.tar.gz #cd php-5.3.8#./configure \ --prefix=/usr/local/php \ --with-mysql=/usr \ (我是用apt-get的方式安装的,所以目录为/usr)--with-apxs=/usr/local/apache2/bin/apxs2 \--with-libxml-dir=/usr/ local/libxml2#make #make install
3. apache 的配置
参考文章: http://www.cnblogs.com/fly1988happy/archive/2011/12/14/2288096.html
- linux 下php 的安装及配置
- Linux下PHP的安装配置
- Linux 下Apache+MySQL+PHP安装及配置过程
- linux 下 apache php-cgi 安装及配置
- linux 下 apache php-cgi 安装及配置
- linux下jdk的安装及配置
- linux下myslq的安装及配置
- Linux下vsftp的安装及配置
- LINUX下JBOSS的安装及配置
- Linux下Jenkins的安装及配置
- LINUX下JBOSS的安装及配置
- linux下NFS的安装及配置
- linux下vsftpd的安装及配置
- Linux下redis的安装及配置.
- linux下vsftpd的安装及配置
- Linux下vsftp的安装及配置
- Linux 系统下sphinx的安装及php扩展的配置流程
- Linux环境下的PHP环境的安装及配置—-LAMP
- Win32汇编数据对齐相关的伪指令(ALIGN、EVEN、ORG)
- 保持前行,珍惜磨难
- 理解小波消失矩
- JAVA 单例模式实现-整理
- 07-EasyUI_layout的引入
- linux 下php 的安装及配置
- 494 - Kindergarten Counting Game
- 接口技术原理
- 手机设计11
- Error: L6218E: Undefined symbol GUI_TOUCH_X_ActivateX (referred from gui_touch_driveranalog.o)
- leetcode Interleaving String
- Java布局管理器
- windows下的host文件在哪里,有什么作用?
- 最大流