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解压安装在根目录,因为这样匿名用户就会拥有根目录的权限。

PHPWarning:Invalidargumentsuppliedforforeach()-解决方案在使用PHP开发网页或应用程序时,经常会遇到各种错误和警告。其中一个常见的警告是“Invalidargumentsuppliedforforeach()”,它通常在使用foreach循环遍历数组时产生。这个问题看起来很简单,但是如果不

如何解决PHPWarning:file_get_contents():failedtoopenstream:HTTPrequestfailed在进行PHP开发过程中,经常会遇到通过file_get_contents函数向远程服务器发起HTTP请求的情况。然而,有时候我们会遇到一个常见的错误提示:PHPWarning:file_get_c

如何解决PHPWarning:fopen():SSLoperationfailedinfile.phponlineX在PHP编程中,我们经常使用fopen函数来打开文件或者URL,并进行相关操作。然而,在使用fopen函数时,有时候会遇到类似于Warning:fopen():SSLoperationfailedinfile.p

近年来,PHP已成为网页开发的重要工具之一。然而,PHP也会出现一些错误信息,其中一个常见的错误是“Invalidargumentsuppliedforforeach()“错误。下面将介绍如何解决这个错误。首先,让我们了解一下什么是该错误。这个错误通常出现在使用foreach循环代码时,却给循环代码提供了无效的参数。在大多数情况下,这种错误会使程序崩

PHP是一款常用的服务器脚本语言,它可在网页服务器端执行脚本来创建动态网页。PHP的强大功能与灵活性使得它在网站开发方面被广泛应用。而file_get_contents()函数在PHP中也是一种常用的获取URL内容的方法。但有时候你会遇到以下的错误:PHPWarning:file_get_contents(url):failedto

在PHP编程中,经常会出现Warning信息,其中,一个比较常见的提示是"PHPWarning:implode():Invalidargumentspassed"。本文将介绍这个Warning的解决思路和方法。首先,我们需要了解implode()函数的使用方法。该函数的作用是将一个数组拼接成一个字符串,使用以下语法:string

PHP作为一门广泛应用的编程语言,在Web开发、服务器端编程等多个领域被广泛使用。在开发中,可能会遇到如下错误信息:PHPWarning:strtolower()expectsparameter1tobestring。这个问题的解决方法在于了解strtolower()函数的用法和参数。首先,strtolower()是一个PHP内置函数,用于将

PHP是一种非常流行的服务器端脚本语言,经常用于动态网页开发。然而,有时会看到PHP报出类似这样的警告信息:“PHPWarning:mysql_query()”,并且提示错误发生在mysql_query()函数中。这种问题常见于使用PHP连接MySQL数据库时出现。那么,我们该如何解决这个问题呢?一般来说,PHP报出mysql_qu


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

SublimeText3 Chinese version
Chinese version, very easy to use

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

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6
Visual web development tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software
