diff --git a/git.php b/git.php index 4b0ee875a..0f2b15678 100644 --- a/git.php +++ b/git.php @@ -44,12 +44,17 @@ site_header("Git Access", array("current" => "community"));

@@ -73,6 +78,13 @@ site_header("Git Access", array("current" => "community"));

git clone http://git.php.net/repository/php-src.git

+ + You can also download a snapshot from GitHub:

+

  • @@ -83,14 +95,17 @@ site_header("Git Access", array("current" => "community"));
  • - You can then check out the branch you want to build: + You can then check out the branch you want to build, for example:

    - PHP 5.3: - git checkout PHP-5.3 -
    PHP 5.4: git checkout PHP-5.4
    + PHP 5.5: + git checkout PHP-5.5 +
    + PHP 5.6: + git checkout PHP-5.6 +
    PHP HEAD: git checkout master

    @@ -99,8 +114,8 @@ site_header("Git Access", array("current" => "community"));
  • Note that certain combinations of autoconf, automake and libtool may not - work when used together. See below for - details.
    + work when used together, particularly with historical versions of PHP. See + below for details.
    Also, certain versions of autoconf may generate warnings of AC_PROG_CPP called before AC_PROG_CC. These messages can usually be ignored.

    @@ -112,10 +127,10 @@ site_header("Git Access", array("current" => "community"));
  • From this point onwards, installation is similar to the installation of one of - the official packages with one main difference – you may need bison 1.28 or later - and flex 2.5.4 (PHP 5.2 and earlier) or re2c 0.13.4+ or later (PHP 5.3 and later) to - compile, because the pre-generated scanner and parser files may not - be included in Git. + the official packages with one main difference – you will need + a version of bison that is supported for the PHP version you want to build. + You may also require re2c if you intend to change any of the scanner and + parser files PHP uses.
  • @@ -139,15 +154,16 @@ site_header("Git Access", array("current" => "community"));

    The PHP manual is still currently hosted on SVN, although it will be migrated - to Git in the near future. To checkout the latest English version of the PHP + to Git in the future. To checkout the latest English version of the PHP manual:
    svn checkout https://svn.php.net/repository/phpdoc/modules/doc-en ./phpdoc-en

    You can also check the SVN FAQ on the wiki.

    - -

    autoconf, automake and libtool information

    +

    Historical issues

    + +

    autoconf, automake and libtool information for PHP 5.3 and below

    There seem to be problems with libtool 1.4.2. It is suggested @@ -171,8 +187,7 @@ site_header("Git Access", array("current" => "community")); PHP_AUTOCONF=autoconf213 PHP_AUTOHEADER=autoheader213 ./buildconf

    - -

    Zend/zend_language_scanner.c: No such file or directory

    +

    Zend/zend_language_scanner.c: No such file or directory

    PHP only supports flex 2.5.4, not later versions as they broke backwards compatibility.