免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2727 | 回复: 14
打印 上一主题 下一主题

APACHE+PHP+MYSQL问题,请高手指教. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-08-13 16:41 |只看该作者 |倒序浏览
装的系统是REDHAT 8.0 .安装的时候已经装上自带的PHP和MYSQL软件包,但是架站的时候就是不支持PHP,MYSQL就更不用说.HTTPD.CONF里面没有加载PHP模块的那几条语句.
重新下载MYSQL和PHP的软件包安装全部报错,安装不上.
请高手指点.谢谢.(菜鸟一名)

论坛徽章:
1
巳蛇
日期:2014-12-29 11:22:41
2 [报告]
发表于 2003-08-13 17:32 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

看看精华区,文章总结全了

论坛徽章:
0
3 [报告]
发表于 2003-08-13 17:35 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

确认没有问题的话,PHP语句可以手动添加

论坛徽章:
0
4 [报告]
发表于 2003-08-13 21:48 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

手工添加后,HTTPD重启出错,呵呵……

论坛徽章:
0
5 [报告]
发表于 2003-08-14 09:58 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

自己顶一下。没人回答?虽然简单,但是也难死我这菜鸟了。

论坛徽章:
0
6 [报告]
发表于 2003-08-14 09:59 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

出错信息是什么?

论坛徽章:
0
7 [报告]
发表于 2003-08-14 10:00 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

[quote]原帖由 "bjchenxu"]看看精华区,文章总结全了[/quote 发表:
     
精华区哪个贴???

论坛徽章:
0
8 [报告]
发表于 2003-08-14 10:25 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2356: lex: command not found
configure: error: cannot find output from lex; giving up

这是装PHP  CONFIGURE后的信息。

论坛徽章:
0
9 [报告]
发表于 2003-08-14 11:34 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

[root@localhost root]# rpm -q mysql
mysql-3.23.52-3
[root@localhost root]# rpm -q apache
package apache is not installed
[root@localhost root]# rpm -q php
php-4.2.2-8.0.5
难道是因为这个问题才不行的?

论坛徽章:
0
10 [报告]
发表于 2003-08-14 15:25 |只看该作者

APACHE+PHP+MYSQL问题,请高手指教.

[root@localhost apache_1.3.28]# ./configure --prefix=/usr/local/apache --enable-module=so
Configuring for Apache, Version 1.3.28
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard

然后:
[root@localhost php4]# ./configure --with-apache=/usr/local/apache/
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... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2377: lex: command not found
configure: error: cannot find output from lex; giving up
有 人可以帮我吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP