當前位置:才華齋>計算機>php語言>

編譯php的配置引數實

php語言 閱讀(2.01W)

導語:編譯php的配置引數,你學會了嗎?下面的`是本站小編為大家蒐集的編譯php的配置引數例項,希望能對你有所幫助。

編譯php的配置引數實

./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