10.5.3 broke Apache

Discussion in 'macOS' started by tfr, May 28, 2008.

  1. tfr macrumors newbie

    Sep 23, 2003

    does anyone else have the same issue where Apache just won't start after upgrading to 10.5.3? Flicking the "Web sharing" switch under System Prefs > Sharing does nothing, using "apachectl" on the commandline thinks it has started Apache (as running it a second time says it's already running) - apparently it managed to create the PID file apachectl uses, but the httpd process does not appear.
  2. jersey-emt macrumors newbie

    Jun 6, 2008
    I had to recompile and reinstall Apache after installing the 10.5.3 update.

    Trying to restart Apache by running sudo apachectl restart gave the following error:

    httpd: Syntax error on line 114 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture

    I downloaded the Apache source, ./configure --enable-layout=Darwin --enable-mods-shared=all, make, sudo make install.

    Restarted Apache with apachectl restart and all worked again.
  3. wrldwzrd89 macrumors G5


    Jun 6, 2003
    Solon, OH
    Check your console for Apache-related error messages. This may reveal the cause of the problem.

Share This Page