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

PHP
一个多文件上传的例子(原创)
PHP的FTP学习(一)[转自奥索]
PHP - Html Transfer Code
新浪新闻小偷
一棵php的类树(支持无限分类)
PHP邮件专题
我常用的几个类
利用PHP创建动态图像
5.PHP的其他功能
用定制的PHP应用程序来获取Web服务器的状态信息
用PHP编写PDF文档生成器
一次编写,随处运行
PHP 中的一些经验积累
最小化数据传输:在客户端存储数据
综合图片计数器
模拟OICQ的实现思路和核心程序(一)
基于文本的留言簿
PHP的FTP学习(一)
杏林同学录(四)
我的论坛源代码(六)

PHP 中的 编译php的配置参数


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 144 ::
收藏到网摘: 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