phpStudy is a program integration package for PHP debugging environment. This package integrates the latest Apache PHP MySQL phpMyAdmin ZendOptimizer. It can be installed once and can be used without configuration. It is a very convenient and easy-to-use PHP debugging environment. The root directory of the website can be quickly modified in the PhpStudy integrated tool. The following takes the PhpStudy2018 version as an example.
First open the PhpStudy software, then select the Other options menu in the lower right corner, then select Software Settings, and after entering, select Port General Settings.
Then enter the port general setting interface and set the website directory column, as shown below:
Settings Save it after finishing, and then restart the Apache server through PhpStudy.
Related tutorials: PHP video tutorial
The above is the detailed content of How to modify the website root directory in PhpStudy. For more information, please follow other related articles on the PHP Chinese website!