Subscribe to
Posts
Comments
NSLog(); Header Image

DPHP

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."

2 Responses to "DPHP"

  1. 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.

  2. Yeah, actually now that it's fixed, the -DPHP is still there. With just 30 processes, not 152, though.