You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/10/22 06:17:56 UTC
[skywalking-php] branch master updated: Update minimal supported PHP version to 7.2. (#25)
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 992da66 Update minimal supported PHP version to 7.2. (#25)
992da66 is described below
commit 992da66d4c2809aa48c959015914bda4728e3b2b
Author: jmjoy <jm...@apache.org>
AuthorDate: Sat Oct 22 14:17:51 2022 +0800
Update minimal supported PHP version to 7.2. (#25)
---
.github/workflows/rust.yml | 4 ----
README.md | 2 +-
docs/en/setup/service-agent/php-agent/README.md | 17 +++++++++++++----
3 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 597408b..aa732ec 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -52,10 +52,6 @@ jobs:
- macos-12
version:
# Many composer dependencies need PHP 7.2+
- # - php: "7.0"
- # swoole: "4.3.6"
- # - php: "7.1"
- # swoole: "4.5.11"
- php: "7.2"
swoole: "4.6.7"
- php: "7.3"
diff --git a/README.md b/README.md
index bd77675..66bbf84 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ Submit an [GitHub Issue](https://github.com/apache/skywalking/issues/new/choose)
## Installation Requirements
-SkyWalking PHP Agent requires SkyWalking 8.4+ and PHP 7.0+
+SkyWalking PHP Agent requires SkyWalking 8.4+ and PHP 7.2+
## Support List
diff --git a/docs/en/setup/service-agent/php-agent/README.md b/docs/en/setup/service-agent/php-agent/README.md
index 57e5ce9..d946b5a 100644
--- a/docs/en/setup/service-agent/php-agent/README.md
+++ b/docs/en/setup/service-agent/php-agent/README.md
@@ -1,24 +1,33 @@
# Setup PHP Agent
-1. Agent is available for PHP 7.0 - 8.x
+1. Agent is available for PHP 7.2 - 8.x
2. Build from source
3. Configure php.ini
## Requirements
+- GCC
+- Rustc
+- Cargo
+- Libclang
+- Make
+- Protoc
+
For Debian-base OS:
```shell script
sudo apt install gcc make cargo libclang protobuf-compiler
```
-## Install from pecl.net
+## Install
+
+### Install from pecl.net
```shell script
-sudo pecl install skywalking_agent
+pecl install skywalking_agent
```
-## Build & install from source
+### install from the source codes
```shell script
git clone --recursive https://github.com/apache/skywalking-php.git