Complete LAMP stack for PHP development, profiling and debugging
1.1K
Docker image for development and debugging purpose.
Source available at https://github.com/ste80pa/php-lamp-xdebug.
The image comes with WebGrind pre-installed https://github.com/jokkedk/webgrind and accessible under /webgrind/ location
This is the most critical setting. On Unix / Linux / MacOs machine must be set to the ip of the network interface card or to an alias ip address.
On MacOs you can create an alias typing
bash# sudo ifconfig lo0 alias 192.168.1.99 255.255.255.0
On Linux / Unix (this can vary depending on the distibution / os )
bash# ifconfig lo0:0 192.168.1.99 netmask 255.255.255.0 up
On Window machine (requires administrator privileges)
First search for interface alias
PS C:/>Get-NetIPInterface | Format-Table
then add alias
PS C:/>netsh interface ip add address "Loopback Pseudo-Interface 1" 192.168.1.99 255.255.255.0
Sets the default remote port. By Default it is set to 9000
SITE_TYPE environment variable instruct the stack about the kind of configuration apache should use, in other words sets the DocumentRoot on web, public or to the root of the folder you attached to the volume /var/www/html.
The values accepted are:
Content type
Image
Digest
Size
285.6 MB
Last updated
about 9 years ago
docker pull ste80pa/php-lamp-xdebug