playSMS Forum

Ubuntu installation

I was installed playsms on my Ubuntu with this guide:

playsms is work and i have pids, but http and nginx didnt work.

I didnt configure this:

  • Prepare virtual host directory
  • Setup Nginx to enable site
  • Copy this to and save it
  • Enable

But i was try config default file with this guide:

Edit Nginx default website config file:

1 vi /etc/nginx/sites-enabled/default

Look for this part and insert index.php :

6 root /var/www/html ;

# Add index.php to the list if you are using PHP

index index.html index.htm index.php index.nginx-debian.html;

server_name _;

Look for this part and uncomment 2 lines to look like below snippet:

8 location ~ \.php$ {

include snippets /fastcgi-php .conf;


# # With php7.0-cgi alone:

# fastcgi_pass;

# # With php7.0-fpm:

fastcgi_pass unix: /run/php/php7.2-fpm.sock;


I was change php.ini
Edit php.ini and look for ;cgi.fix_pathinfo=1 :

1 vi /etc/php/7.2 /fpm/php .ini

Remove the comment and change the value to 0 , it must be set to this:

1 cgi.fix_pathinfo=0`

reload php 7.2 works, but nginx not
Job for nginx.service failed because the control process exited with error code is just an example, replace it with your own domain for playSMS.

Use manual for 1.4.2 if you use 1.4.2 dont mix it up.


Oki, what i must change, when i could start server as localhost/playsms? Thank you

I was install 1.4.2 with your manual. I was change to playsms everywhere. In browser i put localhost and show me nginx page. What url is to playsms? Thx

Hello Anton, i have the same problem than vaso, your last tutorial is for virtual host but we don’t to set up DNS services (i’m not a pro like you, bro…) just want to connect playsms with something like http://localhost/playsms.

1 Like

Same Question here …