MediaWiki: Difference between revisions
php-fpm |
|||
| Line 1: | Line 1: | ||
I'm using the [http://www.mediawiki.org/wiki/MediaWiki MediaWiki] software from the WikiMedia Foundation to power my wikis. MediaWiki is | I'm using the [http://www.mediawiki.org/wiki/MediaWiki MediaWiki] software from the WikiMedia Foundation to power my wikis. '''The following information is largely [[Debian]]-specific.''' | ||
==Use with Apache== | |||
By default (at least on Debian), MediaWiki's PHP is run within Apache's PHP module <tt>mod_php</tt>. This can only be safely run under the multiprocess [https://httpd.apache.org/docs/2.4/mod/prefork.html mpm_prefork] paradigm. To use the (generally superior) [https://httpd.apache.org/docs/2.4/mod/worker.html mpm_worker] or [https://httpd.apache.org/docs/2.4/mod/event.html mpm_event] modules, one ought employ [https://www.php.net/manual/en/install.fpm.php php-fpm], the PHP "fast process manager" (note that FastCGI is also a thing. I don't know much about it). | |||
==Installing MediaWiki== | ==Installing MediaWiki== | ||
* Have handy the administrator account/password for your MySQL installation. | * Have handy the administrator account/password for your MySQL installation. | ||
** I advise you to install MySQL ''before'' MediaWiki, not as a single <tt>apt</tt> step. | ** I advise you to install MySQL ''before'' MediaWiki, not as a single <tt>apt</tt> step. | ||