Panel DA Error 500 after install suPHP

dogg

New member
Joined
May 24, 2011
Messages
2
Hello

I have a problem, when I enter the DirectAdmin through mydomain.com/config shows me error 500 when entering with :2222 goes ok.

It's the only thing giving me problems after instlar suPHP as everything else I have corrected, but this I have succeeded.

I run this in my ssh
Code:
cd /usr/local/directadmin/custombuild
mkdir -p custom/suphp
cp -fp configure/suphp/configure.suphp custom/suphp/configure.suphp
perl -pi -e 's/paranoid/owner/' custom/suphp/configure.suphp
./build clean
./build suphp
cd /usr/local/directadmin/data/templates/custom
cp -f ../virtual_host* .
perl -pi -e 's/suPHP_UserGroup/#suPHP_UserGroup/' virtual_host*.conf
perl -pi -e 's/suPHP_UserGroup/#suPHP_UserGroup/' /etc/httpd/conf/httpd.conf
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue

If I can help them appreciate it. I am a beginner in DirectAdmin and Linux

Thanks
Dog
 
Who told you to do all those commands?

All you needed to do was ./build suphp
 
0. Read apache logs
1. Read apache logs for domains
2. Read suPHP logs
3. Search the forums.

ps. chmod directories to 755 and PHP-files to 644. What exactly files and directories you need to chmod you can find out from mentioned above logs.

p.p.s chown -R webapps:webapps /var/www/html/
 
Its because /var/www/html/redirect.php is not chown to webapps.

chown -R webapps:webapps /var/www/html will definately fix the problem.
 
Back
Top