我曾尝试使用Webgrind来分析我的应用程序,但当我单击Update按钮时,它显示一个错误:
Could not open D:\Program Files\xampp\tmp/ for reading.
D:\Program Files\xampp\htdocs\webgrind\library\Preprocessor.php, line 49我检查了文件夹tmp的权限,并确保它允许所有人完全控制。文件夹D:\Program Files\xampp\tmp中有xdebug_profile.6096文件,这意味着xdebug可以正常工作(我还使用Netbeans和xdebug一起测试了xdebug,它工作正常)。
我的系统:
Windows Vista
XAMPP 1.7.3
Webgrind 1.02
有谁有这方面的经验吗?请帮帮我!
发布于 2011-09-09 20:14:51
我想我已经拿到了。
尝试向您的vhost添加额外的directory指令。这应该允许服务器访问其目录之外的文件夹。
我已经在windows机器上添加了用于本地主机的vhost。
#template vhost container
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:\www
ServerName localhost
CustomLog logs/localhost-transfer.log combined
ErrorLog logs/localhost-error.log
# Non configurable settings
DirectoryIndex index.html index.php
<Directory C:\www>
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "C:/xampp/tmp">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>https://stackoverflow.com/questions/4918302
复制相似问题