摘要:
./configure–prefix=/usr/local/php php安装目录–with-apxs2=/usr/local/apache/bin/apxs–with-config-file-path=/usr/local/php/etc指定php.ini位置–with-mysql=/usr/local/mysqlmysql安装目录,对mysql的支持–with-mysqli=/usr/local/mysql/bin/mysql_configmysqli文件目录,优化支持–enable-safe-mode打开安全模式–enable-ftp打开ftp的支持–enable-zi... 阅读全文
posted @ 2012-01-02 13:50
鸡蛋的冬天
阅读(1387)
评论(0)
推荐(0)
摘要:
转自:http://www.koven.org/archives/centos-5-configure-error.html仅限于CentOS 5configure: error: No curses/termcap library found网上有的说法是:--with-named-curses-libs=/usr/lib/libncursesw.so.5其实是不对的,虽然能解决configure的错误,但是make的时候会提示错误,正确的做法应该是yum -y install ncurses-develdebian: apt-get install libncurses5-devconfi 阅读全文
posted @ 2012-01-02 12:58
鸡蛋的冬天
阅读(299)
评论(0)
推荐(0)
浙公网安备 33010602011771号