最近准备新配置一个带php的web,系统是centos4.5,x86-64的,不同于普通的php编译,需要额外加一些参数配置来执行64位的执行库,如果按照默认编译行,就会出错。 php5的configure LDFLAGS="-L/usr/lib64 -L/lib64" ./configure --prefix=/usr/local/allblue/apps/php.5.2.5 --with-config-file-path=/usr/local/allblue/ap ps/php.5.2 --with-libdir=lib64 --with-openssl=/usr --with-mysql=/usr --with-mysqli --with-pdo-mysql=/usr --with-zlib=/usr --with-ttf =/usr --with-freetype-dir=/usr --disable-rpath --disable-ipv6 --enable-static --enable-roxen-zts --enable-track-vars --enable-force- cgi-redirect --with-gettext --enable-magic-quotes --enable-fastcgi --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-di r=/usr --enable-gd-native-ttf --with-xmlrpc --enable-zend-multibyte --enable-mbstring --enable-discard-path Parsed in 0.01 seconds |
|||
最新评论
1 年 15 周之前
1 年 15 周之前
1 年 15 周之前
1 年 26 周之前
1 年 26 周之前
1 年 46 周之前
2 年 6 周之前
2 年 7 周之前
2 年 35 周之前
2 年 38 周之前