现象:APACHE调用PHP执行慢4到5秒
环境是:XAMPP APACHE PHP MYSQL SERVER2003
现象是:APACHE日志记录收信息是10:00:00
执行PHP的时间是10:00:04,非常有规律,每次都慢4到5秒
解决方案:
1.
DocumentRoot "D:/www"设置好
2.
# # This should be changed to whatever you set DocumentRoot to. # <Directory "D:/www"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn"t give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options -Indexes FollowSymLinks Includes ExecCGI # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> #
3.所有/xampp/
修改为绝对路径C:/xampp/
声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
- 上一篇:没有了
- 下一篇: Windows系统下Apache性能优化,提高并发