FAQ
500 Internal Server Error
This is usually a directory permissions issue. Run these commands from the project root:
bash
# Replace www:www with your web server user and group
# Apache: apache:apache, PHP-FPM: www:www
chown www:www -R bootstrap plugins public storage themes
chmod 755 -R bootstrap plugins public storage themesopen_basedir Restriction
You may see an error like this:
Warning: file_exists(): open_basedir restriction in effect.
File(/www/wwwroot/.../public/) is not within the allowed path(s)BaoTa Panel: Go to Site Settings → Site directory and disable open_basedir (防跨站攻击).

PHPStudy Database Connection Error
If credentials are correct but the connection still fails, check the MySQL port number:
- Go to PHPStudy Software Management → find MySQL → click Settings
- Check the port number (e.g., 33060)
- Make sure the port in the installation wizard matches
404 on /install
This usually means URL rewrite rules are not configured. See Package Install for Nginx rewrite rules.