Blame SOURCES/README

0663da
Package %{scl_name} provides the PHP scripting language as a Software
0663da
Collection.  For more information about Software Collections, see
0663da
scl(1).  By installing the %{scl_name} collection, you will get a
0663da
minimal set of packages to have a working PHP.
0663da
0663da
Usage: scl enable %{scl} 'php'
0663da
0663da
Software Collections allows use of applications which are not located
0663da
in the filesystem root hierarchy but are present in an alternative
0663da
location, which is %{_scl_root} in case of the %{scl_name}
0663da
collection.
0663da
0663da
PHP is an HTML-embedded scripting language. PHP attempts to make it
0663da
easy for developers to write dynamically generated web pages. PHP also
0663da
offers built-in database integration for several commercial and
0663da
non-commercial database management systems, so writing a
0663da
database-enabled webpage with PHP is fairly simple. The most common
0663da
use of PHP coding is probably as a replacement for CGI scripts.
0663da
0663da
The %{?scl_prefix}php package provides the module (often referred to as mod_php)
0663da
which adds support for the PHP language to Apache HTTP server.
0663da
0663da
The %{?scl_prefix}php-fpm package provides the FastCGI process manager
0663da
which adds support for the PHP language to FastCGI compatible servers.
0663da
0663da
FastCGI process manager (php-fpm) listens on local network soket
0663da
(by default port 9000).
0663da
0663da
When working with %{scl_name} collection, use the "scl" utility (see
0663da
scl(1) for usage) to enable the scl environment properly.
0663da
0663da
Configuration for the %{scl_name} software collection is located under %{_sysconfdir}.
0663da
0663da
Examples:
0663da
scl enable %{scl_name} 'command --arg'
0663da
  Run a specific command with argument --arg within %{scl_name} software collections
0663da
  environment.
0663da
0663da
scl enable %{scl_name} 'php'
0663da
  Run php from %{scl_name} software collection.
0663da
0663da
scl enable %{scl_name} bash
0663da
  Run interactive shell where %{scl_name} software collection is enabled.
0663da
0663da
scl enable %{scl_name} 'man php'
0663da
  Show man pages for php command, which is part of the %{scl_name} software
0663da
  collection.
0663da
0663da
%if 0%{?rhel} >= 7
0663da
systemctl start %{?scl_prefix}php-fpm
0663da
%else
0663da
service %{?scl_prefix}php-fpm start
0663da
%endif
0663da
  Starts the php-fpm server from %{scl_name} software collection.