Changeset 6615
- Timestamp:
- 12/20/07 16:06:38 (1 year ago)
- Files:
-
- doc/branches/1.1/book/01-Introducing-Symfony.txt (modified) (1 diff)
- doc/branches/1.1/book/03-Running-Symfony.txt (modified) (1 diff)
- doc/branches/1.1/book/17-Extending-Symfony.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.1/book/01-Introducing-Symfony.txt
r6117 r6615 100 100 ### PHP 5 101 101 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. 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. The minimal version of PHP required to run symfony is PHP 5.1. 103 103 104 104 Developers 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 4 4 As 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. 5 5 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:6 Symfony requires at least PHP 5.1. Make sure you have it installed by opening a command line and typing this command: 7 7 8 8 > php -v 9 9 10 PHP 5.2. 0 (cli) (built: Nov 2 2006 11:57:36)11 Copyright (c) 1997-200 6The PHP Group12 Zend Engine v2.2.0, Copyright (c) 1998-200 6Zend Technologies13 14 If the version number is 5. 0or 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 14 If the version number is 5.1 or higher, then you're ready for the installation, as described in this chapter. 15 15 16 16 Installing the Sandbox doc/branches/1.1/book/17-Extending-Symfony.txt
r6611 r6615 880 880 <required> 881 881 <php> 882 <min>5. 0.0</min>882 <min>5.1.0</min> 883 883 </php> 884 884 <pearinstaller> … … 911 911 Plug-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. 912 912 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.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.1, PEAR 1.4, and symfony 1.0. 914 914 915 915 It 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.