Uncategorized

Install apache on mac 10.9


  1. Installing Apache, PHP, and MySQL on Mac OS X.
  2. Setting up a local web server on OS X … - Apple Community.
  3. Shutting Down Apache & Restarting Apache Server.
  4. How to install Apache/PHP/MySQL on Mac OSX Mavricks? | JesoX.

Not ideal for a local development environment. You will need to rerun the steps below to uncomment the vhost Include after upgrading an existing install to Mac OS X Mavericks. To run sites individually you need to enable VirtualHosts. To do so, we'll edit the Apache Configuration again.

Coolest Guides On The Planet

The first VirtualHost is important as it behaves like the default Apache configuration and used when no others match. The second VirtualHost points to my dev workspace and I can access it directly from http: For ease of development, I also configured some custom logs. I use the extension local. This avoids conflicts with any real extensions and serves as a reminder I'm in my local environment. In order to access http: You will need to create a new VirtualHost and edit your hosts file each time you make a new local site.

homebrew - Installing apache on OS X Mavericks - Stack Overflow

You may receive Forbidden when you visit your local site. This is likely a permissions issue. If you are not familiar with permissions, read more. For now though, the easiest thing to do is ensure your web directory has permissions of You can change permissions with the command:. Which by default is only readable by me. There are many ways to solve permission issues. I have provided this as the easiest solution, not the best.

I won't go into the details. Read the installation guide for more information. I install utility applications in the default directory. That way I can access them under, in this case, http: A local development environment is a mandatory part of the Software Development Process.

Customizing Apache

Find this interesting? Let's continue the conversation on Twitter. Verify It works! Now you are ready to turn on Apache itself. But first, do a sanity check.


  • port mac 70.3 wave starts.
  • Enable PHP for Apache.
  • Enable Apache on Mac OS X!
  • notepad++ mac os x alternative.
  • how to open files on mac without permission.
  • alarm clock for mac os x free download.
  • meilleur navigateur web pour mac os x.
  • Sometimes copying and pasting from an internet forum can insert invisible, invalid characters into config files. Check your configuration by running the following command in the Terminal:. If this command returns "Syntax OK" then you are ready to go.

    It may also print a warning saying "httpd: Could not reliably determine the server's fully qualified domain name". But for a development server, you don't need to do anything. You can just ignore that warning. You can safely ignore other warnings too. If you want to add modules to PHP, I suggest the following site.

    How to install Apache/PHP/MySQL on Mac OSX 10.9 Mavricks?

    I can't explain it any better. If you want to make further changes to your Apache system or user config files, you will need to restart the Apache server with:. Communities Contact Support. Sign in. Browse Search.

    Search form

    Ask a question. User profile for user: Mac OS X Speciality level out of ten: Setting up a local web server on OS X Basic understanding of Terminal. Basic understanding of web servers. Basic usage of vi. You can substitute nano if you want. Xcode is required for adding PHP modules. Here goes To get started, edit the Apache configuration file as root: If you want to run Perl scripts, you will have to do something similar: Enable Perl by uncommenting line , changing: To create one manually, enter the following: If that file doesn't exist, you will need to create it with: Options Indexes MultiViews to: