Changes between Version 11 and Version 12 of howto/PHP


Ignore:
Timestamp:
Jan 7, 2015, 5:29:31 AM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Add About and Versions sections

Legend:

Unmodified
Added
Removed
Modified
  • howto/PHP

    v11 v12  
    33[wiki:howto <- Back to the HOWTO section]
    44
    5 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
    6 
    7 For information on integration '''Apache''' with '''MySQL''' and '''PHP''', see:''' [[howto/MAMP]]'''
    8 
     5= About PHP = #about
     6
     7PHP is a popular server-side scripting language frequently used to develop web sites or command line scripts.
     8
     9For information on integrating Apache with MySQL and PHP, see [wiki:howto/MAMP MAMP].
     10
     11= Versions = #versions
     12
     13MacPorts 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.
     14
     15* '''php56''': PHP v5.6.x. This is the latest stable version.
     16* '''php55''': PHP v5.5.x.
     17* '''php54''': PHP v5.4.x.
     18* '''php53''': PHP v5.3.x. This version reached [http://php.net/eol.php end of life] in 2014 and is therefore no longer recommended.
     19* '''php52''': PHP v5.2.x. This version reached [http://php.net/eol.php end of life] in 2011 and is not recommended.
     20
     21This 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.
    922
    1023= Step 1: Install PHP 56 = #install
     
    2942{{{
    3043$ cd /opt/local/etc/php56
    31 $ sudo cp php.ini-production php.ini[[PageOutline]]
     44$ sudo cp php.ini-production php.ini
    3245}}}
    3346then make changes to that newly created php.ini file - ''/opt/local/etc/php56/php.ini''