This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

How to Disable Suhosin + Magic Quotes
#1

Hi!

How to Disable Suhosin + Magic Quotes?

Best regards,

Martin
Reply
#2

Welcome to the forum, Martin!

There might be some .htaccess directives that would do that.
try these:
Code:
php_flag suhosin.simulation On
php_flag magic_quotes_gpc Off
A little more on magic quotes: http://www.commentics.org/forum/showthre...810#pid810

Some servers allow a custom php.ini file to be specified. You can also try that if you like.
If you are using your own server, then you have to edit the php.ini file. If it's your own server on Linux from a package and disabling Suhosin isn't working, see this thread: http://www.commentics.org/forum/showthread.php?tid=65

Tell me if that works. Smile

I'm giving you three guesses...
Reply
#3

Hi!

I´ve resolved the problem about Magic Quotes by php.ini edit.

But the Suhosin issue is making me nuts.

I have a Linux VDS Server. I have edited the php.ini with suhosin.simulation = On but it continues to get the info: Suhosin must not be installed.

How can I fix this?

Best regards,

MArtin.

(13-Oct-2010, 03:55 PM)Static Wrote:  Welcome to the forum, Martin!

There might be some .htaccess directives that would do that.
try these:
Code:
php_flag suhosin.simulation On
php_flag magic_quotes_gpc Off
A little more on magic quotes: http://www.commentics.org/forum/showthre...810#pid810

Some servers allow a custom php.ini file to be specified. You can also try that if you like.
If you are using your own server, then you have to edit the php.ini file. If it's your own server on Linux from a package and disabling Suhosin isn't working, see this thread: http://www.commentics.org/forum/showthread.php?tid=65

Tell me if that works. Smile

Reply
#4

I believe that this is the case where the server comes installed with the suhosin patch. If it it reads your settings from the database, then you're good to go. Just ignore it for now. If your settings aren't read, then we have a problem.

I'm giving you three guesses...
Reply
#5

Hi!

And how can I just ignore it (which url to use)?

If the settings aren´t read, which is the solution? I have to remove the suhosin patch? It will affect the others websites that I have in the server?

By the way, I have a CentOs 5.

Regards,

Martin
Reply
#6

You're trying to install it, right? In that case, you just go to: http://localhost/comments/installer/install_1.php
or the site address instead of localhost.

I assume that you are testing things out on your own machine. If you want to remove the patch, then you will have to compile php yourself. I doubt that it will affect the other sites on the server in any serious way by removing the patch. I doubt that there is a different way to do so.

In my case, I simply ignored the error, and it works just fine.

I'm giving you three guesses...
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by stariocek
10-Jul-2012, 07:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)