18
The 500 error might be the server objecting to world write. A 775 permission might make it happy. But, I can't verify that.
Let's try this. Create a mainfile.php file with the following:
if (! defined('XOOPS_INSTALL')) {
header('Location: install/index.php');
}
Upload that to the root directory and set the file permission to 777, then retry the install.
If this works, we can add a file to extras, so we have a solution ready for problematic servers. I use Linux almost exclusively for development and production, and I don't have any environments where this is a problem. Even my Windows boxes seem happy with the changes. But there are always other ways to configure systems.
The whole reason for this change was to make it impossible to accidentally overwrite mainfile.php while upgrading a production system. If you've ever done that, it is a great way to induce panic and ruin an otherwise good day (OK, I am speaking from experience, I admit it, but I won't put a number on how many times I've done it.)
Sorry this is such a problem.
Edited to add this from
support.hostgator.com:
Quote:
Most hosting companies now use suPHP servers, thus 755 will allow PHP to read, write and execute scripts just like 777 does. Because of this, most scripts work when you use 755.
suPHP solves the whole problem. Too bad they are not "most hosting companies"