Problem with Apache+Fedora Core 4 + PHP Installation
| From: | Feris Thia C. | Date: | Tue, 06 Sep 2005 13:09:06 +0000 |
| Subject: | Problem with Apache+Fedora Core 4 + PHP Installation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221899@lists.php.net to get a copy of this message | ||
Hi All,
I'm using Fedora Core 4 (kernell 2.6.11-1.1369_FC4) and having problem when
installing Apache + PHP... the configuration that I'm using :
1. Apache 2.0.54
./configure --prefix=/usr/local/apache2 --enable-so
make
make install
2. PHP 4.3.1
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
make
make install
In Apache configuration file (httpd.conf) I adding these :
LoadModule php4_module modules/libphp4.so ===> line 232
AddType application/x-httpd-php .php
from compiling and installing process ... all run well... but when I'm
starting apache
/usr/local/apache2/bin/apachectl start
I got this error :
Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf
Cannot load /usr/local/apache2/modules/libphp4.so into server:
/usr/local/apache2/modules/libphp4.so: cannot restore segement prot after
reloc : Permission denied
I already consult documentation for LoadModule syntax and it looks ok.
Has the error something to do with SE Linux ??
Please give me some advices to resolve this :)
Best Regards,
Feris