problem with mod_php
am 03.10.2009 21:22:21 von JC
I'm trying to install a webmail in a new server with the following items:
Debian 2.6.26-2-amd64
horde 3.2.2
imp 4.2.4
apache 2.2.9
php 5.2.6
when I try to install for the first time to configure it by web, it show the
following:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator, [no address given] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.
More information about this error may be available in the server error log.
And the log (apache2 error.log) shows the following:
[Wed Sep 30 12:31:26 2009] [error] [client 200.60.166.10] (13)Permission denied:
exec of '/var/www/horde3/login.php' failed
[Wed Sep 30 12:31:26 2009] [error] [client 200.60.166.10] Premature end of
script headers: login.php
These are the permissions
-r--r--r-- 1 www-data www-data 8740 ene 29 2009 login.php
smtp:/var/www# ls -l
lrwxrwxrwx 1 root root 18 sep 27 22:31 horde3 -> /usr/share/horde3/
smtp:/usr/share# ls -l
drwxr-xr-x 18 www-data www-data 4096 sep 27 17:09 horde3
I hope you can help to resolve this problem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: problem with mod_php
am 04.10.2009 21:15:05 von Tommy Pham
---- Original Message ----
> From: JC
> To: php-general@lists.php.net
> Sent: Sat, October 3, 2009 12:22:21 PM
> Subject: [PHP] problem with mod_php
>
>
> I'm trying to install a webmail in a new server with the following items:
> Debian 2.6.26-2-amd64
> horde 3.2.2
> imp 4.2.4
> apache 2.2.9
> php 5.2.6
> when I try to install for the first time to configure it by web, it show the
> following:
> Internal Server Error
> The server encountered an internal error or misconfiguration and was unable to
> complete your request.
> Please contact the server administrator, [no address given] and inform them of
> the time the error occurred, and anything you might have done that may have
> caused the error.
> More information about this error may be available in the server error log.
>
> And the log (apache2 error.log) shows the following:
> [Wed Sep 30 12:31:26 2009] [error] [client 200.60.166.10] (13)Permission denied:
> exec of '/var/www/horde3/login.php' failed
> [Wed Sep 30 12:31:26 2009] [error] [client 200.60.166.10] Premature end of
> script headers: login.php
>
> These are the permissions
> -r--r--r-- 1 www-data www-data 8740 ene 29 2009 login.php
>
> smtp:/var/www# ls -l
> lrwxrwxrwx 1 root root 18 sep 27 22:31 horde3 -> /usr/share/horde3/
>
> smtp:/usr/share# ls -l
> drwxr-xr-x 18 www-data www-data 4096 sep 27 17:09 horde3
>
>
> I hope you can help to resolve this problem
>
>
What's the file permission for
/var/www/horde3/login.php
since PHP has error reading/executing the file? When you changed the permission for /usr/share/horde3, did you use '-R' ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php