playSMS 1.4 on CentOS 7.2 with MariaDB 5.5.50

Yet another playSMS 1.4 installation article, this time its on CentOS 7.2 with MariaDB 5.5.50 instead of MySQL.

Prepare VPS

I’m using DigitalOcean VPS service and install CentOS 7.2 with enough RAM and disk, I choose 512MB RAM and 20GB SSD disk.

You can always use your own VPS or any other method to install CentOS.

Update CentOS

SSH to VPS and update CentOS:

yum update

Updating CentOS may take sometime to finish, and if you know what you’re doing than you can just skip this step.

Install LAMP Stack

Install web server, database server and PHP:

yum install php php-cli php-gd php-mysql httpd mariadb-server mariadb

For those who might now know MariaDB, put it simply that MariaDB is different database than MySQL but the usage and even command lines used are the same as MySQL. This article is choosing to use MariaDB simply because the default database server available on this CentOS repository is MariaDB.

Update MariaDB root password:

mysqladmin -uroot -p password password

In this article the configured root password is password

Install playSMS 1.4

You can download playSMS 1.4 from SourceForge and upload it to VPS or from inside the VPS use wget to download it:

wget -c

Extract the package:

tar -zxf playsms-1.4.tar.gz

Edit install configuration file install.conf to change WEBSERVERUSER and WEBSERVERGROUP from www-data to apache:

cd playsms-1.4
cp install.conf.dist install.conf
vi install.conf

Do the editing carefully. Make sure the web server user and group is apache and your MySQL database configuration is correct. If you follow this article as is then you don’t need to change other option beside WEBSERVERUSER and WEBSERVERGROUP.

Save install.conf and exit.

Next, run


Follow the install script until its done, answer y to all questions.

Make sure playSMS is installed correctly by the install script:

playsmsd check

Example output that is showing playSMS is installed correctly:

PLAYSMSD_CONF = /etc/playsmsd.conf
PLAYSMS_PATH = /var/www/html/playsms
PLAYSMS_LIB = /var/lib/playsms
PLAYSMS_BIN = /usr/local/bin
PLAYSMS_LOG = /var/log/playsms
PIDS schedule = 8284
PIDS ratesmsd = 8286
PIDS dlrssmsd = 8289
PIDS recvsmsd = 8293
PIDS sendsmsd = 8297

Note that PIDS are not empty and the IS_RUNNING option is filled with 1.

Enter Web GUI

Use browser to visit playSMS web GUI. Following this article the web GUI address should be:

http://<web server IP or hostname>/playsms/

The default playSMS web GUI user is admin and the password is admin.


2 thoughts on “playSMS 1.4 on CentOS 7.2 with MariaDB 5.5.50

  1. omar

    hello ,

    After I run and answer y to all questions, I get this message :

    ERROR: unable to get composer from

    Can you tell me what is the problem
    Thank you :)


Comments are closed.