Update 08-12-2019
This commit is contained in:
@@ -157,6 +157,8 @@ Rajouter ce bloc pour chaque Virtual Host.
|
||||
</VirtualHost>
|
||||
```
|
||||
|
||||
https://deliciousbrains.com/https-locally-without-browser-privacy-errors/
|
||||
|
||||
|
||||
|
||||
### Générer un certificat auto-signé:
|
||||
@@ -307,7 +309,7 @@ $ sudo apachectl start
|
||||
`Fatal Python error: Py_Initialize: unable to load the file system codec`
|
||||
`ModuleNotFoundError: No module named 'encodings'`
|
||||
|
||||
Dans `https.conf` commencer par vérifier la version de Python dans la ligne suivante. Si elle est correcte, commenter la ligne:
|
||||
Dans `httpd.conf` commencer par vérifier la version de Python dans la ligne suivante. Si elle est correcte, commenter la ligne:
|
||||
|
||||
`WSGIPythonHome "/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6"`
|
||||
|
||||
|
||||
@@ -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