Home > Article > Backend Development > Configuration of PhpStorm on mac
This article introduces the configuration of PhpStorm on mac. It has certain reference value. Now I share it with you. Friends in need can refer to it.
In the Mac environment, the system itself has Apache (Apache server) and PHP are pre-installed and the merger is completed. If you don’t know how to merge, please read my blog:
https://blog.csdn.net/qq_37486501/article/details /79999059
<html><head> <title>PHP 测试</title></head><body><?php echo '<p>Hello World</p>'; ?></body></html>
mamp: Download address :https://www.mamp.info/en/downloads/
File->Default Setting ->Find PHP:(At this time Yours should show no interpreter)
Click on the following "..."
Press command shift G: to find: /Applications/MAMP/bin/php/php7.1.12/bin/php-cgi
->Apply->OK
->Google or safari can be used, it will be successful if it is displayed as shown in the picture
Related recommendations:
Latest version of PhpStorm 2017 activation method
PHP environment setup (phpStudy) and integrated development tools (phpStorm) installation
The above is the detailed content of Configuration of PhpStorm on mac. For more information, please follow other related articles on the PHP Chinese website!