Tyring to Upgrade to civicrm 4.7.28 on Joomla but wsod error says civicrm.settings.php is missing
Since you said you're upgrading, that file should already be there. Which means it isn't creating it, but instead viewing/updating it. The four best reasons for you getting this error that I can think of:

You accidentally deleted your settings file.

You accidentally moved your settings file.

The permissions on the file are incorrect. Looking at my install, it is set to 644.

The user associated with the file is incorrect. This one usually happens if you're like me and log into your server via root so that you can work with multiple accounts on the same login. Then your file uploads as belonging to "root" instead of the actual user.