- create a file on /usr/local/bin with name 'php';
nano /usr/local/bin/php
- paste de following code:
#!/bin/bash
docker exec -i --user=1000:1000 YOUR-CONTAINER-NAME php "$@"
Para instalar o testLink é necessário seguir estes passos | |
1° instalação do MySQL (se não tiver) | |
$ sudo apt-get install mysql-server | |
2° PHP5 e bibliotecas (se não tiver) | |
$ sudo apt-get install php5 php5-mysql php5-gd php5-ldap php5-json | |
3° instalação do Apache (se não tiver) | |
$ sudo apt-get install apache2 |