Tried before the system comes with PHP and XAMPP integration package, or encountered a variety of problems, but chose to use virtualbox+windows2003+phpsduty (or familiar flavor), simply say the problem of shared folders encountered, VirtualBox comes with sharing function, but it is to share the folder in the Mac, and we build the environment in it is sure to want to Windows2003 the following WWW folder shared to the Mac use, so you can build in the VirtualBox, The development of WWW directory in Mac, it is not necessary to copy documents back and forth, it will provide great convenience for the future.
Not much nonsense, here are the highlights:
1. Set VirtualBox network connection set to bridge network card, through the Mac to ping its IP, see if it is through, you can go down to the surface;
2.windows2003 shared folder settings, first open a user, right-click My Computer, manage, local Users and groups, users, new users, set user name and password, then set properties on it, subordinate to, directly assign "Administrator" Admin user, delete other;
3. Set the share of WWW folder, permission settings: Everyone, permissions: Full Control;
4.mac settings, open finder,command+k, browse, select the target folder, select a registered user, fill in the second set of user name and password, save, OK
Attention point: Permission!!
Other: Through Phpstudy control multi-domain site, modify its Hosts file: 127.0.0.1 test.com; Modify the Hosts file under Mac, the IP of the Windows host test.com so that you can point to the site by accessing the test.com domain name
Windows2003 PHP MySQL Environment record and shared folder settings in Mac configuration VirtualBox