Debug php with strace and php-cgi
This commit is contained in:
parent
0fd05de295
commit
47bc500b29
1 changed files with 6 additions and 0 deletions
|
@ -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).
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue