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.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th March 2010, 04: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
Finished
Setting up Install Process
No package httpd-devel available.
Nothing to do




any help please?

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

That's strange. Anyway, you can download the package manually...
Code:
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:
Code:
yum install httpd-devel-2.2.3-31.el5.centos.2.i386.rpm
__________________
Falko
--
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
  #3  
Old 15th March 2010, 04: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
Reply

Bookmarks

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 09:05
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22
Error To Harden PHP5 With Suhosin On CentOS 5.0 jegavelan Installation/Configuration 5 6th May 2009 10:57
Upgrade to php 5.2 in suse 10.1 gimhan90 Installation/Configuration 3 1st January 2009 20:32


All times are GMT +2. The time now is 00:21.


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