BeenAroundAWhile ( talk) 21:56, 5 June 2022 (UTC) Not done BeenAroundAWhile: these labels don't support wikitext.Note: This guide assumes that mediawiki depends on php7. MediaWiki requires the iconv extension, so you need to uncomment extension=iconv in /etc/php7/php.ini. For thumbnail rendering, install either ImageMagick or php7-gd.If you choose the latter, you also need to uncomment extension=gd. For more efficient Unicode normalization, install php7-intl and uncomment extension=intl.If you use MariaDB, uncomment extension=mysqli.If you use PostgreSQL, install php7-pgsql and uncomment extension=pgsql.If you use SQLite, install php7-sqlite and uncomment extension=pdo_sqlite. Second, tweak the session handling or you might get a fatal error ( PHP Fatal error: session_start(): Failed to initialize storage module) by finding the session.save_path path. If you use PHP's open_basedir and want to allow file uploads, you need to include /var/lib/mediawiki/ ( mediawiki symlinks images/ to /var/lib/mediawiki/).Ĭopy /etc/webapps/mediawiki/ to /etc/httpd/conf/extra/nf and edit it as needed.Īdd the following line to /etc/httpd/conf/nf: You will need to create the directory if it does not exist and then restrict its permissions: etc/php7/php.ini session.save_path = "/var/lib/php/sessions" A good choice can be /var/lib/php/sessions or /tmp/. Note: The default file from /etc/webapps/mediawiki/ will overwrite the PHP open_basedir setting, possibly conflicting with other pages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |