tech:cms_php_wordpress
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| tech:cms_php_wordpress [2025/11/09 19:09] – Jean-Baptiste | tech:cms_php_wordpress [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # CMS PHP Wordpress | ||
| + | |||
| + | Source : https:// | ||
| + | |||
| + | Debug Wordpress | ||
| + | |||
| + | `wp-config.php` | ||
| + | ~~~php | ||
| + | // Enable WP_DEBUG mode | ||
| + | define( ' | ||
| + | |||
| + | // Enable Debug logging to the / | ||
| + | define( ' | ||
| + | |||
| + | // Disable display of errors and warnings | ||
| + | define( ' | ||
| + | @ini_set( ' | ||
| + | |||
| + | // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) | ||
| + | define( ' | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Sécurité | ||
| + | |||
| + | ### Scan | ||
| + | |||
| + | ~~~bash | ||
| + | sudo apt-get install ruby-rubygems ruby-dev | ||
| + | export PATH=" | ||
| + | gem install --user-install wpscan | ||
| + | wpscan --url https:// | ||
| + | ~~~ | ||
| + | |||
| + | |||
