SpeedPhp和smarty连接不显示问题
Notice: Undefined index: DB_r in /vagrant/test/init/Core/spModel.php on line 1064
Notice: Undefined index: persistent in /vagrant/test/init/Drivers/mysql.php on line 107
Notice: Undefined index: port in /vagrant/test/init/Drivers/mysql.php on line 108
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /vagrant/test/init/Drivers/mysql.php on line 108
Warning: mkdir(): Permission denied in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_write_file.php on line 28
Warning: rename(/tmp/wrtdo786i,/vagrant/test/tmp/tpl/f162a5c0631cfa7b24672dfcd8d8318edd151995.file.user_info.html.php): No such file or directory in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_write_file.php on line 48
Warning: chmod(): No such file or directory in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_write_file.php on line 50
Warning: include(/vagrant/test/tmp/tpl/f162a5c0631cfa7b24672dfcd8d8318edd151995.file.user_info.html.php): failed to open stream: No such file or directory in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_template.php on line 434
Warning: include(): Failed opening '/vagrant/test/tmp/tpl/f162a5c0631cfa7b24672dfcd8d8318edd151995.file.user_info.html.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_template.php on line 434
报了这样的错误,知道是权限问题,但是不知道如何修改,求助,mac系统,非常感谢。
回复讨论(解决方案)
Warning: mkdir(): Permission denied in /vagrant/test/init/spFunctions.php on line 262
是说在你的网站中没有创建目录的权限
请调整网站的目录权限
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /vagrant/test/init/Drivers/mysql.php on line 108
是说 mysql 函数组已经过时了,请改用mysqli 或 PDO
显然你的 php 高于 5.5 了
其他的错误都由这两条引发
如果对mac系统不熟悉,可请电脑公司的人帮忙弄一下
您好,我是新手,想请教下如何调整网站的目录权限呢?越具体越好,非常感谢。
Warning: mkdir(): Permission denied in /vagrant/test/init/spFunctions.php on line 262
是说在你的网站中没有创建目录的权限
请调整网站的目录权限
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /vagrant/test/init/Drivers/mysql.php on line 108
是说 mysql 函数组已经过时了,请改用mysqli 或 PDO
显然你的 php 高于 5.5 了
其他的错误都由这两条引发
如果对mac系统不熟悉,可请电脑公司的人帮忙弄一下
您好,我是新手,想请教下如何调整网站的目录权限呢?越具体越好,非常感谢。
http://www.baidu.com/s?wd=Mac%E7%9B%AE%E5%BD%95%E6%9D%83%E9%99%90&ie=utf-8
http://www.baidu.com/s?wd=Mac%E7%9B%AE%E5%BD%95%E6%9D%83%E9%99%90&ie=utf-8
我是用vagrant虚拟机映射到mac本地的,但是我设置了权限以后还是会报上面的错误
上一篇: PHP简略源码学习