Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
#5666
I have OpenCATS installed on my cpanel in the home/[user]/public_html folder and I am getting the following error: PHP.ini: magic_quotes_runtime must be set to Off in php.ini.
Check your settings in php.ini..

I am running PHP version 8.1.29 on AlmaLinux which is subset of Linux Red Hat distro. I went into the correct php.ini as it says in the "Loaded Configuration File" part of the output of phpinfo() and set "magic_quotes_runtime = Off", but I still get the same error after restarting the apache server with "systemctl restart httpd" and retrying the installation.

How do I fix this issue? Or get around it?

error.PNG
error.PNG (81.99 KiB) Viewed 19027 times
phpini.PNG
phpini.PNG (14.37 KiB) Viewed 19027 times
#5862
Verify the magic_quotes_runtime is ON or OFF via browser
Just create a info.php file with
<?php
phpinfo();
?>
Access via browser https://your_domain_name/info.php and search for key words "magic_quotes_runtime" to see, if it is ON or OFF.
Once tested, please remove the info.php file for the security concerns.

Alternatively, Disable Magic Quotes using .htaccess file
Create a .htaccess file under the public_html folder of the domain that needs to disable magic_quotes and magic_quotes_gpc and put these lines in htaccess file.
php_value magic_quotes 0
php_flag magic_quotes off
php_value magic_quotes_gpc 0
php_flag magic_quotes_gpc off

Our PDF Word Counter Tool is designed to make co[…]

Ensure that the SQL syntax is correct. The error m[…]

Discover Women Seeking Casual Encounters Tonight […]

Discover Women Looking for Spontaneous Nights Out[…]