Mediawiki migration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
DB connection error: MySQL functions missing, have you compiled PHP with the --with-mysql option? | DB connection error: MySQL functions missing, have you compiled PHP with the --with-mysql option? | ||
</pre> | </pre> | ||
I think this is the package that I'm missing: | |||
php5-mysql |
Latest revision as of 15:53, 21 May 2011
Steps to migrate mediawiki to a new machine:
- install packages
- mediawiki
- mysql
- apache2
- copy configs
- dump database
- create database
- restore database
- create mysql users
After these steps, I was getting a blank page when trying to view the wiki. Looking at the headers, I saw a 500 error.
I verified that I could log into mysql as the wikiuser and see the tables and it worked fine.
However, php was unable to see the database as I found like this:
root@ferret:/var/lib/mediawiki/maintenance# php ./update.php MediaWiki 1.15.5-3 Updater DB connection error: MySQL functions missing, have you compiled PHP with the --with-mysql option?
I think this is the package that I'm missing:
php5-mysql