Introduction: This is a detailed page for configuring Apache + PHP + MySql in Mac OS X. It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
Configure Apache + PHP + MySQL in Mac OS XMac OS X has built-in Apache and PHP, so it's easy to use. This article takes Mac OS X 10.6.3 and 10.8.1 as an example. The main contents include:
Launch Apache
Running PHP
Install MySQL
This is a super detailed configuration of Mac OS under the Php+mysql+apache article. Very detailedMost of my configuration is to refer to the above content, for example, PHP can not connect to the database, is to change the default php.ini in the
There are a lot of tutorials on the web, here is a concise record. Take Mac OS X Mavericks 10.9.X as an example.First, attach how to enter the specified directory folder, press Command + Shift + G, and then enter the specified directory
Preparatory work:1. Confirm that the version number of Mac OS X is 10.10.3;2.mac OS X Yosemite Pre-installed Apache, Python, so there is no need to download the package;Enter Python under the shell to view the version:Python 2.7.6 (default, Sep 9, 1
Take Mac OS X Mavericks 10.9.X as an example.
First, start Apache
1MAC OS X System has integrated the apache+php environment, go to "System Preferences-sharing", turn on "Web sharing", you can open Apache.But in the new version of Mac
There are a lot of tutorials on the web, here is a concise record. Take Mac OS X Mavericks 10.9.1 as an example.First, attach how to enter the specified directory folder, press Command + Shift + G, and then enter the specified directory name.First,
Mac OS X is a UNIX-based operating system, and many of the software is integrated into the system. Therefore, the development environment for configuring PHP is simpler than Windows and Linux.1. Start the Apache serverOpen Terminal (terminal) to
Build a Web server development environment for Apache, PHP, and MySQL on Mac OS x.Tools/Materials
Mac OS X 10.10
Homebrew Software
Method/Step
1. How do I turn on Apache server?There are two ways to open a Web server:One is:
.This document uses Mac OS X 10.6.3 and10.8.1For example. The main content includes:
!"Page, which is located under"/Library (resource Library)/WebServer/Documents/", which is the default root directory of Apache.
.It is worth noting that when Mac
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.