Development

Changeset 6615

You must first sign up to be able to contribute.

Changeset 6615

Show
Ignore:
Timestamp:
12/20/07 16:06:38 (1 year ago)
Author:
francois
Message:

[doc 1.1] PHP requirement is now 5.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.1/book/01-Introducing-Symfony.txt

    r6117 r6615  
    100100### PHP 5 
    101101 
    102 Symfony is developed in PHP 5 ([http://www.php.net/](http://www.php.net/)) and dedicated to building web applications with the same language. Therefore, a solid understanding of PHP 5 is required to get the most out of the framework. 
     102Symfony is developed in PHP 5 ([http://www.php.net/](http://www.php.net/)) and dedicated to building web applications with the same language. Therefore, a solid understanding of PHP 5 is required to get the most out of the framework. The minimal version of PHP required to run symfony is PHP 5.1. 
    103103 
    104104Developers who already know PHP 4 but not PHP 5 should mainly focus on the language's new object-oriented model. 
  • doc/branches/1.1/book/03-Running-Symfony.txt

    r6117 r6615  
    44As you've learned in previous chapters, the symfony framework is a set of files written in PHP. A symfony project uses these files, so installing symfony means getting these files and making them available for the project. 
    55 
    6 Being a PHP 5 framework, symfony requires PHP 5. Make sure you have it installed by opening a command line and typing this command: 
     6Symfony requires at least PHP 5.1. Make sure you have it installed by opening a command line and typing this command: 
    77 
    88    > php -v 
    99 
    10     PHP 5.2.0 (cli) (built: Nov 2 2006 11:57:36) 
    11     Copyright (c) 1997-2006 The PHP Group 
    12     Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies 
    13  
    14 If the version number is 5.0 or higher, then you're ready for the installation, as described in this chapter. 
     10    PHP 5.2.5 (cli) (built: Nov 20 2007 16:55:40)  
     11    Copyright (c) 1997-2007 The PHP Group 
     12    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies 
     13 
     14If the version number is 5.1 or higher, then you're ready for the installation, as described in this chapter. 
    1515 
    1616Installing the Sandbox 
  • doc/branches/1.1/book/17-Extending-Symfony.txt

    r6611 r6615  
    880880      <required> 
    881881       <php> 
    882         <min>5.0.0</min> 
     882        <min>5.1.0</min> 
    883883       </php> 
    884884       <pearinstaller> 
     
    911911Plug-ins are designed to work with a given set of versions of PHP, PEAR, symfony, PEAR packages, or other plug-ins. Declaring these dependencies in the `<dependencies>` tag tells PEAR to check that the required packages are already installed, and to raise an exception if not. 
    912912 
    913 You should always declare dependencies on PHP, PEAR, and symfony, at least the ones corresponding to your own installation, as a minimum requirement. If you don't know what to put, add a requirement for PHP 5.0, PEAR 1.4, and symfony 1.0. 
     913You should always declare dependencies on PHP, PEAR, and symfony, at least the ones corresponding to your own installation, as a minimum requirement. If you don't know what to put, add a requirement for PHP 5.1, PEAR 1.4, and symfony 1.0. 
    914914 
    915915It is also recommended to add a maximum version number of symfony for each plug-in. This will cause an error message when trying to use a plug-in with a more advanced version of the framework, and this will oblige the plug-in author to make sure that the plug-in works correctly with this version before releasing it again. It is better to have an alert and to download an upgrade rather than have a plug-in fail silently.