Update 08-12-2019
This commit is contained in:
@@ -14,10 +14,10 @@ On installe un petit utilitaire [PHP Switcher Script](https://gist.github.com/rh
|
||||
$ curl -L https://gist.githubusercontent.com/rhukster/f4c04f1bf59e0b74e335ee5d186a98e2/raw > /usr/local/bin/sphp
|
||||
$ chmod +x /usr/local/bin/sphp
|
||||
|
||||
|
||||
https://gist.github.com/rhukster/f4c04f1bf59e0b74e335ee5d186a98e2/raw/b51e5f561dc6492249ac167813b9b40dcdd72bd0/sphp.sh
|
||||
```
|
||||
|
||||
Ensuite. pour changer de version:
|
||||
Ensuite pour changer de version:
|
||||
|
||||
```bash
|
||||
$ sphp 7.3
|
||||
@@ -106,6 +106,26 @@ xdebug.remote_port=9000
|
||||
|
||||
```
|
||||
|
||||
#### Installer l'extension ssh2:
|
||||
|
||||
```bash
|
||||
$ brew install libssh2
|
||||
|
||||
$ cd ~/Downloads
|
||||
$ git clone https://git.php.net/repository/pecl/networking/ssh2.git
|
||||
$ cd ssh2
|
||||
$ phpize
|
||||
$ ./configure
|
||||
$ make
|
||||
$ make install
|
||||
|
||||
$ cd /usr/local/etc/php/7.3/conf.d
|
||||
$ nano ext-ssh2.ini
|
||||
|
||||
Ajouter au fichier:
|
||||
extension="ssh2.so"
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Erreurs:
|
||||
|
||||
Reference in New Issue
Block a user