Install Mediawiki

From Creative Crowds wiki
Revision as of 21:26, 11 December 2025 by Manetta (talk | contribs) (Created page with " sudo su apt install mariadb-server mysql CREATE USER 'wiki'@'localhost' IDENTIFIED BY 'INSERTPASSWORDHERE'; CREATE DATABASE wikidb; GRANT ALL PRIVILEGES ON wikidb.* TO 'wiki'@'localhost'; FLUSH PRIVILEGES; EXIT; apt install php php-fpm php-mysql php-xml php-intl php-mbstring php-gd php-curl chown -R www-data:www-data /opt/wiki/ chmod -R 755 /opt/wiki/ Left the installation at: * /opt/wiki/ is configured, and the nginx alias works * php is not worki...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
sudo su
apt install mariadb-server
mysql
CREATE USER 'wiki'@'localhost' IDENTIFIED BY 'INSERTPASSWORDHERE';
CREATE DATABASE wikidb;
GRANT ALL PRIVILEGES ON wikidb.* TO 'wiki'@'localhost';
FLUSH PRIVILEGES;
EXIT;
apt install php php-fpm php-mysql php-xml php-intl php-mbstring php-gd php-curl
chown -R www-data:www-data /opt/wiki/
chmod -R 755 /opt/wiki/

Left the installation at:

  • /opt/wiki/ is configured, and the nginx alias works
  • php is not working in this folder though... index.php is not picked up: 404