i worry about the language that i'm using right now because right now i'm using PHP and i always have a second though about the language that suitable for my project.
As highlight by shahrul, you need to make sure that php can interface with serial port, because GSM modem uses COM Port (Serial Port) to send and received data.