PHP配置问题:AppServ安装discuz出错 Fatal error:

 Fatal error: Call to undefined function set_magic_quotes_runtime() in
 D:\AppServ\www\wp-settings.php on line 27
打开C:\WINDOWS\php.ini 大约在 428 行位置,将magic_quotes_runtime 改为 Off。也就是 magic_quotes_runtime = Off
如果前面有注释的分号,也将它删掉。然后重启 Apache 服务。
打开你的 wp 目录,打开wp-settings.php 文件。将27行的 set_magic_quotes_runtime( 0 ); 注释掉。

话说服务器端即使是在本地也要装在系统分区下,也就是C盘根目录下,这是最基本的,否则以后还会出现稀奇古怪的错误。
时间: 2024-12-28 16:02:13

PHP配置问题:AppServ安装discuz出错 Fatal error:的相关文章

ubuntu下安装mysql出现FATAL ERROR: Could not find mysqld的处理

ubuntu下安装mysql出现FATAL ERROR: Could not find mysqld的处理 错误信息: #./bin/mysql_install_db –user=mysql FATAL ERROR: Could not find mysqld The following directories were searched: /usr/libexec /usr/sbin /usr/bin If you compiled from source, you need to run '

Mac OS X 10.10 编译代码出错 fatal error: '__debug' file not found #include <__debug>

1. 错误描述 在mac系统升级到yosemite,或者Xcode版本升级后,在编译c++程序的时候无法通过,错误类型如下: 2. 解决方案 创建一个临时文件"__debug",可以解决这个问题.在命令行中执行以下代码: $ echo '#define _LIBCPP_ASSERT(x, m) ((void)0)' | sudo tee -a /Library/Developer/CommandLineTools/usr/include/c++/v1/__debug > /dev

python2安装Flask-MySQLdb出现 fatal error C1083: Cannot open include file: 'mysql.h': No su ch file or directory

错误具体内容如下: _mysql.c(29) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory    error: command 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed w

Symfony没有安装依赖_PHP Fatal error: require(): Failed opening required

$ php bin/console server:run PHP Warning: require(D:\home\workspace\pd\app/../vendor/autoload.php): failed to open stream: No such file or directory in D:\home\workspace\pinda\pin da\app\autoload.php on line 7 PHP Fatal error: require(): Failed openi

在VC2015下编译DOOM3时发现出错fatal error C1189: #error

错误:fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 解决方法:add "_XKEYCHECK_H" in Preprocessor Definitions 属性--配置属性-c/c++-预处理器 添加 _XKEYCHECK_H

安装php出错configure: error: mcrypt.h not found. Please reinstall libmcrypt

wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz 安装: 66 tar -zxvf libmcrypt-2.5.7.tar.gz 67 cd libmcrypt-2.5.7 68 mkdir -p /usr/local/libmcrypt 69 ./configure prefix=/usr/local/libmcrypt/ 70 make 71 make install 记得

微信支付出错 Fatal error: Uncaught exception ‘WxPayException‘ with message ‘curl出错,错误码:60‘ in ....解决办法

这个错误通过修改文件WxPay.Api.php 解决,具体如下: 第537行 curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,TRUE); curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,2);//严格校验 to curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,FALSE); curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,FALSE);//严格校验2

idea 项目中 maven 编译出错Fatal error compiling: 无效的目标发行版: 1.8 -> [Help 1] 解决方法

首先,pom文件中配置了编译版本为1.8,但报错 解决办法: 首先在File-->settings中进行如下配置 然后,File-->Project structure中进行如下设置 再运行就不报错了 原文地址:https://www.cnblogs.com/shenzhenhuaya/p/15226181250_shenzhenhua025.html

mariadb报错FATAL ERROR: Could not find my_print_defaults

mariadb编译安装后报错 FATAL ERROR: Could not find my_print_defaults /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data &