Apache Web-Serving with Mac OS X: Part 1
Subject:   Web Sharing Starting Up...
Date:   2007-02-18 05:51:09
From:   shuffm
Great article. I want to start doing this. I have a brand new MacBook Pro. I haven't really installed anything on it yet.

I followed the directions, and web sharing just says it's starting but never starts.

I went to the terminal and typed: sudo apachectl start

I get this:

Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
Syntax error on line 8 of /private/etc/httpd/users/+entropy-php.conf:
Cannot load /usr/local/php5/ into server: (reason unknown)
/usr/sbin/apachectl start: httpd could not be started

I'm a Windows and ASP guy. I have no clue how to get the server running. Sounds easy, but something is apparently not working. A couple other people have the same problem on this post, but I see no solutions. Please help...anybody. Thanks.

Main Topics Newest First

Showing messages 1 through 4 of 4.

  • Solved my own problem.
    2007-02-18 07:09:47  shuffm [View]

    Well, in case anyone else has this problem in the future. Here is what I did. I went to Mark Liyanage's site on installing PHP on a Mac OS X 10.4. I followed the directions to download and install the PHP 5.2.1 Package for Apache Server 1.3. It installed PHP, MySQL, and a ton of other stuff. Best of all, when it was done, I went to Sharing folder and the server was already up and running.
  • Web Sharing Starting Up...
    2007-03-16 14:44:03  wencryo [View]

    I need help with Apache. I think I have modified some files, and now nothing is working.
    if I do
    sudo /usr/local/apache2/bin/apachectl start
    it says:
    httpd (pid 270) already running

    but I can get Web Sharing to start up

    can someody help me? PLEASEEEEEEE
  • Web Sharing Starting Up...
    2007-09-04 06:04:38  august29of73 [View]

    I had the same problem, but it was becasue I was trying to install with bundles. If you remove everything you tried to install previously and compile Apache, PHP, and MySql from the command line, you will be able to handle this with success.

    I started with MySQL, then installed Apache2, and PHP last.

    It is a little tedious if you have no real IT experience and have only done WinBlows, but it is definitly worth it. Besides, you may learn something -- and there are many tutorials on how to do this available for your google pleasure.
  • Web Sharing Starting Up...
    2007-10-20 00:21:25  darren14 [View]

    Are you using Apache 1.3 which is the default Web server of Mac?

    If yes, just go to Systems Preferences click sharing then check Personal Web Sharing

    And if you have another Apache version installed, uncheck the Personal Web Sharing. Then, open your terminal. I am sure that you have a directory local that resides on /usr/ ... it goes this way /usr/local/apache2/bin/./apachectl -k start

    this should solve your problem...