Install playSMS 1.4.3 on CentOS 7

playSMS version 1.4.3 was released recently and currently it is the recommended playSMS version available. The release fixed critical security vulnerability and contains other bugfixes and improvements. This article shows you step by step howto install playSMS version 1.4.3 on CentOS 7.

I’m using DigitalOcean (DO) service to test the configuration and commands. Create new Droplet in DO account. Click here to register on DO if you don’t have an account.

Choose CentOS 7 (currently 7.6) and select at least the cheapest service (USD 5). Create and wait for a minute or two for the SSH to be ready. You can then login via SSH and start playSMS installation.

Login to your CentOS droplet (later we will call droplet as server) using SSH and follow instructions below step by step. Read carefully why you need to do each step correctly. Please pay attention to details.

This article first published in: https://antonraharja.com/2020/03/10/playsms-1-4-3-on-centos-7/

Continue reading “Install playSMS 1.4.3 on CentOS 7”

playSMS 1.4.3 has been released

playSMS version 1.4.3 is available for download. This version contains bugfixes and security fixes. Vulnerability found on previous playSMS considered severe and it is recommended to upgrade previous playSMS installation with version 1.4.3 as soon as possible.

Please visit this playSMS Forum post for more information.

UPDATE

Technical advisory about certain security vulnerability of playSMS related to this release has been published by Lucas Rosevear of NCC Group:

Again, timezone setup

This is the article of an example of how to fix timezone issue with playSMS.

This is my server’s time, its in UTC:

$ date
Wed Aug 1 03:22:21 UTC 2018

And then I check where is my php.ini, both for php-cli and php-fpm (I’m using Nginx with php-fpm):

$ php -i | grep php.ini
Configuration File (php.ini) Path => /etc/php/7.0/cli
Loaded Configuration File => /etc/php/7.0/cli/php.ini

I looked for date.timezone option on php.ini, edit it and set the option to my timezone Asia/Jakarta, its UTC+7. When done it will be like this:

$ cat /etc/php/7.0/cli/php.ini | grep date.timezone
; http://php.net/date.timezone
date.timezone = Asia/Jakarta

I also set it in php-fpm php.ini, not just php-cli php.ini:

$ cat /etc/php/7.0/fpm/php.ini | grep date.timezone
; http://php.net/date.timezone
date.timezone = Asia/Jakarta

Please note you need to restart php-fpm when you changed php-fpm php.ini.

In playSMS I set my default timezone to +0700 (its UTC+7):

Restart playsmsd and do some test, for example send an SMS with a schedule.

As a reference please read this:
https://playsms.org/2013/12/07/fix-timezone-problem/

plugin-telnyx for playSMS by PowerPBX

A recent pull-request has been made to the project, it was from PowerPBX for a gateway plugin telnyx. But since I’m having a hard time maintaining gateway plugins due to the need to keep following SMS service provider’s API, I prefer to reject it and ask them to setup their own project just for the plugin.

They did, and thanks for that.

So here you are, the plugin’s project website:

For those using the telnyx’s SMS service or would like to try it, please install the plugin by following installation manual on the plugin’s project website.

Enjoy.

 

(obsolete) playSMS 1.4.2 on Ubuntu 18.04

EDIT:

This article is old. Please use playSMS version 1.4.3 instead. Previous version of playSMS contains security vulnerabilities and have been fixed in 1.4.3.

Same method described in this article can still be used to install playSMS 1.4.3, you just need to change 1.4.2 to 1.4.3.


This howto will show you how to install playSMS 1.4.2 on Ubuntu 18.04, the latest version as of today. By using Ubuntu 18.04 as base distribution you can test whether or not playSMS 1.4.2 work properly with PHP 7.2 and MySQL 5.7.

Let’s Start

Login to your DigitalOcean web panel. If you haven’t got one then register for free here: https://m.do.co/c/aeec1cef58b6

Shameless plug: Notice the referral link there ? Yes, please click it so that you can earn USD 10 credit on DigitalOcean (for testing this howto maybe?) and when you actually use and spent money on DigitalOcean then I’ll also get something from them too :)

Quick FAQ:

Q: Can I install on different server other than DigitalOcean ?
A: Yes of course, you need Internet and preferably CLI root access

Continue reading “(obsolete) playSMS 1.4.2 on Ubuntu 18.04”

playSMS 1.4.2 Released

playSMS version 1.4.2 has been released and is available for download. Version 1.4.1 is skipped due to MySQL 5.7++ and PHP 7.2 compatibility. playSMS version 1.4.2 is not planned but has to be released, the major reason was security patches is required for known playSMS 1.4 vulnerabilities. It has also some fixes related MySQL server’s update and PHP 7, and some other bugfixes. If you installed previous version it is recommended to immediately update to this version.

Change logs can be read in this closed issues list and this commits list.

Get playSMS version 1.4.2 from playSMS download page.

Enjoy.