![]() To change the PHP-CLI version you need to simply change the PHP_VERSION in the. ![]() The PHP-CLI is installed in the Workspace container. It doesn’t serve your Application code, this is the PHP-FPM job. The PHP-CLI is only used for the Artisan Commands & Composer. Note: it’s not very essential to edit the PHP-CLI version. A) Switch from PHP 7.2 to PHP 5.6ģ - Set the desired version number: PHP_VERSION=5.6Ĥ - Finally rebuild the image docker-compose build php-fpmįor more details about the PHP base image, visit the official PHP docker images. The PHP-FPM is responsible for serving your application code, you don’t have to change the PHP-CLI version if you are planning to run your application on different PHP-FPM version. ![]() To stop single container do: docker-compose stop īy default, the latest stable PHP version is configured to run. You can also use the following command if you want to see only this project containers: docker-compose psĬlose all running Containers docker-compose stop List current running Containers docker ps ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |