当前位置: 首页 > 图文教程 > 网络编程 > PHP > 编译php的配置参数

PHP
仅用PHP4 Session实现的迷你购物篮(一)
仅用PHP4 Session实现的迷你购物篮(二)
MySQL数据导入与导出之二
实例学习PHP之FastTemplate 模板篇
PHP4调用自己编写的COM组件
简单的页面缓冲技术(一)
简单的页面缓冲技术(二)
简单的页面缓冲技术(三)
用Socket发送电子邮件(一)
用Socket发送电子邮件(二)
PHP/MySQL 购物车
介绍几个array库的新函数
一个用PHP实现的UBB类!
免费主页管理程序2.3(一)
在Linux下安装显卡驱动程序
用PHP发送有附件的电子邮件
PHP的十个高级技巧(上)
PHP的十个高级技巧(中)
PHP的十个高级技巧(下)
实例学习PHP之投票程序篇(二)

PHP 中的 编译php的配置参数


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 96 ::
收藏到网摘: n/a

 

怕忘记, 记录再此. 这个两个服务器上的设置, 都只是参考.

php 4.3.11

./configure --prefix=/home/raid/system/php
--with-mysql=/home/raid/system/mysql/
--with-apxs=/home/raid/system/apache/bin/apxs
--with-gd --with-zlib
--with-freetype-dir=/usr/
--with-png-dir=/usr/
--with-jpeg-dir=/usr/
--disable-posix
--enable-memory-limit
--enable-zend-multibyte
--with-iconv
--enable-inline-optimization
--enable-magic-quotes
--enable-ftp

 

php 4.4.0

./configure --prefix=/usr/local/php
--with-apxs=/usr/local/apache/bin/apxs
--with-iconv=/usr/local
--enable-mbstring
--with-gd
--with-jpeg-dir=/usr/local
--with-png-dir=/usr/local
--with-freetype-dir=/usr/local
--with-ttf --enable-gd-native-ttf
--with-zlib-dir=/usr
--with-dom=/usr/local
--with-mysql=/usr/local
--with-ldap=/usr/local
--with-curl=/usr/local