php: Mise à jour installation phalcon
This commit is contained in:
parent
7b9be883c1
commit
8acf4fdc85
17
HowtoPHP.md
17
HowtoPHP.md
|
@ -450,6 +450,21 @@ Composer version 1.5.1 2017-08-09 16:07:22
|
|||
<https://docs.phalconphp.com/fr/latest/reference/install.html>
|
||||
<https://github.com/phalcon/phalcon-devtools>
|
||||
|
||||
### Installation à partir des dépot
|
||||
|
||||
``` shell
|
||||
# echo "deb https://packagecloud.io/phalcon/stable/debian/ $(awk -F= '/VERSION_CODENAME/{print$2}' /etc/os-release) main" \
|
||||
> /etc/apt/sources.list.d/php-phalcon.list
|
||||
# curl -Lo /etc/apt/trusted.gpg.d/php-phalcon.asc https://packagecloud.io/phalcon/stable/gpgkey
|
||||
# chmod 644 /etc/apt/trusted.gpg.d/php-phalcon.asc
|
||||
# apt update
|
||||
# apt install php7.3-psr php7.3-phalcon
|
||||
# php -m | grep phalcon
|
||||
phalcon
|
||||
```
|
||||
|
||||
### Instllation à partir de git (obsolète)
|
||||
|
||||
Installer les dépendances suivantes :
|
||||
|
||||
~~~
|
||||
|
@ -875,4 +890,4 @@ Par défaut ImageMagick met ses données temporaires dans `/tmp`. Dans le cas o
|
|||
<policymap>
|
||||
<policy domain="resource" name="temporary-path" value="/home/imagicktmp"/>
|
||||
</policymap>
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue