From 549094d7d20ee7552b6069ec48255fea624c3c3b Mon Sep 17 00:00:00 2001 From: Xiaolong Yang Date: Tue, 13 Nov 2018 20:47:52 +0800 Subject: [PATCH] Update Doc '.php-fpm' to './php-fpm' (#1848) --- DOCUMENTATION/content/guides/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DOCUMENTATION/content/guides/index.md b/DOCUMENTATION/content/guides/index.md index 05c72a77..03f0b960 100644 --- a/DOCUMENTATION/content/guides/index.md +++ b/DOCUMENTATION/content/guides/index.md @@ -418,7 +418,7 @@ laradock_workspace_1 /sbin/my_init Up 0.0.0.0:2222- ## Enable xDebug on php-fpm -In a host terminal sitting in the laradock folder, run: `.php-fpm/xdebug status` +In a host terminal sitting in the laradock folder, run: `./php-fpm/xdebug status` You should see something like the following: ``` @@ -430,7 +430,7 @@ Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Xdebug v2.4.1, Copyright (c) 2002-2016, by Derick Rethans ``` -Other commands include `.php-fpm/xdebug start | stop`. +Other commands include `./php-fpm/xdebug start | stop`. If you have enabled `xdebug=true` in `docker-compose.yml/php-fpm`, `xdebug` will already be running when `php-fpm` is started and listening for debug info on port 9000. @@ -516,9 +516,9 @@ If you have enabled `xdebug=true` in `docker-compose.yml/php-fpm`, `xdebug` will ### Debug WebSite - In case xDebug is disabled, from the `laradock` folder run: -`.php-fpm/xdebug start`. +`./php-fpm/xdebug start`. - To switch xdebug off, run: -`.php-fpm/xdebug stop` +`./php-fpm/xdebug stop` - Start Remote Debugging - ![DebugRemoteOn](/images/photos/PHPStorm/DebugRemoteOn.png)