

- Mac os x apache location mac os x#
- Mac os x apache location install#
- Mac os x apache location password#
- Mac os x apache location professional#
Mac os x apache location install#
Since I had already installed and played with a separate install of Tomcat (the version installed by Apple's XCode was out of date, as was the version I downloaded from another site), I was ready to give up!
Mac os x apache location professional#
I installed it the first time on a Windows XP Professional system, but my development machine is a Macintosh. I wanted to learn about Java Servlet Pages (JSP) on my Macintosh (with MacOS X). There is a link Current and CurrentVersion which matches up the current Java environment with the appropriate version. JAVA_HOME is at /Library/Java/Home, but this is a link into a directory /System/Frameworks/JavaJVM.Framework/Versions which is used to switch between versions easily. It is possible to run Java 1.4 on MacOS X Jaguar but it may interfere with operation of the standard environment. MacOS X 10.5 ( Snow Leopard) comes with Java 1.6. MacOS X 10.5 ( Leopard) comes with Java 1.5. MacOS X 10.4 ( Tiger) comes with Java 1.4.2 installed, but Java 1.5 can be downloaded. MacOS X 10.2 ( Jaguar) comes with Java 1.3 MacOS X 10.3 ( Panther) comes with Java 1.4. Java is installed by default on every MacOS X installation. I hope these notes are of use to someone out there. These notes are the result of several weeks playing with different things and asking a LOT of questions on several mailing lists.
Mac os x apache location mac os x#
Tar -xvf ~/Downloads/phpMyAdmin-4.7. an updated guide for installing Tomcat 5/6 on Mac OS X 10.6 using MacPorts check You can use MySQL through command line but this is a good way to administer MySQL. You can either change permissions like this: chmod 755 directory/ or you can change the ownership of the directory to the apache user and group: chown -R _www:_www directory 5. The Apache user( _www) needs to have access to read, and sometimes write, your web directory. You may recieve 403 forbidden when you visit your local site. Now we need to ensure PHP and MySQL: cd /varĪll your sites would have URLs like pointing to /Library/WebServer/Documents/some-site. Type '\c' to clear the current input statement. Other names may be trademarks of their respective Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Commands end with or \g.Ĭopyright (c) 2000, 2017, Oracle and/or its affiliates.
Mac os x apache location password#
Enter password and then something like this appear: Welcome to the MySQL monitor. It will ask you write the password you set for mysql before.

Now uncomment the following line (Remove #): LoadModule php5_module libexec/apache2/libphp5.so Now edit the nf with vi or any other text editor: vi nf This will help you to cross check later what you changed or in case you want to restore the configuration to default. Let's make a backup of the default Apache configuration. Open your browser and access If it says It Works, then you are set otherwise see if your apachectl has started or not.

Open Terminal and run the following Code: sudo apachectl start
