install/macos/bundled.xml
12081e88fbd683e58a029153afd57f043df9721b
...
...
@@ -1,10 +1,10 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3
<sect1 xml:id="install.macosx.bundled" xmlns="http://docbook.org/ns/docbook">
4
-
<title>Using the bundled PHP</title>
4
+
<title>Using the bundled PHP prior to macOS Monterey</title>
5
5
<simpara>
6
-
PHP has come standard with Macs since OS X version 10.0.0. Enabling PHP
7
-
with the default web server requires uncommenting a few lines in the
6
+
PHP is bundled with macOS since macOS X (10.0.0) prior to macOS Monterey (12.0.0).
7
+
Enabling PHP with the default web server requires uncommenting a few lines in the
8
8
Apache configuration file <filename>httpd.conf</filename> whereas the
9
9
<acronym>CGI</acronym> and/or <acronym>CLI</acronym> are enabled by
10
10
default (easily accessible via the Terminal program).
...
...
@@ -14,14 +14,14 @@
14
14
a local development environment. It's <emphasis>highly recommended</emphasis>
15
15
to always upgrade PHP to the newest version. Like most live software,
16
16
newer versions are created to fix bugs and add features and PHP being is
17
-
no different. See the appropriate MAC OS X installation documentation for
17
+
no different. See the appropriate macOS installation documentation for
18
18
further details. The following instructions are geared towards a beginner
19
19
with details provided for getting a default setup to work. All users are
20
20
encouraged to compile, or install a new packaged version.
21
21
</simpara>
22
22
<simpara>
23
23
The standard installation type is using mod_php, and enabling the bundled
24
-
mod_php on Mac OS X for the Apache web server (the default web server,
24
+
mod_php on macOS for the Apache web server (the default web server,
25
25
that is accessible via System Preferences) involves the following steps:
26
26
</simpara>
27
27
<para>
...
...
@@ -104,7 +104,7 @@
104
104
</para>
105
105
<note>
106
106
<para>
107
-
Before OS X 10.5 (Leopard), PHP 4 was bundled instead of PHP 5 in
107
+
Before Mac OS X 10.5 (Leopard), PHP 4 was bundled instead of PHP 5 in
108
108
which case the above instructions will differ slightly by changing
109
109
5's to 4's.
110
110
</para>
...
...
@@ -126,7 +126,7 @@
126
126
Set the &php.ini; location or use the default
127
127
</simpara>
128
128
<simpara>
129
-
A typical default location on Mac OS X is
129
+
A typical default location on macOS is
130
130
<filename>/usr/local/php/php.ini</filename> and a call to
131
131
<function>phpinfo</function> will reveal this information.
132
132
If a &php.ini; is not used, PHP will use all default values.
...
...
@@ -169,7 +169,7 @@
169
169
<para>
170
170
To restart, either execute <literal>sudo apachectl graceful</literal> in
171
171
the shell or stop/start the "Personal Web Server" option in the
172
-
OS X System Preferences. By default, loading local files in the browser
172
+
macOS System Preferences. By default, loading local files in the browser
173
173
will have an <acronym>URL</acronym> like so:
174
174
<filename>http://localhost/info.php</filename> Or using the DocumentRoot
175
175
in the user directory is another option and would end up looking like:
176
176