Internal Server Error on Linux (due to File Permission)
Closed this issue · 2 comments
The Wolff project generates an Internal Server Error once installed on non-Windows servers which makes it impossible to use framework.
After troubleshooting, I figured out the issue:
/public/index.php" is writeable by group
is the error thrown on linux hosting servers.
-
This happens because the above mentioned file in
/public/index.php
has a permission of0777
and it looks like Linux servers don't support that for some reason -
My suggestion is that you recursively change the file permission for each
Wolff
files (to say0755
) so this issue gets resolved in future releases.
Thank you
Hello @siteantipas! Thank you for pointing that out, the recommended file permissions for the Wolff source code files is in fact 0755. What I've been able to see is that this is happening only with the bundle version of Wolff, so I'll update it.
I'll also update the documentation and specify there this required file permissions.
Greetings! :)
The bundle package and the documentation has been correctly updated.