Tag Archive for 'php'

Debian 9: webserver notes

Debian 9.1 Stretch (stable).

If your Apache2 does not execute PHP code (even when PHP is already installed) check if a package ‘libapache2-mod-php7.0‘ is installed. Seems to be easy and obvious, but I faced this problem with Debian 9.

Asterisk AMI

Let your first-line support do ‘sip reload’ neither with knowing Asterisk, nor with a priveleged account in the system.
Set up manager.conf:

enabled = yes
webenabled = no

port = 5038
bindaddr =

secret = supportpass

displayconnects = yes
read = system,command
write = system,command

Create a php page on some host with Apache and PHP configured: