首頁 >後端開發 >php教程 >编译php的配置参数_PHP教程

编译php的配置参数_PHP教程

WBOY
WBOY原創
2016-07-21 14:52:50770瀏覽

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

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/371516.htmlTechArticlephp 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=...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn