Debug php with strace and php-cgi

This commit is contained in:
benoit 2016-06-29 16:13:24 +02:00
parent 0fd05de295
commit 47bc500b29

View file

@ -1,3 +1,9 @@
Debug php with strace and php-cgi (especially useful for wp multisites).
```
HTTP_HOST=www.site.com SCRIPT_FILENAME=index.php REDIRECT_STATUS=CGI SERVER_NAME=www.site.com strace -s 65535 -o /tmp/strace php-cgi -f index.php
```
```ps``` with long user fields (here 20).
```