PHP Suhosin patch

Support/Development for PHP
DerFalk
Forum User
Forum User
Posts: 35
Joined: Wed Jun 25, 2008 5:15 am
Location: Good old Germany

PHP Suhosin patch

Unread post by DerFalk »

Will there be a php-suhosin-0.9.27 package for centos5?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

sure, I added it to the list
DerFalk
Forum User
Forum User
Posts: 35
Joined: Wed Jun 25, 2008 5:15 am
Location: Good old Germany

Unread post by DerFalk »

thanx a lot :)
polarapfel
New Forum User
New Forum User
Posts: 3
Joined: Tue Jun 16, 2009 7:48 am

Re: PHP Suhosin patch

Unread post by polarapfel »

Hi there,

I stumbled across the atomicrocketturtle repository and I really like it. So, many thanks for that!

Concerning suhosin, what exactly do I need to install from the repository to have PHP with suhosin enabled and the corresponding facilities in Apache?

thanks for your concern,

polarapfel
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP Suhosin patch

Unread post by scott »

its built as a module against the 5.2.9 tree, so you'd just need to install it with "yum install php-suhosin". That should get all the 5.2.9 updates along with it
polarapfel
New Forum User
New Forum User
Posts: 3
Joined: Tue Jun 16, 2009 7:48 am

Re: PHP Suhosin patch

Unread post by polarapfel »

Now that's convenient. Anything else I need to do in Apache?

Thanks,

polarapfel
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP Suhosin patch

Unread post by scott »

Only if you're going from php4 to php5, theres a wiki page for it here: http://www.atomicorp.com/wiki/index.php/PHP
polarapfel
New Forum User
New Forum User
Posts: 3
Joined: Tue Jun 16, 2009 7:48 am

Re: PHP Suhosin patch

Unread post by polarapfel »

Thanks a lot. I feel safer already!
nobody
Forum Regular
Forum Regular
Posts: 349
Joined: Sun Mar 29, 2009 6:52 pm

Re: PHP Suhosin patch

Unread post by nobody »

Do you suggest running suhosin ?

And what are if there are any disadvantages or problems that can be caused by it ?

Also hardened php projexts suggests that you use along with suhosion the hardening patch as well. Do you consider using this patch in the upgrade rpms in the feature ?

Regards
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP Suhosin patch

Unread post by scott »

Its not a silver bullet, one of the things I dont like about it is that is executes php the same way fastcgi does. For someone else thats probably a good thing, I dont like it because it uses more resources. That being said it does give you much more granular control over what PHP can do.

And yes, we're going to look at trying out the hardened PHP patch in combination with PHP 5.3. Early on when I played with it, it broke modular PHP support which was an issue if you wanted to use things like ioncube or zend. That was years ago and I havent gone back to look at it since then.
nobody
Forum Regular
Forum Regular
Posts: 349
Joined: Sun Mar 29, 2009 6:52 pm

Re: PHP Suhosin patch

Unread post by nobody »

scott wrote:Its not a silver bullet, one of the things I dont like about it is that is executes php the same way fastcgi does. For someone else thats probably a good thing, I dont like it because it uses more resources. That being said it does give you much more granular control over what PHP can do.

And yes, we're going to look at trying out the hardened PHP patch in combination with PHP 5.3. Early on when I played with it, it broke modular PHP support which was an issue if you wanted to use things like ioncube or zend. That was years ago and I havent gone back to look at it since then.
True. But in shared hosting you can't have it all. I believe its better to consume a few more resources than wondering when the next script will make the server slow or crash.

They claim to be working smoothly with zend and ioncube in their website when I read their documentation.
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP Suhosin patch

Unread post by scott »

Thats good to hear, honestly the last time I applied it was probably 4.3. The timing for bring this up is good, since the discussion was just opened up on supporting 5.3.x in the repo.
Post Reply