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
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
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
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
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,
For specific steps, refer to:~os X Mountain Lion System Configuration apache+mysql+php Detailed Tutorial | Fruit Fan Nethttp://www.guomii.com/posts/30136~mac OS X 10.9 enable Web server «Lifelong Learning
Apache is a common server, itself only supports HTML that is normal Web pages, you can support PHP through Plug-ins, but also with Tomcat connectivity (one-way Apache connection Tomcat, that is, through Apache access to Tomcat resources.) Tomcat
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.