[MacPorts] howto/PHP modified

MacPorts noreply at macports.org
Tue Jan 6 21:29:33 PST 2015


Page "howto/PHP" was changed by ryandesign at macports.org
Diff URL: <https://trac.macports.org/wiki/howto/PHP?action=diff&version=12>
Revision 12
Comment: Add About and Versions sections
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/PHP
=========================================================================
--- howto/PHP (version: 11)
+++ howto/PHP (version: 12)
@@ -2,10 +2,23 @@
 
 [wiki:howto <- Back to the HOWTO section]
 
-This page describes the installation of the PHP 5.6 server under OSX (Yosemite 10.10.2) via MacPorts (version 2.3).   Date 28 December 2014 
-
-For information on integration '''Apache''' with '''MySQL''' and '''PHP''', see:''' [[howto/MAMP]]'''
-
+= About PHP = #about
+
+PHP is a popular server-side scripting language frequently used to develop web sites or command line scripts.
+
+For information on integrating Apache with MySQL and PHP, see [wiki:howto/MAMP MAMP].
+
+= Versions = #versions
+
+MacPorts includes several versions of PHP. You can install any or all of these versions simultaneously, though it is expected that you will only need to install one of them.
+
+* '''php56''': PHP v5.6.x. This is the latest stable version. 
+* '''php55''': PHP v5.5.x.
+* '''php54''': PHP v5.4.x.
+* '''php53''': PHP v5.3.x. This version reached [http://php.net/eol.php end of life] in 2014 and is therefore no longer recommended.
+* '''php52''': PHP v5.2.x. This version reached [http://php.net/eol.php end of life] in 2011 and is not recommended.
+
+This page shows how to install and use the php56 port, but you can use another version if you prefer; all of these ports use a similar directory layout.
 
 = Step 1: Install PHP 56 = #install
 
@@ -28,7 +41,7 @@
 or for a production server:
 {{{
 $ cd /opt/local/etc/php56
-$ sudo cp php.ini-production php.ini[[PageOutline]]
+$ sudo cp php.ini-production php.ini
 }}}
 then make changes to that newly created php.ini file - ''/opt/local/etc/php56/php.ini''
 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/PHP>
MacPorts <https://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'howto/PHP' page.
If it was not you, please report to .


More information about the macports-changes mailing list