mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
80 lines
2.2 KiB
XML
80 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<sect1 xml:id="install.macosx.packages" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Using Packages</title>
|
|
<simpara>
|
|
There are a few pre-packaged and pre-compiled versions of PHP for
|
|
macOS. This can help in setting up a standard
|
|
configuration, but if you need to have a different set of features
|
|
(such as a secure server, or a different database driver), you may
|
|
need to build PHP and/or your web server yourself. If you are unfamiliar
|
|
with building and compiling your own software, it's worth
|
|
checking whether somebody has already built a packaged
|
|
version of PHP with the features you need.
|
|
</simpara>
|
|
<simpara>
|
|
The quickest way to install php on macOS is with homebrew:
|
|
</simpara>
|
|
<para>
|
|
<orderedlist>
|
|
<listitem>
|
|
<para>
|
|
install homebrew, by following the instructions at <link xlink:href="https://brew.sh/">brew.sh</link>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
brew install php
|
|
</simpara>
|
|
</listitem>
|
|
</orderedlist>
|
|
</para>
|
|
<simpara>
|
|
The following alternative resources also offer easy to install packages and
|
|
precompiled binaries for PHP on Mac OS:
|
|
</simpara>
|
|
<para>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
MacPorts:
|
|
<link xlink:href="&url.mac.macports;">&url.mac.macports;</link>
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
Liip:
|
|
<link xlink:href="&url.mac.liip;">&url.mac.liip;</link>
|
|
(PHP 5.3 - PHP 7.3; deprecated)
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
Fink:
|
|
<link xlink:href="&url.mac.fink;">&url.mac.fink;</link>
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
</sect1>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|