mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-18 19:41:15 +02:00
That'll break book stuff
This commit is contained in:
@@ -22,11 +22,12 @@ curl -sS https://getcomposer.org/installer | php
|
||||
mv composer.phar /usr/local/bin/composer
|
||||
{% endhighlight %}
|
||||
|
||||
<strong>Note:</strong> If the above fails due to permissions, run the `mv` line again with `sudo`.
|
||||
**Note:** If the above fails due to permissions, run the `mv` line again with `sudo`.
|
||||
|
||||
This will download `composer.phar` (a PHP binary archive). You can run this with `php` to manage your project
|
||||
dependencies.
|
||||
<strong>Please Note:</strong> If you pipe downloaded code directly into an interpreter, please read the
|
||||
|
||||
**Please Note:** If you pipe downloaded code directly into an interpreter, please read the
|
||||
code online first to confirm it is safe.
|
||||
|
||||
#### Installing on Windows
|
||||
|
@@ -12,7 +12,7 @@ production (live).
|
||||
|
||||
### Development
|
||||
|
||||
To show every possible error during <strong>development</strong>, configure the following settings in your `php.ini`:
|
||||
To show every possible error during **development**, configure the following settings in your `php.ini`:
|
||||
|
||||
{% highlight ini %}
|
||||
display_errors = On
|
||||
@@ -37,7 +37,7 @@ use either `-1` or `E_ALL | E_STRICT`.
|
||||
|
||||
### Production
|
||||
|
||||
To hide errors on your <strong>production</strong> environment, configure your `php.ini` as:
|
||||
To hide errors on your **production** environment, configure your `php.ini` as:
|
||||
|
||||
{% highlight ini %}
|
||||
display_errors = Off
|
||||
|
Reference in New Issue
Block a user