Everything should be fixed in the latest version Please test it! Thank you.
### OS DEBIAN 3.1 ###
### FIRST PROBLEM ###
If Using SUPHP on php5 and version is 5.2.3 or newer, they have changed naming on PHP.
suphp as php handler should be php-cgi, no php ! if php5 and version is 5.2.2 or lower, then name is php.
### /usr/local/suphp/etc/suphp.conf ###
# Only php5 + php 5.2.2 or lower #
x-httpd-php5=php:/usr/local/php5/bin/php
# Only php5 + php 5.2.5 or newer #
x-httpd-php5=php:/usr/local/php5/bin/php-cgi
### Second Problem ###
Directadmin version 1.301 have new templates, and it wont work with php4(cgi) and php5(cgi)
# options.conf #
default_php=4
php4_cli=no
php4_cgi=yes
php5_cli=no
php5_cgi=yes
apache_ver=1.3
mail-header-patch=yes
dovecot=no
# And #
default_php=5
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=yes
apache_ver=1.3
mail-header-patch=yes
dovecot=no
# And #
default_php=4
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=yes
apache_ver=1.3
mail-header-patch=yes
dovecot=no
Starting httpd: Syntax error on line 39 of /usr/local/directadmin/data/users/tempreseller/httpd.conf:
Invalid command 'suPHP_UserGroup', perhaps mis-spelled or defined by a module not included in the server configuration
Found few times in google, that only work with apache 2.x version, but not sure ... (not tested with 2.x, only 1.3 version of apache)
So, problems are new templates ...
Need use custom templates: http://help.directadmin.com/item.php?id=2
Last edited: