Skip to content

Instantly share code, notes, and snippets.

@christianparpart
Created July 28, 2011 16:49
Show Gist options
  • Save christianparpart/1111922 to your computer and use it in GitHub Desktop.
Save christianparpart/1111922 to your computer and use it in GitHub Desktop.
strace php-cgi wrt. "no input file specified"
accept(5, {sa_family=AF_INET, sin_port=htons(48486), sin_addr=inet_addr("127.0.0.1")}, [16]) = 6
poll([{fd=6, events=POLLIN}], 1, 5000) = 1 ([{fd=6, revents=POLLIN}])
read(6, "\1\1\0\1\0\10\0\0", 8) = 8
read(6, "\0\1\0\0\0\0\0\0", 8) = 8
read(6, "\1\4\0\1\2\21\7\0", 8) = 8
read(6, "\f\0QUERY_STRING\16\3REQUEST_METHODGE"..., 536) = 536
read(6, "\1\4\0\1\0\0\0\0", 8) = 8
brk(0xf9a000) = 0xf9a000
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0x662580, [PROF], SA_RESTORER|SA_RESTART, 0x7fab20b7d810}, {0x662580, [PROF], SA_RESTORER|SA_RESTART, 0x7fab20b7d810}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
write(6, "\1\6\0\1\0K\5\0Status: 404 Not Found\r\nC"..., 104) = 104
shutdown(6, 1 /* send */) = 0
recvfrom(6, "\1\5\0\1\0\0\0\0", 8, 0, NULL, NULL) = 8
recvfrom(6, "", 8, 0, NULL, NULL) = 0
close(6) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
accept(5,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment