Migration tips: Difference between revisions
Jump to navigation
Jump to search
| Line 39: | Line 39: | ||
php -m | php -m | ||
curl -V | curl -V | ||
</syntaxhighlight> | |||
=== debug === | |||
<syntaxhighlight lang="bash"> | |||
sudo docker exec -it mw-main bash | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 09:09, 2 October 2026
Choose new image
Comparison
| Image | Included Web Server | PHP Execution Method | Base OS | Recommended Use Case |
|---|---|---|---|---|
mediawiki:1.43
|
Apache | mod_php | Debian | Simple deployment with a single container |
mediawiki:1.43-fpm
|
None | PHP-FPM | Debian | Use with Nginx or an existing Apache server |
mediawiki:1.43-fpm-alpine
|
None | PHP-FPM | Alpine Linux | Smaller image size for users familiar with Alpine |
package versions
docker pull mediawiki:1.43.9
docker run -it mediawiki:1.43.9 bash
cat /etc/os-release
php -v
php -m
curl -V
debug
sudo docker exec -it mw-main bash
from 1.39 to 1.47
- Backup
- LocalSettings.php
- images
- database
docker compose exec mediawiki php maintenance/run.php update