title: PHP Set Process Title in Apache
body: <p>Is there a way to set the process title for a PHP script running under Apache (<code>mod_php</code>)?  Typically, if I look at the output of <code>top</code>, I just see a bunch of copies of <code>apache2</code>, which is not usefull.  I am using Ubuntu Linux in case that matters.</p>
  
  <p>I have found the PECL <a href="http://php.net/manual/en/function.setproctitle.php" rel="nofollow">proctitle</a> extension, but it seems that it doesn't work very well.  Plus, it's an extension, meaning I would have to get it installed, etc.  I would prefer another way.</p>
  
  <p>I also found the <a href="http://php.net/manual/en/function.cli-set-process-title.php" rel="nofollow">cli_set_process_title</a> function, which seems to do what I want, but it only works in CLI mode.  Is there an Apache version of this function?</p>