Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and In-house Control Panels
  1. thanh thanh
  2. Monday, October 13, 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
0
Votes
Undo
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/mysqlgovernor.py --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 domain.com:
#useradd domain.com


  ServerName domain.com
  DocumentRoot /home/domain.com/public_html/
  DirectoryIndex index.htm index.html index.php
 
  lsapi_user_group domain.com domain.com
 




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
0
Votes
Undo
YEAH!
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!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Remove Upload Files (Maximum File Size: 2 MB)
You may insert polls into your post. The poll would then appear in the post.
Vote Options
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.