Deprecated: Functionset_magic_quotes_runtime (). After upgrading the php version today, the Deprecated: Functionset_magic_quotes_runtime () isdeprecated error suddenly occurs. The cause is analyzed below: the PHP version has been upgraded recently, the Deprecated: Function set_magic_quotes_runtime () is deprecated error suddenly occurs. below we summarize
Cause analysis:
PHP has been upgraded recently. The new version of PHP has disabled set_magic_quotes_runtime ().
After PHP5.3, this feature (set_magic_quotes_runtime () has been disabled.
This feature has been completely removed from PHP6.
Solution
You can comment out or delete the wrong row, or add the @ symbol before set_magic_quotes_runtime.
You can also perform the following operations in the program:
The code is as follows: |
|
Find: Set_magic_quotes_runtime (0 ); Replace: Ini_set ("magic_quotes_runtime", 0 ); |
This solves the problem.
Invalid Function set_magic_quotes_runtime () is deprecated error. The cause analysis is summarized below: the PHP version has been upgraded recently...