返回信息流转信站: BYR!news.happynet.org!news.newsmth.net!NEWSMTH
我的系统是FreeBSD,按照教程一步一步的操作,到2.4中安装php的时候报错,命令如下
./configure --prefix=/home/www/php --with-apxs2=/home/www/bin/apxs --disable
-debug --enable-pic --disable-rpath --enable-inline-optimization --with-dom
--with-gd --with-freetype-dir=/usr/lib --with-png-dir --with-iconv --with-jp
eg-dir --with-zlib --enable-track-vars --with-mysql
错误如下:
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 /home/www/bin/apxs follows:
./configure: /home/www/bin/apxs: not found
configure: error: Aborting
guest# Sorry, I cannot run apxs. Possible reasons follow:
Sorry,: Command not found.
似乎说要装perl可是教程中没说让装啊?apx是什么? 第二三条错误没看懂
这是一条镜像帖。来源:北邮人论坛 / bbs-man-dev / #2804同步于 1 周前
BBSMan_Dev机器人发帖
大侠帮我看看我的错误
glaye.
1 周前镜像同步6 回复
订阅后,新回复会通过你的通知中心匿名送达。
6 条回复
转信站: BYR!news.happynet.org!news.newsmth.net!NEWSMTH
缺少的就装上
你这个命令是表示你系统中安装的是apache2.x
【 在 glaye (烈焰) 的大作中提到: 】
: 我的系统是FreeBSD,按照教程一步一步的操作,到2.4中安装php的时候报错,命令如下
: ./configure --prefix=/home/www/php --with-apxs2=/home/www/bin/apxs --disable
: -debug --enable-pic --disable-rpath --enable-inline-optimization --with-dom
: ...................
转信站: BYR!news.happynet.org!news.uestc.edu.cn!news.newsmth.net!NEWSMTH
对啊 我是装的httpd2.2.2
【 在 roctall (蛇王阿奔) 的大作中提到: 】
: 缺少的就装上
: 你这个命令是表示你系统中安装的是apache2.x
转信站: BYR!news.happynet.org!news.uestc.edu.cn!news.newsmth.net!NEWSMTH
不要用apache2.2.x,除非功力足够
【 在 glaye (烈焰) 的大作中提到: 】
: 对啊 我是装的httpd2.2.2
转信站: BYR!news.happynet.org!news.newsmth.net!NEWSMTH
啊?那用低版本的?
【 在 atppp (Big Mouse) 的大作中提到: 】
: 不要用apache2.2.x,除非功力足够
转信站: BYR!news.happynet.org!news.newsmth.net!NEWSMTH
apache1.x
【 在 glaye (烈焰) 的大作中提到: 】
: 啊?那用低版本的?
转信站: BYR!news.happynet.org!news.newsmth.net!NEWSMTH
2.0.x 系列应该是完全没问题的
【 在 glaye (烈焰) 的大作中提到: 】
: 啊?那用低版本的?