In which file is the phpstudypro site information saved?

下次还敢
Release: 2024-04-02 16:39:16
Original
687 people have browsed it

PHPstudyPro site information file

PHPstudyPro saves site information in the conf.ini file.

File Location

conf.ini The file is located in the following directory:

  • Windows: C: \Program Files (x86)\PHPStudyPro\conf.ini
  • macOS:/Applications/PHPStudy.app/conf/conf.ini
  • Linux:/usr/local/phpstudypro/conf/conf.ini

File structure

conf.ini File Adopts INI format and contains the following parts:

  • Site information: Configuration about each site created in PHPstudyPro, including root directory, domain name, port number, etc.
  • php.ini configuration: PHP configuration file for each site, which can override global PHP.ini settings.
  • Other settings: Settings related to other functions of PHPstudyPro, such as error log location, listening port, etc.

Example

The following is an example of a site section in the conf.ini file:

<code class="ini">[web_list]
[101]
name = MyWebsite
root = /path/to/mywebsite
index_with = index.html,index.htm,index.php
domain = localhost
port = 80</code>
Copy after login

Access site information

You can manually edit the conf.ini file in a text editor, or use the management interface of PHPstudyPro to view and modify site information.

  • PHPstudyPro Interface: Go to the "Sites" panel, select a site, and click the "Edit" button.
  • Text Editor: Open the conf.ini file directly and make the required changes.

The above is the detailed content of In which file is the phpstudypro site information saved?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template