I never made any php executable earlier in any remote server. Now I am using a socket connection and so I need to make a php executable of this. According to php manual I need to do the following-
But how will I do that in VPS or in web hosting server where I use cpanel?(chmod 755 my_server.php – where socket_server.php is the name of the file) and run it using ./my_server.php from the command line.
Please suggest me some way.
Thanks in advance.