mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-18 11:31:16 +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
|
mv composer.phar /usr/local/bin/composer
|
||||||
{% endhighlight %}
|
{% 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
|
This will download `composer.phar` (a PHP binary archive). You can run this with `php` to manage your project
|
||||||
dependencies.
|
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.
|
code online first to confirm it is safe.
|
||||||
|
|
||||||
#### Installing on Windows
|
#### Installing on Windows
|
||||||
|
@@ -12,7 +12,7 @@ production (live).
|
|||||||
|
|
||||||
### Development
|
### 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 %}
|
{% highlight ini %}
|
||||||
display_errors = On
|
display_errors = On
|
||||||
@@ -37,7 +37,7 @@ use either `-1` or `E_ALL | E_STRICT`.
|
|||||||
|
|
||||||
### Production
|
### 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 %}
|
{% highlight ini %}
|
||||||
display_errors = Off
|
display_errors = Off
|
||||||
|
Reference in New Issue
Block a user