LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 889|回复: 2

APACHE 2.2.3安装问题

[复制链接]
发表于 2006-9-16 12:12:45 | 显示全部楼层 |阅读模式
新打了APACHE2.2.3, [color="Red"]./configure --prefix=PREFIX 时却出现错误提示“Permission denied”
查找了httpd.apache.org中的Error Messages,关于Permission denied的描述如下:

A Permission denied error in the error_log, accompanied by a Forbidden message to the client usually indicates a problem with your filesystem permissions, rather than a problem in the Apache HTTP Server configuration files. Check to make sure that the User and Group running the child processes has adequate permission to access the files in question. Also check that the directory and all parent directories are at least searchable for that user and group (i.e., chmod +x).

Recent releases of Fedora Core and other Linux distributions using SELinux have additional access restrictions beyond those used by the basic filesystem. Violations of these restrictions will also result in a Permission denied message. See the Fedora SELinux FAQ and Apache SELinux Policy Document.


我的环境:Linux AS4,ROOT权限登入
按道理来说,应该不会出现权限错误才对呀
发表于 2006-9-17 23:04:06 | 显示全部楼层
--prefix=PREFIX
是你要安装到哪个目录里面去,
按FHS标准写吧,,
回复 支持 反对

使用道具 举报

发表于 2006-9-17 23:08:07 | 显示全部楼层
"./configure --prefix=PREFIX"???????有直接这么用的么?
一般是"./configure --prefix=/usr/local/apache2"吧?
http://lamp.linux.gov.cn/Apache/ ... rams/configure.html
回复 支持 反对

使用道具 举报

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

本版积分规则

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