Unable to install playsms 1.3.1 on centos 6.3

hello am trying to install playsms 1.3.1 on my centos 6.3 but i get below error please advise thanks

chris

[root@li788-96 playsms-1.3.1]# ./install-playsms.sh

playSMS Install Script for Ubuntu (Debian based)

==================================================================
WARNING:

  • This install script WILL NOT upgrade currently installed playSMS
  • This install script WILL REMOVE your current playSMS database
  • This install script is compatible ONLY with playSMS version 1.2
  • Please BACKUP before proceeding
    ==================================================================

You ARE running this installation script as root
That means you need to make sure that you know what you’re doing

==================================================================

Proceed ?

When you’re ready press [y/Y] or press [Control+C] to cancel y

==================================================================

INSTALL DATA:

MySQL username = root
MySQL password = password
MySQL database = playsms
MySQL host = localhost
MySQL port = 3306

Web server user = www-data
Web server group = www-data

playSMS source path = /usr/local/src/playsms-1.3.1

playSMS web path = /var/www/html/playsms
playSMS lib path = /var/lib/playsms
playSMS bin path = /usr/local/bin
playSMS log path = /var/log/playsms

playSMS conf path = /etc

==================================================================

Please read and confirm INSTALL DATA above

When you’re ready press [y/Y] or press [Control+C] to cancel y

==================================================================

Are you sure ?

Please read and check again the INSTALL DATA above

When you’re ready press [y/Y] or press [Control+C] to cancel y

==================================================================

Installation is in progress

DO NOT press [Control+C] until this script ends

==================================================================

Getting composer from https://getcomposer.com

Please wait while the install script downloading composer

./install-playsms.sh: line 181: php: command not found
ERROR: unable to get composer from https://getcomposer.com

Pl install php…
I guess thats what d error says…

that script is for other OS not Centos,

try this: https://github.com/antonraharja/playSMS/blob/master/INSTALL.md#method-2-installation-on-linux-step-by-step