mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-11 00:03:58 +02:00
Several grammatic edits to introductory topics to improve readability and flow.
This commit is contained in:
@@ -6,7 +6,7 @@ anchor: use_the_current_stable_version
|
||||
|
||||
## Use the Current Stable Version (5.5) {#use_the_current_stable_version_title}
|
||||
|
||||
If you are just getting started with PHP make sure to start with the current stable release of [PHP 5.5][php-release]. PHP has made great strides adding powerful [new features](#language_highlights) over the last few years. Don't let the minor version number difference between 5.2 and 5.5 fool you, it represents _major_ improvements. If you are looking for a function or its usage, the documentation on the [php.net][php-docs] website will have the answer.
|
||||
If you are getting started with PHP, start with the current stable release of [PHP 5.5][php-release]. PHP has added powerful [new features](#language_highlights) over the last few years. Though the incremental version number difference between 5.2 and 5.5 is small, it represents _major_ improvements. If you are looking for a function or its usage, the documentation on the [php.net][php-docs] website will have the answer.
|
||||
|
||||
[php-release]: http://www.php.net/downloads.php
|
||||
[php-docs]: http://www.php.net/manual/en/
|
||||
|
@@ -6,7 +6,7 @@ anchor: builtin_web_server
|
||||
|
||||
## Built-in web server {#builtin_web_server_title}
|
||||
|
||||
You can start learning PHP without the hassle of installing and configuring a full-fledged web server (PHP 5.4+ required). To start the server, run the following from your terminal in your project's web root:
|
||||
With PHP 5.4 or newer, you can start learning PHP without installing and configuring a full-fledged web server. To start the server, run the following command from your terminal in your project's web root:
|
||||
|
||||
> php -S localhost:8000
|
||||
|
||||
|
@@ -11,11 +11,10 @@ Mountain Lion has 5.3.10, and Mavericks has 5.4.17.
|
||||
To update PHP on OSX you can get it installed through a number of Mac [package managers][mac-package-managers], with
|
||||
[php-osx by Liip][php-osx-downloads] being recommended.
|
||||
|
||||
The other option is to [compile it yourself][mac-compile], in that case be sure to have installed either Xcode or
|
||||
Apple's substitute ["Command Line Tools for Xcode"][apple-developer] downloadable from Apple's Mac Developer Center.
|
||||
You can also [compile it yourself][mac-compile]; if you do, be sure to have installed either Xcode or
|
||||
Apple's substitute ["Command Line Tools for Xcode"][apple-developer], downloadable from Apple's Mac Developer Center.
|
||||
|
||||
For a complete "all-in-one" package including PHP, Apache web server and MySQL database, all this with a nice control
|
||||
GUI, try [MAMP][mamp-downloads] or [XAMPP][xampp].
|
||||
For a complete "all-in-one" package that includes PHP, Apache web server and MySQL database, all with a nice graphical interface, try [MAMP][mamp-downloads] or [XAMPP][xampp].
|
||||
|
||||
[mac-package-managers]: http://www.php.net/manual/en/install.macosx.packages.php
|
||||
[mac-compile]: http://www.php.net/manual/en/install.macosx.compile.php
|
||||
|
@@ -5,7 +5,7 @@ anchor: command_line_interface
|
||||
|
||||
## Command Line Interface {#command_line_interface_title}
|
||||
|
||||
PHP was created primarily to write web applications, but it's also useful for scripting command line interface (CLI) programs. Command line PHP programs can help you automate common tasks like testing, deployment, and application administrivia.
|
||||
PHP was created to write web applications, but is also useful for scripting command line interface (CLI) programs. Command line PHP programs can help automate common tasks like testing, deployment, and application administrivia.
|
||||
|
||||
CLI PHP programs are powerful because you can use your app's code directly without having to create and secure a web GUI for it. Just be sure not to put your CLI PHP scripts in your public web root!
|
||||
|
||||
|
Reference in New Issue
Block a user