duke28
Verified User
chmod 755 or 644 the file .php
The error says it all: suPHP restricts certain read/write permissions (files only need to be writeable by the user). So you have to fix permissions (we recommend 444 (read/read/read) or 644 (read+write/read/read) most of our users).xprotect said:I have this in logs after installation and add suPHP :/
Apache 2.0.55, PHP 4.4.2, suPHP-0.5, DirectAdmin, CentOS 4.2
There should be errors in the suPHP log or in the httpd logs (error logs).xprotect said:next problem is this type:
when i turn suPHP on some users gets Internal Server Error when use php scripts (this site use phpBB)
This in suEXEC[Mon Mar 20 16:52:48 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 20 16:52:48 2006] [warn] RSA server certificate CommonName (CN) `www.XXXXXXX' does NOT match server name!?
[Mon Mar 20 16:52:48 2006] [warn] RSA server certificate CommonName (CN) `www.XXXXXX' does NOT match server name!?
[Mon Mar 20 16:52:48 2006] [warn] RSA server certificate CommonName (CN) `www.XXXXX' does NOT match server name!?
[Mon Mar 20 16:52:49 2006] [notice] Apache/2.0.55 (Unix) mod_perl/1.99_17-dev Perl/v5.8.5 mod_ssl/2.0.55 OpenSSL/0.9.7a PHP/4.4.2 FrontPage/5.0.2.2634 configured -- resuming normal operations
And this in suPHP logs:[2006-03-15 19:47:01]: uid: (500/admin) gid: (501/501) cmd: php
[2006-03-15 19:47:01]: target uid/gid (500/501) mismatch with directory (0/0) or program (0/0)
[2006-03-15 19:47:11]: uid: (500/admin) gid: (501/501) cmd: php
[2006-03-15 19:47:11]: target uid/gid (500/501) mismatch with directory (0/0) or program (0/0)
[2006-03-15 19:47:13]: uid: (500/admin) gid: (501/501) cmd: php
[2006-03-15 19:47:13]: target uid/gid (500/501) mismatch with directory (0/0) or program (0/0)
[2006-03-15 19:47:15]: uid: (500/admin) gid: (501/501) cmd: php
[2006-03-15 19:47:15]: target uid/gid (500/501) mismatch with directory (0/0) or program (0/0)
[2006-03-15 19:48:30]: uid: (500/admin) gid: (501/501) cmd: php
[2006-03-15 19:48:30]: target uid/gid (500/501) mismatch with directory (0/0) or program (0/0)
[2006-03-15 19:48:48]: uid: (500/admin) gid: (501/501) cmd: php
[2006-03-15 19:48:48]: target uid/gid (500/501) mismatch with directory (0/0) or program (0/0)
[2006-03-15 19:48:53]: uid: (500/admin) gid: (501/501) cmd: php
[2006-03-15 19:48:53]: target uid/gid (500/501) mismatch with directory (0/0) or program (0/0)
[Mon Mar 20 16:52:23 2006] [error] Script (/home/XXXXXX/domains/XXXXXXX/public_html/forum/index.php) is writeable by others[/quote[