Skip to content

Instantly share code, notes, and snippets.

@chankruze
Last active May 12, 2019 02:24
Show Gist options
  • Save chankruze/fedc02100e2c37725bfc61ddbfecd1d1 to your computer and use it in GitHub Desktop.
Save chankruze/fedc02100e2c37725bfc61ddbfecd1d1 to your computer and use it in GitHub Desktop.

File Permissions

sudo mv inc/config.default.php inc/config.php
sudo chmod 666 inc/config.php inc/settings.php
chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/

optional

chmod 666 inc/languages/english/*.php inc/languages/english/admin/*.php
chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/ admin/backups/

Installer

Open the URL and navigate to installed directory. There will be installer page ready.

@chankruze
Copy link
Author

For below errors:

Supported DB Extensions: None
MyBB requires one or more suitable database extensions to be installed. Your server reported that none were available.

You are missing php-mysql.

Fix

sudo apt install php-mysql

for example for PHP 7.2.17-0ubuntu0.19.04.1 i did

sudo apt remove php*-mysql
sudo apt install php7.2-mysql

Then you need to enable mysql extension in php.ini file add extension=mysql.so and restart server.

Hola ! Fixed MyBB DB extension issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment