[thelist] upgrading PHP on OS X

John Corry jcorry at gmail.com
Sat Aug 16 19:33:56 CDT 2008

Every time I start/stop/restart Apache, it's with the full path.

Search doesn't reveal a httpd.pid file anywhere on my system.

Here's the output from /usr/local/apache2/bin/httpd -V

john-corrys-imac:~ jcorry$ /usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.9 (Unix)
Server built:   Aug 15 2008 13:49:22
Server's Module Magic Number: 20051115:15
Server loaded:  APR 1.3.0, APR-Util 1.3.0
Compiled using: APR 1.3.0, APR-Util 1.3.0
Architecture:   32-bit
Server MPM:     Prefork
   threaded:     no
     forked:     yes (variable process count)
Server compiled with....
  -D APACHE_MPM_DIR="server/mpm/prefork"
  -D HTTPD_ROOT="/usr"
  -D SUEXEC_BIN="/usr/bin/suexec"
  -D DEFAULT_PIDLOG="/var/run/httpd.pid"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_LOCKFILE="/var/run/accept.lock"
  -D DEFAULT_ERRORLOG="logs/error_log"
  -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
  -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
john-corrys-imac:~ jcorry$

Hassan Schroeder wrote:
> On Sat, Aug 16, 2008 at 5:02 PM, John Corry <jcorry at gmail.com> wrote:
>> Well, it is under /private/etc/apache2/
>> It seems to be the right file, as virtualhost changes there have been
>> reflected in the server.
>> The version of Apache I should be using is in usr/local/apache2/
>> When I start/stop/restart the server it's using the ./bin/apachectl
>> start/stop/restart command
> It sure sounds like the running version of Apache is /not/ the one
> you installed.
> Have you tried starting yours with the full path, e.g.
>> sudo /usr/local/apache2/bin/apachectl start
> You should also be able to figure this out by seeing which one has
> an 'httpd.pid' file in its logs directory.

More information about the thelist mailing list