: This article mainly introduces php static file configuration. if you are interested in the PHP Tutorial, you can refer to it.
- Configure httpd. conf in Apache
DocumentRoot "C:/xampp/htdocs"
Options Indexes FollowSymLinks Includes ExecCGI AllowOverrideAllRequireall granted
# App virtual website directory configuration starts
DocumentRoot D: \ git \ yonglibao \ appServerName app.com
Options Indexes FollowSymLinks Includes ExecCGI AllowOverrideAllRequireall granted
# App virtual website directory configuration is complete
- Modify the hosts file in the C: \ Windows \ System32 \ drivers \ etc directory
Add:
127.0.0.1 app.com
- Add the extension files php_igbinary.dll and php_redis.dll to the C: \ xampp \ php \ ext directory.
Modify the php. ini file under C: \ xampp \ php.
Locate the extension keyword and add the following two rows:
extension=php_igbinary.dllextension=php_redis.dll
- Create a database and import an SQL file
Modify database configuration file
D: \ workplace \ app \ Application \ Common \ Conf
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.
The above describes the php static file configuration, including the content, and hope to be helpful to friends who are interested in the PHP Tutorial.