Install playSMS 1.4.3 on Ubuntu 18.04

Installation manual for playSMS version 1.4.3 on Ubuntu 18.04 is available from this blog.

Feel free to join the Forum and discuss it.

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/

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 “playSMS 1.4.2 on Ubuntu 18.04”

Docker for playSMS 1.4

Short announcement. Recently I’ve updated the image antonraharja/playsms on Docker registry with playSMS 1.4. It means when you follow the previous Docker playSMS tutorial I wrote now you’ll get playSMS 1.4 installed.

Here is the full step by step tutorial:

Just to remind you how I create the playSMS Docker image, here is the project website:

Enjoy.

Youtube videos for playSMS 1.3.1 with Gammu on Ubuntu 15.04

You might find these videos helpful if you’re new to playSMS and would like to get started a bit faster. I see that the tutorial is using the latest playSMS version at the moment and that is good.

Here you are:

Thanks to the uploader. Please visit this blog for some more explanation (some additional screenshots).

Enjoy.