如何关闭 PHP 配置文件中的魔术引号?我正在使用 XAMPP

2022-01-14 00:00:00 configuration xampp php magic-quotes

文件是什么?我的电脑上有 php.ini 和 php.ini-dist.

解决方案

php.ini-dist 是 PHP 自带的示例配置文件,php.ini 是实时配置,所以你需要在这个文件中设置

p>

magic_quotes_gpc = 关闭magic_quotes_runtime = 关闭magic_quotes_sybase = 关闭

What is the file? I have php.ini and php.ini-dist on my computer.

解决方案

php.ini-dist is the sample config file that comes with PHP, php.ini is the live config so you will need to set in this file

magic_quotes_gpc = off
magic_quotes_runtime = off
magic_quotes_sybase = off

相关文章