熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> PHP編程 >> 正文

編譯php的配置參數

2013-11-15 12:30:58  來源: PHP編程 

  php

  /configure PRefix=/home/raid/system/php
withMySQL=/home/raid/system/mysql/
withapxs=/home/raid/system/apache/bin/apxs
withgd withzlib
withfreetypedir=/usr/
withpngdir=/usr/
withjpegdir=/usr/
disableposix
enablememorylimit
enablezendmultibyte
withiconv
enableinlineoptimization
enablemagicquotes
enableftp
 

  php
 

  /configure prefix=/usr/local/php
withapxs=/usr/local/apache/bin/apxs
withiconv=/usr/local
enablembstring
withgd
withjpegdir=/usr/local
withpngdir=/usr/local
withfreetypedir=/usr/local
withttf enablegdnativettf
withzlibdir=/usr
withdom=/usr/local
withmysql=/usr/local
withldap=/usr/local
withcurl=/usr/local


From:http://tw.wingwit.com/Article/program/PHP/201311/21097.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.