Re: Installing PHP problems
| From: | James Ellis | Date: | Mon, 29 Aug 2005 13:52:59 +0000 |
| Subject: | Re: Installing PHP problems | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16609@lists.php.net to get a copy of this message | ||
Hi
Do you have Selinux set to active/permissive/disabled? as that may
cause some permissions problems depending on the state... it did for
me with FC3
Also, what does /var/log/messages and /var/log/httpd/error_log show
you, if anything?
try doing a
$apachectl configtest
and see what that coughs up.
Does apache have read access on the php5.so file?
HTH
James
On 8/29/05, Angus Stewart <desertrat492003@yahoo.com> wrote:
> I'm trying to enable php-5.0.4 with Apache 2.0.52 and
> Mysql 4.1.13a on
> a Fedora Core 4 Linux OS. I get the following message
> once I get
> everything compiled:
>
> [root@jpilar php-5.0.4]#
> /usr/local/apache2/bin/apachectl restart
> Syntax error on line 232 of
> /usr/local/apache2/conf/httpd.conf:
> Cannot load /usr/local/apache2/modules/libphp5.so int
> server:
> /usr/local/apache2/modules/libphp5.so: cannot restore
> segment prot after reloc:
> Permission denied.
>
> Line 232 of the /usr/local/apache2/conf/httpd.conf is
> the following
> line:
> LoadModule php5_module modules/libphp5.so
>
> If I comment out line 232 I get a different error:
>
> I get a popup screen which states opening phpinfo.php:
>
> You have chosen to open phpinfo.php
> which is a PHP script
> from: http://localhost
> What should Firefox do with this file?
>
> Thanks,
>
> Henry Johnson
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>