Note: The default file from /etc/webapps/mediawiki/ will overwrite the PHP open_basedir setting, possibly conflicting with other pages. 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/. 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.
Mediawiki license install#
If you use SQLite, install php7-sqlite and uncomment extension=pdo_sqlite.
xaosflux Talk 02:23, 14 March 2021 (UTC) Y Partly done Updated the year for PD-US-expired. Dylsss ( talk contribs) 14:29, 1 March 2021 (UTC) JJMC89: would you mind looking at this (saw you've updated this page before). Please move wikipedia-screenshot to Freely licensed as it is currently under Non-free / fair use > Screenshots but it is not non-free. Please change Allow non-commercial use, commercial use, and modifications as long as others credit you and share alike to Allow non-commercial use, commercial use, and modifications as long as others credit you and publish derivative works under the same terms, this is more descriptive than just "share alike". Please change 1925 to 1926 under PD-US-expired. Set the |answered= or |ans= parameter to no to reactivate your request.