I'd very much appreciate the insight of people familiar with how DirectAdmin works. I've only really used DirectAdmin from the reseller / user perspective and don't have in depth knowledge of its back end or use from admin perspective. However, I now really need to find out the answer to a question about how the PHP configuration works. Today I've done some reading about that and I do understand it better, but still not well enough to be able to answer my question without actually setting up DA and experimenting (which I can't do right now). So I'd really appreciate your help.
In the following I assume that either CustomBuild 1.1 or 1.2 is in use, but perhaps not.
Let's say there's a server running: DirectAdmin 1.43.3; PHP 5.2 as the default and also PHP 5.3, which can be invoked using the appropriate AddHandler directive. The following two handlers are defined:
x-httpd-php => 5.2
x-httpd-php53 => 5.3
Let's say the server config is updated so that PHP 5.3 is the default, but PHP 5.2 can be invoked using an AddHandler directive. So now the following handlers are defined:
x-httpd-php => 5.3
x-httpd-php52 => 5.2
At this point both 5.2 and 5.3 are running as CGI/FastCGI and probably were before the update. I'm not sure if that's possible with CustomBuild via some kludge, or if CustomBuild is not in fact in use.
1) As a result of the update described above, is there any technical reason that the x-httpd-php53 handler that was originally defined could not continue to be defined? (It would point to the same script that it originally did, and that the x-httpd-php handler now points to.) So, there would be a total of 3 handlers defined, and a total of 2 PHP versions.
2) It's my understanding that for some screwy reason CustomBuild only accomodates enabling 2 versions of PHP at a time. Does that mean that following the update, the x-httpd-php53 handler would be undefined if no further action were taken?
3) If so, can the x-httpd-php53 handler simply be redefined?
4) How would that be done? Action directive in httpd-includes.conf? Or something in one of the suphp related config files? Other?
Thank you.
Please spare me any "you shouldn't be using PHP 5.2" responses -- has nothing to do with my question.
In the following I assume that either CustomBuild 1.1 or 1.2 is in use, but perhaps not.
Let's say there's a server running: DirectAdmin 1.43.3; PHP 5.2 as the default and also PHP 5.3, which can be invoked using the appropriate AddHandler directive. The following two handlers are defined:
x-httpd-php => 5.2
x-httpd-php53 => 5.3
Let's say the server config is updated so that PHP 5.3 is the default, but PHP 5.2 can be invoked using an AddHandler directive. So now the following handlers are defined:
x-httpd-php => 5.3
x-httpd-php52 => 5.2
At this point both 5.2 and 5.3 are running as CGI/FastCGI and probably were before the update. I'm not sure if that's possible with CustomBuild via some kludge, or if CustomBuild is not in fact in use.
1) As a result of the update described above, is there any technical reason that the x-httpd-php53 handler that was originally defined could not continue to be defined? (It would point to the same script that it originally did, and that the x-httpd-php handler now points to.) So, there would be a total of 3 handlers defined, and a total of 2 PHP versions.
2) It's my understanding that for some screwy reason CustomBuild only accomodates enabling 2 versions of PHP at a time. Does that mean that following the update, the x-httpd-php53 handler would be undefined if no further action were taken?
3) If so, can the x-httpd-php53 handler simply be redefined?
4) How would that be done? Action directive in httpd-includes.conf? Or something in one of the suphp related config files? Other?
Thank you.
Please spare me any "you shouldn't be using PHP 5.2" responses -- has nothing to do with my question.