Using PHP 5.4 5.5 with VirtualMin

VirtualMin is one of the most well-known free website control panel for *Nix users. However, their related software is quite out-dated. One of the most complaints when using Webmin is that the PHP version is still 5.3.3 (from 2010 *__*). So, this quick tutorial guides how to install PHP 5.4 5.5 with VirtualMin.

  1. First, enable Epel and Remi repository on CentOS:
    1. For CentOS 32-bit:[bash]rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
      rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm[/bash]
    2. For CentOS 64-bit:[bash]rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
      rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm[/bash] or for CentOS 6: [bash]yum install http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm[/bash]
  2. Then, simply update PHP and their related packages:[bash]yum –enablerepo=remi install php[/bash]

    . After this step, remi will update PHP to version 5.4.x and MySQL to version 5.5.x. In my case, this is enough for the Laravel project, so I can satisfy with it :-). However, if you want PHP 5.5, use[bash]yum –enablerepo=remi,remi-php55 install php[/bash]

    instead.

  3. The upgrade will also upgrade MySQL from 5.1.x to 5.5.x. So, we must upgrade the mysql schema after that:[bash]mysql_upgrade -u root -p[/bash]

That’s all. Enjoy coding 🙂

Similar Posts

  • Install PHP 5.5 with OpCache and Google PageSpeed

    This tutorial guides step-by-step on how to install most recent/most updated versions of a regular PHP stack. This comprises PHP 5.5 with OpCache, Percona 5.6 server and Google PageSpeed for Apache HTTPD Import needed repo for PHP 5.5:[bash]rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm [/bash] Install PHP 5.5 and related softwares:[bash]yum –enablerepo=remi,remi-php55 install httpd php php-common…

  • CentOS 7 workaround

    Switching from CentOS 6 to CentOS 7 might be a little pain for many users. The main reason is that in CentOS 7, there are several changes which make the end-users feel not comfortable.  This quick note will introduce some new way to do some regular commands in CentOS 7. 1. Using systemctl In CentOS 6,…

  • Install OpenVPN server CentOS 7

    Today I will brief necessary steps for installing OpenVPN server CentOS 7. This will include custom server name and also rules for csf firewall which is widely used. The OpenVPN server name in this tutorial will be myvpnserver, associated domain will be myvpnserver.myserver.com, and server IP address is XXX.YYY.ZZZ.UUU . We will user a self-signed certificate…

  • Install Apache Solr on CentOS 6

    Solr is the popular, blazing fast open source enterprise search platform from the Apache LuceneTM project. Its major features include powerful full-text search, hit highlighting, faceted search, near real-time indexing, dynamic clustering, database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly reliable, scalable and fault tolerant, providing distributed indexing, replication…

Leave a Reply

Your email address will not be published. Required fields are marked *