MaJ du 22-10-2020
This commit is contained in:
@@ -6,15 +6,19 @@
|
||||
|
||||
[composer](composer.md)
|
||||
|
||||
[PHP](php.md)
|
||||
|
||||
[PHP 7.2](php72)
|
||||
|
||||
[MySQL](mysql)
|
||||
|
||||
[mongodb](mongodb)
|
||||
|
||||
[PHP](php.md)
|
||||
|
||||
[PHP 7.2](php72)
|
||||
|
||||
[PHP 7.3](php73.md)
|
||||
|
||||
[Protéger l'accès à une page par un mot-de-passe](htpasswd.md)
|
||||
|
||||
[Xhprof](Xhprof.md)
|
||||
|
||||
[Protéger l'accès à une page](htpasswd.md)
|
||||
|
||||
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
# PHP 7.2
|
||||
|
||||
|
||||
|
||||
Installer PHP 7.2 (Homebrew)
|
||||
|
||||
|
||||
|
||||
Désintaller PHP
|
||||
|
||||
$ brew uninstall --force php72
|
||||
|
||||
|
||||
|
||||
Installer PHP 7.2
|
||||
|
||||
$ brew install php72 --with-httpd --with-webp
|
||||
|
||||
|
||||
|
||||
Infos sur PHP 7.2
|
||||
|
||||
$ brew info php72
|
||||
homebrew/php/php72: stable 7.2.0 (bottled), HEAD
|
||||
PHP Version 7.2
|
||||
|
||||
|
||||
|
||||
$ brew upgrade php72-xdebug
|
||||
@@ -106,6 +106,17 @@ xdebug.remote_port=9000
|
||||
|
||||
```
|
||||
|
||||
Chaque version de PHP a son propre répertoire d'extensions:
|
||||
|
||||
```bash
|
||||
/usr/local/lib/php/pecl/20160303 ← 7.1
|
||||
/usr/local/lib/php/pecl/20170718 ← 7.2
|
||||
/usr/local/lib/php/pecl/20180731 ← 7.3
|
||||
/usr/local/lib/php/pecl/20190902 ← 7.4
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Installer une extension (depuis les sources):
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user