Skip to content

Commit bdf0423

Browse files
Refactor PHP installation instructions for clarity and consistency
1 parent ab5ac76 commit bdf0423

File tree

1 file changed

+9
-11
lines changed
  • content/learning-paths/servers-and-cloud-computing/php-on-gcp

1 file changed

+9
-11
lines changed

content/learning-paths/servers-and-cloud-computing/php-on-gcp/installation.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,15 @@ sudo zypper update -y
2121
Install PHP, PHP-FPM, Apache web server, and some commonly used PHP extensions by running:
2222

2323
```console
24-
sudo zypper install -y php php-cli php-fpm php-mysql php-xml php-mbstring php-opcache apache2
25-
```
26-
**Package breakdown:**
27-
- **php**: Core PHP interpreter used to run web applications.
28-
- **php-cli**: Enables running PHP scripts from the command line. Useful for testing and automation.
29-
- **php-fpm**: FastCGI Process Manager—manages PHP worker processes and improves concurrency and performance.
30-
- **php-mysql**: Provides MySQL/MariaDB database connectivity for PHP.
31-
- **php-xml**: Adds support for parsing and manipulating XML data.
32-
- **php-mbstring**: Adds multi-byte string handling, required by many web frameworks.
33-
- **php-opcache**: Boosts performance by caching precompiled PHP bytecode in memory, reducing runtime overhead.
34-
- **apache2**: Installs the Apache HTTP web server, which will serve PHP files via mod_php or FastCGI.
24+
sudo zypper install -y php php-cli php-fpm php-mysql php-xml php-mbstring php-opcache apache2```
25+
- `php`: provides the core PHP interpreter for running web applications.
26+
- `php-cli`: allows you to run PHP scripts from the command line, which is useful for testing and automation tasks.
27+
- `php-fpm`: installs the FastCGI Process Manager, which manages PHP worker processes and helps improve concurrency and performance.
28+
- `php-mysql`: enables PHP to connect to MySQL or MariaDB databases.
29+
- `php-xml`: adds support for parsing and manipulating XML data.
30+
- `php-mbstring`: enables multi-byte string handling, which is required by many web frameworks.
31+
- `php-opcache`: improves performance by caching precompiled PHP bytecode in memory, reducing runtime overhead.
32+
- `apache2`: installs the Apache HTTP web server, which serves PHP files using either mod_php or FastCGI.
3533

3634

3735
## Enable and start Apache

0 commit comments

Comments
 (0)