How to Install Mibew Messenger into your Jelastic PHP Cloud

Mibew Messenger (or Open Web Messenger) is a freeware and open-source application for  online support in real-time. It is a kind of a call button, which is integrated into your site. A customer clicks on it and the chat with the support engineer begins. Mibew messenger doesn’t have a limitation on the operators, chats or users number.

Create an Environment

NOTE: If you don’t have a Jelastic account, please register it as described in the Getting Started document. 

1. Log in to the Jelastic Platform and click Create environment button in the upper left corner of the dashboard.

2. Choose the PHP tab. Pick Apache as your application server and MySQL as a database. Name your environment or use the default name. Click the Create button. mibew messenger 4e996329a2ab73750b2b7672522cb897mibew1 1 1

3. Just in seconds your new environment will be created and displayed in the environment list.   mibew messenger 4e996329a2ab73750b2b7672522cb897mbw2

You have received two emails as well: the first one with the confirmation of successful environment creation and the second one – with MySQL authorization details. 

Configure Database

1. Open the letter with a subject “MySQL node successfully added” in your Email box. Find there your Access URL, Login and Password. mibew messenger 4e996329a2ab73750b2b7672522cb897mibew3

2. Enter the phpMyAdmin panel by clicking on the access URL. Add your username and password (or copy them from the email).

3. Go to the Users tab and create a new user with an option “Create database with same name and grant all privileges“.

mibew messenger 4e996329a2ab73750b2b7672522cb897mb5

mibew messenger 4e996329a2ab73750b2b7672522cb897mibew6

Upload and Install the Application

1. Download the latest version of the Mibew Web Messenger (zip archive) choosing a language pack from the list or the default package. mibew messenger 4e996329a2ab73750b2b7672522cb897mb8

2. Go to your Jelastic dashboard and click Upload in the Jelastic Deployment Manager. Choose your archive file and click the Upload button. mibew messenger 4e996329a2ab73750b2b7672522cb897mibew4

3. Click the Deploy to icon next to the name of your archive file and choose your Environment. If you want to deploy several projects into one server specify the application’s target context (in our case it is not necessary). mibew messenger 4e996329a2ab73750b2b7672522cb897mibew5

4. Go to the Config Manager of Apache by clicking on the Config icon next to its name. mibew messenger 4e996329a2ab73750b2b7672522cb897mbw6

5. Find config.php file (/webroot/ROOT/libs/config.php) and edit the next lines:

  • at 21 line insert: $mibewroot = "”
  • at 31-34 line insert the needed data for MySQL connection (your MySQL host name, database name, user name and password you’ve created earlier)
  • at 43 line insert your Email

Save these changes. mibew messenger 4e996329a2ab73750b2b7672522cb897mibew4 2

6. Open your environment with next path:
http://{your_environment}.{hoster.domain}/install/index.php
If everything went well, you can see the Installation interface.

7. Click on the Create required tables. mibew messenger 4e996329a2ab73750b2b7672522cb897mibew8

8. Access the panel with the Login (admin) and an empty space in the Password field. mibew messenger 4e996329a2ab73750b2b7672522cb897MP14

9. Here you go! Now you have your support application deployed in the Jelastic cloud and can work with an Administrator panel of the Mibew Messenger. mibew messenger 4e996329a2ab73750b2b7672522cb897mb15