当前位置: 技术问答>linux和unix
phpMyAdmin运行出错.
来源: 互联网 发布时间:2016-09-28
本文导语: 在运行phpMyAdmin是出现如下错误: Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/phpMyAdmin/index.php on line 35 Fatal error: require_once() [function...
在运行phpMyAdmin是出现如下错误:
Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/phpMyAdmin/index.php on line 35
Fatal error: require_once() [function.require]: Failed opening required './libraries/common.inc.php' (include_path='.:/usr/local/apache2/php/lib/php') in /usr/local/apache2/htdocs/phpMyAdmin/index.php on line 35
为什么会打开失败?该如何解决?
Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/phpMyAdmin/index.php on line 35
Fatal error: require_once() [function.require]: Failed opening required './libraries/common.inc.php' (include_path='.:/usr/local/apache2/php/lib/php') in /usr/local/apache2/htdocs/phpMyAdmin/index.php on line 35
为什么会打开失败?该如何解决?
|
下载的文件没问题 这个包里明明就有那个文件! 你告诉你下载之后如何解压 如何放到/usr/local/apache2/htdocs下面去的!
#rm -rf /usr/local/apache2/htdocs/phpMyAdmin
#tar -xzvf phpMyAdmin-3.3.7-all-languages.tar.gz
#mv phpMyAdmin-3.3.7-all-languages /usr/local/apache2/htdocs/phpMyAdmin
#cp /usr/local/apache2/htdocs/phpMyAdmin/config.sample.inc.php /usr/local/apache2/htdocs/phpMyAdmin/config.inc.php
#chmod 660 /usr/local/apache2/htdocs/phpMyAdmin/config.inc.php
#chown -R root.apache /usr/local/apache2/htdocs/phpMyAdmin
然后重启apache