Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tfr

macrumors newbie
Original poster
Hello,

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.
 
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.
 
Hello,

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.
Check your console for Apache-related error messages. This may reveal the cause of the problem.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.