Home >Backend Development >PHP Tutorial >SpeedPhp和smarty连接不显示有关问题

SpeedPhp和smarty连接不显示有关问题

WBOY
WBOYOriginal
2016-06-13 12:08:31825browse

SpeedPhp和smarty连接不显示问题

Warning: mkdir(): Permission denied in /vagrant/test/init/spFunctions.php on line 262

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系统不熟悉,可请电脑公司的人帮忙弄一下

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Discuz是怎么封装数据库的Next article:PHP 满载