LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: sd44

Linux下APACHE+PHP+MYSQL+CGI[修改版]

[复制链接]
发表于 2002-10-30 11:11:44 | 显示全部楼层
你可以看help
./configure --help
发表于 2002-10-30 17:45:47 | 显示全部楼层
1. 首先安装 MySQL
需要 <font color="#FF0000"> PTH </font> 噢,别忘记
1) 建立 MySQL 用户组:
groupadd mysql
useradd -g mysql mysql
发表于 2002-10-30 21:06:43 | 显示全部楼层

apache安装过程遇到麻烦,帮帮我

[root@hotcool apache_1.3.27]# ./configure \
> --prefix=/usr/local/apache \
> --enable-module=ssl \
> --activate-module=src/modules/php4/libphp4.a \
> --activate-module=libperl.a
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
configure:Error: Module source already has to be below src/modules/ to be activated

请问什么原因啊,说我的动态模块已活动了吗?
发表于 2002-10-30 21:51:51 | 显示全部楼层
提示是你的已经激活,如过你想安装的话,那就删掉原来的,重新安装
 楼主| 发表于 2002-10-30 23:28:35 | 显示全部楼层
说过几次了啊
可移植线程库
apache2中需要他

都用下apache2吧
apache1.xx.xx加上别的互相编译太麻烦

今天不小心看了看apache2 的error log,想起了自己还没有让ssl很好的启动起来,总是apachectl startssl,然后80端口跟着443也开放了,残念………………
谁可以帮下忙?使其不启动普通http连接的说
发表于 2002-10-31 07:43:08 | 显示全部楼层
这个应该是编译器的路径不对。
确定你的gcc编译器放在哪个目录里。
好像默认是/usr/bin/。
发表于 2002-10-31 12:49:42 | 显示全部楼层
:)有让老大操心鸟
发表于 2002-10-31 15:54:46 | 显示全部楼层
接楼上朋友:
[root@bulin mysql]# /usr/local/mysql/bin /safe_mysqld --user=root &
[1] 12915
[root@bulin mysql]# Starting mysqld daemon with databases from /usr/local/mysql/var
021026 17:14:38 mysqld ended
怎么启动后就自行关闭了?
__________________
sd44 资深会员
至于你的开始就关闭,遇到过,也就是下面几句
安装结束后还没完,还有几个步骤,首先是初始化数据库

scripts/mysql_install_db  ////////////////////////////////////////           这里我的是bin/mysql_install_db

然后是设置权限
chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/var /////////////////////////////////////////////mysql目录下没var目录
chgrp -R mysql /usr/local/mysql

另外,你可以mysqld_safe --user=root
看下,这样如果成功,肯定是mysql用户没有权限的问题了///////////////////////////mysqld_safe --user=root 提示一样开启后就关闭
发表于 2002-10-31 20:37:27 | 显示全部楼层
[root@localhost mysql-3.23.51]# ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for mawk... no
checking for gawk... gawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
发表于 2002-10-31 20:38:10 | 显示全部楼层
jiu shi zhe yang de .
zne me ye jie jue bu liao ,dajia bang mang .
xiexie .
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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