找回密码
 注册
查看: 380|回复: 3

编译APACHE时错误,求助

[复制链接]
发表于 2003-6-26 20:18:59 | 显示全部楼层 |阅读模式
本在配制PHP平台中制APACHE时遇到正面错误
[root@localhost php-4.3.2]# ./configure --prefix=/usr/local/php --with-apxs=/u/local/apache/bin/apxs --with-config-file-path=/usr/local/lib --enable-track-vars --with-xml --with-mysql
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking flex version... 2.5.4 (ok)
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2.  Please use the appropiate switch --with-apxs2

不知应该如何操作.我的系统时red hat 9.0
发表于 2003-6-27 03:20:13 | 显示全部楼层
while your server is Apache 2. Please use the appropiate switch --with-apxs2
    
回复

使用道具 举报

 楼主| 发表于 2003-6-27 09:00:20 | 显示全部楼层
关键是我不知道如何打开appropiate switch --with-apxs2
回复

使用道具 举报

发表于 2003-6-27 09:18:04 | 显示全部楼层
在configure 编译时加上 --with-apxs2
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-3-3 19:33 , Processed in 0.026954 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表