Problems with panel

/usr/local/bin/php -v
PHP 5.2.6 (cgi-fcgi) (built: Nov 6 2008 01:37:06)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.
 
It should be CLI. Do:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build php n
 
/etc/init.d/httpd restart
Stopping httpd:
Starting httpd: Syntax error on line 32 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'suPHP_Engine', perhaps misspelled or defined by a module not included in the server configuration
 
Try:
Code:
cd /usr/local/directadmin/custombuild
./build suphp
 
Now I have a problem with error 500, with each page I have error 500, was not previously on how to disable checking chmod?
 
Use PHP as CLI (mod_php) or use a correct chmod. See:
Code:
cat /var/log/suphp.log
 
Open /usr/local/suphp/etc/suphp.conf. Find:
Code:
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false

Replace with:
Code:
allow_file_group_writeable=true
allow_file_others_writeable=true
allow_directory_group_writeable=true
allow_directory_others_writeable=true
 
there is still confusion (Restarted httpd)
yet there is an error

[Fri Nov 28 14:47:02 2008] [warn] NameVirtualHost 91.204.160.79:443 has no VirtualHosts
[Fri Nov 28 14:47:02 2008] [warn] NameVirtualHost 91.204.160.77:443 has no VirtualHosts
 
there is still confusion (Restarted httpd)
yet there is an error

[Fri Nov 28 14:47:02 2008] [warn] NameVirtualHost 91.204.160.79:443 has no VirtualHosts
[Fri Nov 28 14:47:02 2008] [warn] NameVirtualHost 91.204.160.77:443 has no VirtualHosts


i think you can ignore that
 
Code:
chown -R webapps:webapps /var/www/html

I told you to take a look at suphp.log.
 
Back
Top