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

PHP
新手入门:学习掌握动态网页PHP的编程语句
PHP建设论坛:Discuz!论坛快速架设指南
理解动态网页技术PHP与数组的应用
PHP初学:实例详细学习PHP的简单语法
PHP实例:PHP生成带有雪花背景的网站验证码
PHP网站开发中关于包含路径问题的解决方案
用PHP实现网页开发中的翻页跳转
用PHP程序实现随机广告图片显示
如何使PHP文件与HTML代码更好的分离
PHP关于代码转换问题比较完善的解决办法
新手如何使用PHP创建RSS阅读器
用PHP程序为自己网站打造一个搜索引擎
PHP实现文件安全下载的程序
快速掌握MySQL数据库中SELECT语句
用javascript+php随机显示图片
论Web 2.0 时代PHP的地位
用动态网页技术PHP打造个人网站全攻略
问题解决:无法载入MYSQL扩展,请检查PHP配置
新手入门:PHP网站开发中常见问题汇总
用PHP程序实现删除目录的三种方法实例

PHP 中的 编译php的配置参数


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