linux下编译php的配置参数总结

王朝php·作者佚名  2008-05-21
窄屏简体版  字體: |||超大  

怕忘记, 记录再此. 这个两个服务器上的设置, 都只是参考. NZ9Linux联盟

NZ9Linux联盟

php 4.3.11 NZ9Linux联盟

NZ9Linux联盟

./configure --prefix=/home/raid/system/php NZ9Linux联盟

--with-mysql=/home/raid/system/mysql/ NZ9Linux联盟

--with-apxs=/home/raid/system/apache/bin/apxs NZ9Linux联盟

--with-gd --with-zlib NZ9Linux联盟

--with-freetype-dir=/usr/ NZ9Linux联盟

--with-png-dir=/usr/ NZ9Linux联盟

--with-jpeg-dir=/usr/ NZ9Linux联盟

--disable-posix NZ9Linux联盟

--enable-memory-limit NZ9Linux联盟

--enable-zend-multibyte NZ9Linux联盟

--with-iconv NZ9Linux联盟

--enable-inline-optimization NZ9Linux联盟

--enable-magic-quotes NZ9Linux联盟

--enable-ftp NZ9Linux联盟

NZ9Linux联盟

NZ9Linux联盟

NZ9Linux联盟

php 4.4.0 NZ9Linux联盟

NZ9Linux联盟

./configure --prefix=/usr/local/php NZ9Linux联盟

--with-apxs=/usr/local/apache/bin/apxs NZ9Linux联盟

--with-iconv=/usr/local NZ9Linux联盟

--enable-mbstring NZ9Linux联盟

--with-gd NZ9Linux联盟

--with-jpeg-dir=/usr/local NZ9Linux联盟

--with-png-dir=/usr/local NZ9Linux联盟

--with-freetype-dir=/usr/local NZ9Linux联盟

--with-ttf --enable-gd-native-ttf NZ9Linux联盟

--with-zlib-dir=/usr NZ9Linux联盟

--with-dom=/usr/local NZ9Linux联盟

--with-mysql=/usr/local NZ9Linux联盟

--with-ldap=/usr/local NZ9Linux联盟

--with-curl=/usr/local

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航