summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-03-09 11:57:26 +0100
committerRemi Collet <remi@php.net>2023-03-09 11:57:26 +0100
commitc4f79b9fa4bf482b8252099fbf6c303a594a48f0 (patch)
treeff116dc52ad0c71043ec51c0b6bea47524c3ab96 /README
parenta39f21bdab42d485cd54a54bde8bb1e8215b396a (diff)
define %scl_vendor and %_scl_prefix in macros.php81-config
move man page out of scl tree improve the man page
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 11 insertions, 3 deletions
diff --git a/README b/README
index 98cb9ef..b903c7e 100644
--- a/README
+++ b/README
@@ -23,12 +23,13 @@ which adds support for the PHP language to Apache HTTP server.
The %{?scl_prefix}php-fpm package provides the FastCGI process manager
which adds support for the PHP language to FastCGI compatible servers.
-FastCGI process manager (php-fpm) listens on local network soket
-(by default port 9000).
+FastCGI process manager (php-fpm) listens on local network soket.
When working with %{scl_name} collection, use the "scl" utility (see
scl(1) for usage) to enable the scl environment properly.
+You can alternatively use the "module" utility (see module(1) for usage).
+
Configuration for the %{scl_name} software collection is located under %{_sysconfdir}.
Examples:
@@ -46,9 +47,16 @@ scl enable %{scl_name} 'man php'
Show man pages for php command, which is part of the %{scl_name} software
collection.
+module load %{scl_name}
+ Enable %{scl_name} software collection in current interactive shell.
+
+module unload %{scl_name}
+ Disable %{scl_name} software collection in current interactive shell.
+
+
%if 0%{?rhel} >= 7
systemctl start %{?scl_prefix}php-fpm
%else
service %{?scl_prefix}php-fpm start
%endif
- Starts the php-fpm server from %{scl_name} software collection. \ No newline at end of file
+ Starts the php-fpm server from %{scl_name} software collection.