由 随风飘来 在 07-11-2003 16:43 发表:
请大家帮忙看一下!!!
[root@squid php-4.3.1]# ./configure --with-apxs=/usr/local/apache_1.3.27/src/support/apxs
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for working sed... (cached) sed
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for ranlib... (cached) ranlib
checking whether ln -s works... (cached) yes
checking for gawk... (cached) gawk
checking for bison... (cached) bison -y
checking bison version... 1.35 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking flex version... 2.5.4 (ok)
checking for pthreads_cflags... (cached) -pthread
checking for pthreads_lib... (cached)
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache_1.3.27/src/support/apxs follows
./configure: /usr/local/apache_1.3.27/src/support/apxs: /usr/local/bin/perl: bad interpreter: No such file or directory
configure: error: Aborting
以上文件安装显示不知错在哪??
由 dancingpig 在 07-11-2003 16:52 发表:
Perl 没装
apache不能连接dso支持
apxs找不到
由 随风飘来 在 07-15-2003 12:39 发表:
根据你的提示我按装了如下:
mod_fastcgi-2.2.12.tar.gz
mod_perl-1.26.tar.gz
mod_ssl-2.8.8-1.3.24.tar.gz
openssl-0.9.6d.tar.gz
但是重启httpd 服务时显示:
[root@squid root]# /etc/rc.d/init.d/httpd start
/etc/rc.d/init.d/httpd: line 2: chkconfig:: command not found
/etc/rc.d/init.d/httpd: line 3: description:: command not found
[Tue Jul 15 12:38:35 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/etc/rc.d/init.d/httpd start: httpd started
当我输入下面测试php:
1<html>
2<body>
3
4
5
$myvar = "Hello World";
echo $myvar;
1
2
3
4</body>
5</html>
存盘为:index.html
再start httpd
结果在客户端上输入相应的地址可什么也没有?
由 dancingpig 在 07-16-2003 09:35 发表:
重新配置下apache,找对apxs的位置
使用ssl连接
由 hyoga 在 07-16-2003 09:37 发表:
回复: 根据你的提示我按装了如下:
> quote:
>
> * * *
>
> 最初由 随风飘来 发表
>
> 当我输入下面测试php:
>
>
1<html>
2>
3> <body>
4>
5>
6>
7> ```
8
9&gt;
10&gt; $myvar = "Hello World";
11&gt;
12&gt; echo $myvar;
13&gt;
14&gt;
>
>
>
>