How to Install PHP5.4 and MariaDB 5.5 on Debian 6.x Squeez

debian-mariadb

 In this tutorial, I will explain “How to Install PHP5.4 and MariaDB 5.5 on Debian 6.x Squeez?”

MariaDB is a drop-in replacement for MySQL.

MariaDB strives to be the logical choice for database professionals looking for a robust, scalable, and reliable SQL server.

MariaDB provide repository for all famous linux distros. I’m going to use MariaDB repo for Debian 6.x
Edit /etc/apt/sources.list

Past below lines in sources.list

Now run

To install PHP5.4, I will use DOTDEB repo.
Edit /etc/apt/sources.list again

Paste below lines

Now run

Now run Debian update

Now we will install Apache, PHP5.4 and MariaDB 5.5

It will prompt for MariaDB root password, you will have to enter your desired password and press Enter.

Once completed, you will have Debian with Apache, PHP5.4 and MariaDB5.5 installed.

Please follow and like us:
About shk

shk is a DevOps engineer with more than 12 years of experience in different organizations. He enthusiastic about learning new technologies and shares his knowledge through his blogs.

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.

*

*

Previous Post:
Next Post: