This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/skywalking-php.git
The following commit(s) were added to refs/heads/master by this push: new a1d6227 Add notice document for `skywalking_agent.enable`. (#85) a1d6227 is described below commit a1d622748befa9bfe9bf67bbc70e43459cab396b Author: jmjoy <jm...@apache.org> AuthorDate: Fri Jul 14 10:31:01 2023 +0800 Add notice document for `skywalking_agent.enable`. (#85) --- docs/en/setup/service-agent/php-agent/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/en/setup/service-agent/php-agent/README.md b/docs/en/setup/service-agent/php-agent/README.md index b621774..05c8e78 100644 --- a/docs/en/setup/service-agent/php-agent/README.md +++ b/docs/en/setup/service-agent/php-agent/README.md @@ -110,6 +110,11 @@ skywalking_agent.service_name = hello-skywalking Refer to the Configuration section for more configuration items. +> **Notice:** It is not recommended to enable `skywalking_agent.enable` by default globally, +> because skywalking agent will modify the hook function and fork a new process to be a worker. +> Enabling it by default will cause extra meaningless consumption when skywalking agent is not +> needed (such as simply executing a php script). + ## Run Start `php-fpm` server: