[请教]apache2.0.55和php5.1.2整合问题?

[请教]apache2.0.55和php5.1.2整合问题?

[请教]apache2.0.55和php5.1.2整合问题

安装完Apache后测试,Apache好用的!
等安装完PHP后Apache就不能启动了,在shell中执行 ./apachectl restart 时出现的提示

apachectl: Configuration syntax error, will not run "restart":
httpd: Syntax error on line 205 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

安装apache
./configure --prefix=/etc/httpd \
> --enable-module=so

安装php
./configure --prefix=/usr/local/php \
--with-apxs2=/etc/httpd/bin/apxs \
--with-gd \
--with-jpeg-dir \
--with-ttf \
--with-zlib-dir \
--with-png-dir \
--with-mysql=/usr/local/mysql \
--enable-track-vars

libphp5.so权限
chmod 755 /etc/httpd/modules/libphp5.so

使用的系统是FC5
关掉SELinux 了吗?
SELINUX=disabled?
重启试试
关闭SElinux之后出现了这样的错误:
httpd: Syntax error on line 205 of /etc/httpd/conf/httpd.conf: API module structure `php5_module' in file /etc/httpd/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?
我是apache2ctl start,会不会是这个原因?
我的只有apachectl 这一项
帖httpd.conf
看看