【求助】我如何在PHP compile過後,再加入--enable-sockets?



贊助商連結


kevic
2003-11-10, 06:02 PM
我是用Tarball make install的。
以下是我的phpinfo(); Configure Command

'./configure' '--prefix=/usr/local/php4' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-config-file-path=/usr/local/php4' '--with-mssql=/usr/local/freetds' '--with-sybase=/usr/local/freetds' '--enable-ftp' '--enable-track-vars' '--enable-trans-sid' '--enable-mbstring=tw' '--enable-static' '--enable-mbregex' '--with-zlib' '--enable-mbstring' '--enable-dio' '--enable-zend-multibyte'

我如何在PHP compile過後,再加入--enable-sockets?

謝謝幫助!:D

贊助商連結


repsol
2003-11-13, 02:45 PM
需要重新 configure 一次(加入--enable-sockets)的參數
重新 compile php 的 source code 一次才可以吧

bennyc
2003-11-13, 09:33 PM
順便把 --enable-cli 加入吧...這樣可以開啟 command line interface..