|
|
OS--FreeBSD 5.0
安装mysql 4.0.20 用
./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gb2312 --with-extra-charsets=all --with-unix-socket-path=/usr/local/mysql/var/mysql.sock
make
make install
没任何错误,成功安装,也测试正常。
安装apache2.0.49 用
./configure --prefix=/usr/local/apache --enable-track-vars --enable-cgi --enable-so --with-config-file-path=/usr/local/apache/conf
make
make install
没任何错误发生,成功安装,测试了,一切正常。
安装php4.3.6 用
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --enable-force-cgi-redirect --with-config-file-path=/usr/local/apache/conf
出现如下错误:
.......
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/local/apache/bin/apxs follows:
./configure: /usr/local/apache/bin/apxs: not found
configure: error: Aborting
真是晕倒,明明/usr/local/apache/bin/有apxs,而且路径也没有错误却not found... 老大们帮忙吧,这个问题烦死我了。
thx先。 |
|