MAC installation configuration Xmapp steps:
1. Download Xmapp to the website and install it.
2. Install the integrated development environment Phpstorm.
3. next to the website download thinkphp3.2, then Cd/applications/xampp/xamppfiles/htdocs
Into the Htdocs folder, create an app folder, then unzip the thinkphp into the app folder
As shown in the following:
650) this.width=650; "Src=" http://img.blog.csdn.net/20150416202908242?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvbhvvc2hlbmdraw0=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" border:0px;margin:0px;padding:10px 0px;vertical-align:middle; "/>
Then open the browser input Http://localhost/app
Results found no permission!!! As shown in the following:
650) this.width=650; "Src=" http://img.blog.csdn.net/20150416203257362?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvbhvvc2hlbmdraw0=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" border:0px;margin:0px;padding:10px 0px;vertical-align:middle; "/>
But don't panic! This means that the PHP file under the folder does not have permissions, then open the command line, go to the Htdocs folder under the Xampp folder, tap chmod 777 app, then the CD app, then tap chmod-r 777 *
You can recursively give permissions to all subdirectories and self-files under the App folder, then open the browser input Localhost:app see the following interface
650) this.width=650; "Src=" http://img.blog.csdn.net/20150416203724950?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvbhvvc2hlbmdraw0=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" border:0px;margin:0px;padding:10px 0px;vertical-align:middle; "/>
At this time the thinkphp environment has been built, but. /app/application directory permissions are still read-only, so modify the permissions of the directory:
sudo chmod-r 0777 /applications/xampp/xamppfiles/htdocs/app/application
Configuration scheme of xampp+thinkphp under Mac