Blame SOURCES/README

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