File and Folder permissions | |
If your server is unhappy with Tiki file and folder permissions (this is dependent on server configuration), you may get an error message or blank pages. These failed attempts are typically in the error log (ask your web host to know where they are as it's different depending of your setup) Too few permissions
Too many permissions
If your permissions are currently at "777", use your FTP client to change the files to "755". If Tiki is installed in a directory, make sure to also change the permission of the folder which contains the tiki files. If you have shell access, you can run: Copy to clipboard
and answer any questions. If you don't know what to answer, just click "enter" to keep the defaults. Copy to clipboard
If "sh setup.sh" doesn't work for you, you may try, in your ./tiki/ directory Copy to clipboard
Another way is to set permissions for all directories and then set permissions for all files. For example, to set the permissions for all directories to 777 and the permissions for all files to 644, use the following separate commands through shell access: Copy to clipboard
After correcting any directory or file permission problems, visit tiki-install.php to continue. |
SuPHP Problems | |
Systems with SuPHP need permissions 755 at maximum. Group must not be allowed to write. This includes the complete path in the filesystem, not only document root of the webserver. Wrong permissions may lead to 500 Internal Server Error here. On the other hand less permissions (namely 750 without x/execute/subdir entry for webserver) may lead to 403 Forbidden Error. |
1.1.3. Permission Matrix | |||||||||||||||
Several usecases and minimum to maximum permissions you may try if something doesn't work properly. Permissions refer to data directly accessed by the webserver (files included by Tiki itself may and should have less permissions):
1.1.3.1. OptionCopy to clipboard
1.1.3.2. OptionThe following commands might be useful. In particular, it might help you use an IDE (PhpStorm), etc: Copy to clipboard
In English, the above code adds you to the web-server group; forces the tiki tree to be owned by the web-server user and group; and then makes sure the tiki tree is readable and writable by the web-server group (you). Suggestions welcome! |