heihachi88
Verified User
- Joined
- Dec 29, 2013
- Messages
- 21
How to correctly update Apache from 2.4.6 to 2.4.7 without messing up php, mysql, roundcube and phpmyadmin?
Code:cd /usr/local/directadmin/custombuild ./build update ./build versions ./build apache
./build refwrite_confs
./build apache
./build rewrite_confs
What actually does? What config files it does rewriting?Code:./build rewrite_confs
It will overwrite files in this path: /etc/httpd/conf/...
./build rewrite_confs
That is a to general question, it dependent on the content of the files in your custom folder. The custom files will always be used when you do ./build rewrite_confs, you shold only have files in custom folder that you have a need to change, files that you do not change should not be added to custom folder. Also you should manually apply any changes to the files in custom folder when content of files in configure/ap2... changes, if not you might have trouble in the future. So, do not add files in custom folders unless you absolutely need to make manual changes to them, and only add the files that you need to change, do not add all files to custom folders, only the needed ones.
Edit: For example I have a custom folder at /custombuild/custom/ap2/, but it only contain ONE file, I only have configure.php55 file there, because I needed to add a few lines to configure.php55 - then I always check manually if the content of /custombuild/ap2/configure.php55 file have changed (after doing ./build update), and if it changes, then I apply the change to /custombuild/custom/ap2/configure.php55