Install LAMP on Cloudlinux 6
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and In-house Control Panels
  1. thanh thanh
  2. Monday, 13 October 2014
  3.  Subscribe via email
mod_lsapi Apache, MySQL Governor, PHP Selector, CageFS, LVE Manager
Rate this post:
  1. 13.10.2014 12:10:21
  2. # 1
thanh thanh Accepted Answer
Posts: 2
Joined: 13.10.2014
Hello everybody, first , sorry for my english is very bad :cry:
I'm trying to configure LAMP with CloudLinux technology ( mod_lsapi Apache , MySQL Governor , PHP Selector , CageFS , LVE Manager )
This is my configuration steps:

# Install PHP + HTTPD:
yum -y install lvemanager
yum -y install httpd-devel httpd mod_ssl php php-mysql php-gd php-imap php-ldap php-mbstring php-odbc php-pear php-xml php-xmlrpc
(It will be a native PHP 5.3)

# Install MYSQL:
yum -y install governor-mysql --enablerepo=cloudlinux-updates-testing
/usr/share/lve/dbgovernor/db-select-mysql --mysql-version=mariadb55
/usr/share/lve/dbgovernor/ --install

# Install Cagefs:
mkdir -p /home/cagefs-skeleton
ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton
yum -y install cagefs
/usr/sbin/cagefsctl --init
/usr/sbin/cagefsctl --enable-all

# Install PHP Selector:
yum -y groupinstall alt-php
yum -y update cagefs lvemanager

# Apache mod_lsapi install:
yum -y install liblsapi liblsapi-devel --enablerepo=cloudlinux-updates-testing
yum -y install mod_lsapi --enablerepo=cloudlinux-updates-testing
/usr/bin/switch_mod_lsapi --setup

cagefsctl --force-update

That's all ^^

Then I create a vhost file and use for my domain

  DocumentRoot /home/
  DirectoryIndex index.htm index.html index.php

So there , I just wanted to ask my vhost file correct?
Thanks everyone ! :D

PS:/with that vhosts file we have "LiteSpeed ​​API" in info.php but I get an error , cannot login ( wordpress , phpmyadmin ... ) it show a blank pages . only GET , cannot POST with PHP on handler mod_lsapi
  1. 14.10.2014 05:10:43
  2. # 2
thanh thanh Accepted Answer
Posts: 2
Joined: 13.10.2014
yum update mod_lsapi --enablerepo=cloudlinux-updates-testing

mod_lsapi.x86_64 0:0.1-76.el6.cloudlinux can fix it! :D
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.

EU e-Privacy Directive

We use cookies to ensure you get the best experience using our website and services. Read more about it in our Privacy Policy. Please agree to the use of cookies to proceed. Alternatively, you may disable cookies in your browser at any time.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.