[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php 编译选项一问?



On Fri, Aug 19, 2005 at 01:20:11AM +0800, "肖盛文(Faris Xiao)" wrote:
[snip]
> 
> 软件包 libapache2-mod-php4 是由
> http://packages.debian.org/stable/source/php4
> 编译生成的。
> 
> 我把源代码把下载下来后,没有发现有哪个文件记载了编译时使用的选项。
> 
打上下面这个 Debian 补丁
http://ftp.debian.org/debian/pool/main/p/php4/php4_4.3.10-15.diff.gz
编译参数就在 debian/rules 里

编译参数如下:
+
+COMMON_CONFIG=  --enable-memory-limit \
+		--disable-debug \
+		--with-regex=php \
+		--disable-rpath \
+		--disable-static \
+		--with-pic \
+		--with-layout=GNU \
+		--with-pear=/usr/share/php \
+		--enable-calendar \
+		--enable-sysvsem \
+		--enable-sysvshm \
+		--enable-sysvmsg \
+		--enable-track-vars \
+		--enable-trans-sid \
+		--enable-bcmath \
+		--with-bz2 \
+		--enable-ctype \
+		--with-db4 \
+		--with-iconv \
+		--enable-exif \
+		--enable-filepro \
+		--enable-ftp \
+		--with-gettext \
+		--enable-mbstring \
+		--with-pcre-regex=/usr \
+		--enable-shmop \
+		--enable-sockets \
+		--enable-wddx \
+		--disable-xml --with-expat-dir=/usr \
+		--with-xmlrpc \
+		--enable-yp \
+		--with-zlib \
+		--without-pgsql \
+		--with-kerberos=/usr \
+		--with-openssl=/usr \
+		--with-zip=/usr \
+		--enable-dbx \
+		--with-mime-magic=/usr/share/misc/file/magic.mime \
+		--with-exec-dir=/usr/lib/php4/libexec


-- 
 Best Regards,
 Carlos



Reply to: