MediaWiki - enable file upload

From Simon's Help System
Revision as of 13:42, 28 August 2023 by Simon (talk | contribs) (Created page with "Images are stored in /var/www/mediawiki/images Go to /var/www/mediawiki and type <pre> sudo chmod -R 755 ./images/ sudo chown -R www-data:www-data images/ </pre> Also make sure php.ini (/etc/php/8.0/cli/php.ini) has FileUploads set to true")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Images are stored in /var/www/mediawiki/images Go to /var/www/mediawiki and type

sudo chmod -R 755 ./images/
sudo chown -R www-data:www-data images/

Also make sure php.ini (/etc/php/8.0/cli/php.ini) has FileUploads set to true