You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
-
docker-php-xdebug
2
-
=================
1
+
About this repo
2
+
===============
3
3
This repository contains Dockerfiles to build PHP images with `xdebug` installed and configured to run with modern IDEs like phpStorm.
4
+
4
5
Docker images are based on official Docker PHP builds that are available in Docker Store: <https://store.docker.com/images/php>
5
6
6
7
Why `docker-php-xdebug`?
@@ -9,11 +10,11 @@ Official PHP images are great, however they don't have `xdebug` plugin installed
9
10
10
11
Images from this repository are the solution for this issue, since they have installed and configured `xdebug` plugin.
11
12
12
-
The only difference from official Docker PHP images is that, the `xdebug` plugin is installed, configured and ready to use with modern IDEs like phpStorm.
13
+
The only difference from the official Docker PHP images is that, the `xdebug` plugin is installed, configured and ready to use with modern IDEs like phpStorm.
13
14
14
15
Use from Docker Registry
15
16
--------------------------
16
-
Since all images are based on official Docker PHP images, please check [official documentation](https://store.docker.com/images/php) how to use them from Docker Registry.
17
+
Since all images are based on official Docker PHP images, please check [official Docker PHP images documentation](https://store.docker.com/images/php) how to use them from Docker Registry.
17
18
18
19
The only difference is that, instead of downloading official Docker PHP image, you have to use one of the images listed below.
19
20
@@ -76,4 +77,11 @@ You can overwrite `xdebug` configuration in the following ways:
76
77
1. By replacing `xdebug.ini` with your own content when starting container, by mounting your own `xdebug.ini` file to `/usr/local/etc/php/conf.d/xdebug.ini`
77
78
2. By replacing specific PHP options with `-d` when starting php script in container:
3. By replacing specific PHP options in VirtualHost or `.htaccess` file when running web application in Apache as explained in PHP docs: http://php.net/manual/en/configuration.changes.php
80
+
3. By replacing specific PHP options in VirtualHost or `.htaccess` file when running web application in Apache as explained in PHP docs: http://php.net/manual/en/configuration.changes.php
81
+
82
+
FAQ
83
+
---
84
+
Q: Why images don't have specific PHP version like `7.2.2` but only major and minor version `7.2`?
85
+
86
+
A: It is because images have always the newest possible patch version of PHP based on official Docker PHP images.
87
+
For example for `mobtitude/php-xdebug:7.2-apache` you can expect that it is always the newest PHP version available in official Docker Registry and it is automatically updated when official PHP Docker images are updated. The newest possible PHP version at the time of writing is 7.2.2, but will be automatically updated to 7.2.3 when official PHP Docker images are updated.
0 commit comments