我在带有MSQL数据库的Windows Web Server 2008上的IIS服务器上运行Symfony。清除IIS上的Symfony缓存
我给了网络服务器完整的权限来写入缓存和日志目录。但是,当我通过控制台命令清除缓存,它说
php app/console cache:clear --env=dev --no-debug
Der Befehl "stty" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
[RuntimeException]
Unable to write in the "C:\inetpub\wwwroot\LocalUser\client_transparency.stage\app/cache/dev_new" directory
cache:clear [--no-warmup] [--no-optional-warmers]
我甚至停止IIS,然后再次尝试过了,但同样的错误发生。
而另一个问题是,我有时只是在生产模式的前端有一个空白页面。
,如果你有什么以管理员身份运行命令并重新运行'php app/console cache:clear --env = dev --no-debug'? – cheesemacfly