07-05-2020

-La section Distributions regroupe Solus, Mint et Debian
-Section Windows
This commit is contained in:
2020-05-07 13:43:00 +02:00
parent 7e64b5c348
commit 6103008715
39 changed files with 1198 additions and 59 deletions

View File

@@ -0,0 +1,61 @@
# PHP
#### Installer PHP
```bash
$ sudo eopkg install php
$ which php
/usr/bin/php
```
#### Fichier de configuration (par défaut):
```bash
/etc/php/php.ini
```
#### Fichiers de configuration (personnel):
Créer le répertoire `/etc/httpd/conf.d/` puis y mettre ses propres *.conf
```bash
/etc/httpd/conf.d/php.conf
```
#### Fichiers log:
```bash
/var/log/php-fpm.log
```
#### Redémarrer Apache et PHP:
```bash
$ sudo systemctl restart httpd && sudo systemctl restart php-fpm
```
Démarrer PHP au boot:
```bash
$ systemctl enable php-fpm
```
Status du service php:
```bash
$ systemctl status php-fpm
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor pr>
Active: inactive (dead)
```