Announcement

Collapse
No announcement yet.

Install LAMP on Cloudlinux 6

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Install LAMP on Cloudlinux 6

    mod_lsapi Apache, MySQL Governor, PHP Selector, CageFS, LVE Manager

  • #2
    Hello everybody, first , sorry for my english is very bad :cry:
    Im 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

    Thats 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 !

    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

    Comment


    • #3
      YEAH!
      yum update mod_lsapi --enablerepo=cloudlinux-updates-testing

      mod_lsapi.x86_64 0:0.1-76.el6.cloudlinux can fix it!

      Comment

      Working...
      X