Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 11th March 2010, 05:59
fastsvc fastsvc is offline
Junior Member
Join Date: Mar 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Harden PHP5 With Suhosin On CentOS 5.4

i am using the tutorial How To Harden PHP5 With Suhosin On CentOS 5.4

and i am getting this error when i get to the step to rebuild php, this it the error i am getting after i type : rpmbuild -ba php.spec
# rpmbuild -ba php.spec
cat: /usr/include/httpd/.mmn: No such file or directory
error: Failed build dependencies:
httpd-devel >= 2.0.46-1 is needed by php-5.1.6-24.5.i386
i ran :
yum install httpd-devel

then i got this message:
# yum install httpd-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.sanctuaryhost.com
* base: yum.singlehop.com
* extras: mirrors.liquidweb.com
* updates: mirrors.tummy.com
Excluding Packages in global exclude list
Setting up Install Process
No package httpd-devel available.
Nothing to do

any help please?

Last edited by fastsvc; 11th March 2010 at 09:56.
Reply With Quote
Sponsored Links
Old 11th March 2010, 19:09
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

That's strange. Anyway, you can download the package manually...
wget http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/5.4/updates/i386/RPMS/httpd-devel-2.2.3-31.el5.centos.2.i386.rpm
... and install it as follows:
yum install httpd-devel-2.2.3-31.el5.centos.2.i386.rpm
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 15th March 2010, 05:58
fastsvc fastsvc is offline
Junior Member
Join Date: Mar 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Check php for Suhosin

I tried the instructions in a new server and they work fine i guess the steps don`t work after you install directadmin for some reason.
i tried to install the Suhosin extension but i got a message saying php-devel is missing so i tried :
yum install php-devel

and instead of installing php-devel i got this message:
No package php-devel available.

Maybe that should be the next tutorial (how to install Suhosin in a server running directadmin ).
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Harden PHP5 With Suhosin On Fedora 10 robertlouwen Suggest HOWTO 1 9th March 2010 10:05
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 17:22
Error To Harden PHP5 With Suhosin On CentOS 5.0 jegavelan Installation/Configuration 5 6th May 2009 11:57
Upgrade to php 5.2 in suse 10.1 gimhan90 Installation/Configuration 3 1st January 2009 21:32

All times are GMT +2. The time now is 04:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.