phpmyadmin安装时提示:Warning: require_once(./libraries/comm
common.inc.php这个文件是存在的,而且系统中php也不装在C盘根目录下,怎么会有这样的提示呢?经过一阵调试终于发现解决方法
比较简洁的方法:新建一个目录将phpmyadmin中的文件复制到这个目录中,iis中设置一下路径。
安装好PHPmyAdmin后,在IE里访问时会出现下面的这种错误:
Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in X:xxxxxxphpmyadminindex.php on line 34
Fatal error: require_once() [function.require]: Failed opening required './libraries/common.inc.php' (include_path='.;C:php5pear') in X:xxxxxxphpmyadminindex.php on line 34
common.inc.php这个文件是存在的,而且系统中php也不装在C盘根目录下,怎么会有这样的提示呢?
经过一阵调试终于发现解决方法:
原来phpmyadmin的安装目录的上级目录权限不够,这时给上级目录加上IIS匿名User的“读取和运行”权限,再打开phpmyadmin页面,成功!
[注意事项]:
不要把phpmyadmin解压安装在根目录,因为这样匿名用户就会拥有根目录的权限。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHPWarning:Invalidargumentsuppliedforforeach()-Solution When developing web pages or applications using PHP, you often encounter various errors and warnings. One of the common warnings is "Invalidargumentsuppliedforforeach()", which is usually produced when using a foreach loop to iterate over an array. This question seems simple, but if you don't

How to solve PHPWarning:file_get_contents():failedtoopenstream:HTTPrequestfailed During PHP development, we often encounter situations where HTTP requests are initiated to remote servers through the file_get_contents function. However, sometimes we encounter a common error message: PHPWarning: file_get_c

How to solve PHPWarning:fopen():SSLoperationfailedinfile.phponlineX In PHP programming, we often use the fopen function to open files or URLs and perform related operations. However, when using the fopen function, sometimes you will encounter something similar to Warning:fopen():SSLoperationfailedinfile.p

In recent years, PHP has become one of the important tools for web development. However, PHP will also appear some error messages, one of the common errors is the "Invalidargumentsuppliedforforeach()" error. Here's how to fix this error. First, let’s understand what this error is. This error usually occurs when using foreach loop code, but providing invalid parameters to the loop code. In most cases, this error will crash the program

PHP is a commonly used server scripting language that can execute scripts on the web server to create dynamic web pages. The powerful functions and flexibility of PHP make it widely used in website development. The file_get_contents() function is also a commonly used method to obtain URL content in PHP. But sometimes you will encounter the following error: PHPWarning:file_get_contents(url):failedto

In PHP programming, Warning messages often appear. One of the more common prompts is "PHPWarning:implode():Invalidargumentspassed". This article will introduce the ideas and methods to solve this Warning. First, we need to understand how to use the implode() function. The function of this function is to concatenate an array into a string, using the following syntax: string

As a widely used programming language, PHP is widely used in many fields such as web development and server-side programming. During development, you may encounter the following error message: PHPWarning:strtolower()expectsparameter1tobestring. The solution to this problem lies in understanding the usage and parameters of the strtolower() function. First of all, strtolower() is a PHP built-in function used to convert

PHP is a very popular server-side scripting language often used for dynamic web development. However, sometimes you will see PHP reporting a warning message like this: "PHPWarning: mysql_query()", and suggesting that the error occurred in the mysql_query() function. This problem often occurs when using PHP to connect to a MySQL database. So, how do we solve this problem? Generally speaking, PHP reports mysql_qu
