I also think it might be an idea if it isnt already the case to have 2 update switches, one just to download new versions of dist files such as php and apache and another one that updates the actual build script so that way new build scripts are not forced on people running the update command.
One question about Mysql it didn't install by default can I do that manually or there is a reason was not in build by default? Thanks
What's wrong with it at the moment? (except jailed ssh which is in beta)
BigWil, I didn't include that code at all. It was John's idea, but what's wrong with it?
The crontab install option in the first post should be ./build cron rather than ./build crontab.
Other than that minor point, which confused me for an embarrassing amount of time, this script is a great help. I got my first DA server last weak and just ran my first update, for Apache, with no problem. Thank you.
What OS are you running? I often have testbed servers available for testing. If I don't have what you need when you need it feel free to contact DirectAdmin sales department. Perhaps they can help you with a temporary license.I'm afraid because I can't test before I do on production server. License DirectAdmin not allow for that and I think it is a problem.
I've confirmed this. So if you've got a custom .htaccess file with an AddHandler to override what you've set in your options.conf, then you'd need to wrap a FilesMatch around it in your. htaccess, eg:It's overriding .htaccess files that are using the last recommended string of:
AddHandler x-httpd-php5 .php .php5
After upgrading the machine all of the PHP5 scripts are failing!!!
FileMatch is taking precedence over the AddHandler in the files. Only another FileMatch will override that it seems.
BigWil
<FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$">
AddHandler x-httpd-php5 .php .php5
</FilesMatch>
sl_engine_config.c && touch ssl_engine_config.lo
ssl_engine_config.c: In function 'ssl_cmd_SSLProxyCipherSuite':
ssl_engine_config.c:1270: error: 'SSLSrvConfigRec' has no member named 'proxY'
make[3]: *** [ssl_engine_config.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/modules'
make: *** [all-recursive] Error 1