I did a little test to see how PHP page can interact with Asterisk and send a command form PHP to asterisk like :
fputs ($ socket, "Action: Command \ r \ n");
fputs ($ socket, "Command: reload \ r \ n \ r \ n");
now i want to open ‘.Conf’ asterisk file from PHP and update it, ie send commands from PHP page which allows to change the configuration of asterisk,
Can you help me , any idea ?
Thank you in advance for any help,