Please notice: In the Dockerfile above you need to use compatible versions of XDebug and PHP. To build on some particular version of the image. Or you can add the tag you need (like we added 6.2.0-php8.2-apache above). To build on the latest version of the image wordpress. In this Dockerfile, you can replace the first line with e.g. # works here, and we can use it to enable xdebug: # the helper script docker-php-ext-enable (defined for image `php`) # and since `wordpress`, in turn, extends the official Docker image `php`, # Since this Dockerfile extends the official Docker image `wordpress`, # Copy xdebug.ini to /usr/local/etc/php/conf.d/ # Available branches of XDebug could be seen here: # Install XDebug from source as described here: XDebug 3įor XDebug 3, the Dockerfile of the cloned project will look like this: FROM wordpress:6.2.0-php8.2-apache Please notice: The easiest way to understand all this and start working with the code is to clone this project from GitHub.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |