Example Analysis of XAMPP Integrated apache Server configuration for Mac version of PhpStorm
This article is to share with you the content of a sample analysis of the XAMPP integrated apache server configuration for PhpStorm for Mac. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1. How to modify the apache default Port
The default http access port for xampp apache is 80
Restart apache in xampp after the modification is completed.
two。 Configuration proc
Open Settings / Preferences to find the Build, Execution, Deployment options, and click Deployment to add the following:
Because we have modified the default port 80, be sure to specify the port number here. The directory is / Applications/XAMPP/xamppfiles/etc/httpd.cof, which is the default website running directory for apache, so it must be this directory or its subdirectory.
3.xampp starts apache
Test it:
Execute hello.php under the directory of web path (/ Applications/XAMPP/htdocs):