Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Nice post, I did a script to install it quickly, its open on: https://github.com/hflautert/lotus7/blob/master/wiki/install_wiki.sh There are some comments in PT-BR, but commands and logic are universal.
Do you have a tutorial for installing PHPWiki by any chance?
Edit: Actually, nevermind. I found this good article and I can compare the performances of PhPWiki and MediaWiki now.
Thank you for the tutorial. Just one comment: you might want to mention SELinux permissions of the LocalSettings.php somewhere in case the file wasn’t directly downloaded to the server.
I get an error on this command: GRANT INDEX, CREATE, SELECT, INSERT, UPDATE, DELETE, ALTER, LOCK TABLES ON my_wiki.* TO ‘sammy’@‘localhost’ IDENTIFIED BY ‘password’;
Is the syntax correct? I have changed the values to my own.
I run into trouble at Step 4. PHP 5 is working and all of the necessary modules are installed, and MariaDB is running. But when I move MediaWiki to var/www/html/, I get nothing. It’s a blank white page on Firefox and a 500 server error in Chrome. I have no idea what went wrong :(
Hello, i am french, sorry for my language Engish. I followed to the letter your setup but I left with a page ‘403 Forbidden’ to access the interface of my wiki.
I have a rights issue apparently.
What is strange, I have no problem to open the info.php page!
Can you help me?
Please update this guide to be compatible with the latest stable version of Mediawiki (1.27.1). I’ve been running into problem after problem, trying to follow this guide and update php to the compatible version as well. The LAMP for CentOS 7 guide installs the wrong version of php.
Hello, I am not able to get the MediaWiki version that goes with the php version that is available in the tutorial referred to in this tutorial. It wants to get an older version of php which is not compatible with the latest version of mediawiki due to the latest php not being in the repository via your article: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-7. When I get to Step 2 — Downloading MediaWiki it refers to MediaWiki v1.24.1 and then states that a newer version of MediaWiki can be found in the download section of https://www.mediawiki.org/wiki/Download, however the latest version of MediaWiki requires “PHP 5.5.9+ and either MySQL 5.0.2+, MariaDB” but your tutorial for LAMP for CentOS doesn’t install these versions. They are considered experimental versions for CentOS 7. MediaWiki v1.24.1 is no longer available unless using Git and this is a bit advanced for me. Can Digital Ocean provide a permanent link to the version listed in this tutorial? I have installed it once and everything worked like a charm. Thanks in advance. Edit: I have found the version that goes with this tutorial MediaWiki v1.24.1 located here:
https://releases.wikimedia.org/mediawiki/1.24/mediawiki-core-1.24.1.tar.gz for your curl command it can look like this instead: curl -O https://releases.wikimedia.org/mediawiki/1.24/mediawiki-core-1.24.1.tar.gz as opposed to: curl -O http://releases.wikimedia.org/mediawiki/1.24/mediawiki-1.24.1.tar.gz this worked!! We shall see if it installs now. I will update my post as I test.
Page needs updating at section:
Download MediaWiki.
to the following
curl -O https://releases.wikimedia.org/mediawiki/1.29/mediawiki-1.29.1.tar.gz
And also at
Move to the /var/www directory: to
sudo mv mediawiki-1.29.1/* /var/www/html
Is it possible to install a mediawiki on a virtual host?
So I got virtual hosts working for plain HTML hosting as testing. So now I’m trying something a bit more detailed, to put a MediaWiki install up on it.
I followed the instructions on installing MediaWiki on CentOS7 on Digital Ocean here: https://www.digitalocean.com/community/tutorials/how-to-install-mediawiki-on-centos-7. I set up the MariaDB and everything from the tutorial without issue. Everything was extracted to the virtual host directory. I made it so that my test HTML file wasn’t readable. When I do so, I get the ‘default Apache server’ message instead of the wiki setup. When I try to go to the /mw-config/index.php I get a
Forbidden You don’t have permission to access /mw-config/index.php on this server. error.
I am not sure where to step out from here.