Skip to content

Instantly share code, notes, and snippets.

@Balamir
Last active March 13, 2018 13:05
Show Gist options
  • Save Balamir/17e933f81bcff74eccbe31e4f5067eaa to your computer and use it in GitHub Desktop.
Save Balamir/17e933f81bcff74eccbe31e4f5067eaa to your computer and use it in GitHub Desktop.
MacOS - Before New Installation or Upgrade Checklist
* Backup / sync Apache configs
* Backup / sync browser settings
* Backup / sync Atom editor config
For Apache and PHP
* Check Apache root for the previous settings file. They will have a 'previous' suffix. Just rename.
* After upgrade, probably your PHP version will be changed. So, you should check your httpd.conf file for the PHP version.
For example your previous PHP version was 5.6. Then find the following line on your httpd.conf file after copy/paste:
php5_module libexec/apache2/libphp5.so
And replace with the new version.
Then check your config with the "sudo apachectl configtest" command.
If everything is fine, then restart apache with the "sudo apachectl restart" command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment