DPHP
Posted March 13th, 2005 @ 01:05pm by Erik J. Barzeski
Stupid server. I have no idea what '-DPHP' means, but I do know that whenever I see it - in conjunction with 152 processes - that my server is not working. Were it my own server, to which I have root access, I'd apachectl restart
or reboot the whole box.
It's not. It's a shared box to which I have shell (but not root) access. No apachectl restart
for me. Instead, I wait an hour or two for Interland to reboot the damn thing.
root 14480 0.1 0.5 14152 10540 ? S 12:49 0:01 /usr/sbin/httpd -DPHP root 14492 0.0 0.4 13592 10240 ? S 12:49 0:00 /usr/sbin/httpd -DPHP apache 14493 0.0 0.5 14312 10884 ? S 12:49 0:00 /usr/sbin/httpd -DPHP apache 14494 0.0 0.5 14292 10876 ? S 12:49 0:00 /usr/sbin/httpd -DPHP apache 14495 0.0 0.5 14152 10692 ? S 12:49 0:00 /usr/sbin/httpd -DPHP apache 14496 0.0 0.5 14292 10764 ? S 12:49 0:00 /usr/sbin/httpd -DPHP
Joy. As far as I'm concerned, DPHP stands for "Dinko Philan Herkkôla Phïp." That's Kliptonese for "you're screwed."
Posted 13 Mar 2005 at 2:19pm #
Actually -D to Apache means the same thing that -D means to GCC. It defines a symbol. So -DPHP defines the symbol named PHP. I suspect in your Apache configuration has things that will conditionally include additional configuration (presumably to enable PHP) if that symbol is defined.
Posted 13 Mar 2005 at 2:31pm #
Yeah, actually now that it's fixed, the -DPHP is still there. With just 30 processes, not 152, though.