环境:apache,php用的是苹果自带的
项目是放在默认documentroot: /library/webserver/documents下面
新建的virtualhost 的documentroot: /library/webserver/documents/myproject/public
在public目录下有index.phtml文件
cat public/index.php
run();
打开网页后,显示空白,错误信息是
[error] failed to load resource: the server responded with a status of 500 (internal server error)
然后我在index.php里面添加了一句phpinfo(),然后页面显示了phpinfo的页面
以上我的情况和问题就是这样,请教各位大神帮我看看问题是出在哪里了!多谢!!
补充:查看了/var/log/apache2/erro_log
显示错误为asseticwriter : unable to create a directory
