Files
devphp/README.md

50 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Environnement de développement PHP
==================================
Usage
-----
```bash
# Initialiser l'environnement
make init
# Démarrer
make up
# Mettre à jour
make upgrade
# vider les logs
make clear-log
# remettre a plat les droits
make set-acl
```
Configuration de VSCodium pour utiliser xdebug
----------------------------------------------
Nécessite l'extension PHP debug.
```json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"hostname": "172.17.0.1",
"port": 9000,
"pathMappings": {
"/var/www/html": "/home/[user_name]/public"
},
"xdebugSettings": {
"max_data": 65535,
"show_hidden": 1,
"max_children": 100,
"max_depth": 5
}
}
]
}
```