When following the tutorial "Perfect Server Fedora 10" I wanted to harden my php5 with suhosin. So I used this tutorial "How To Harden PHP5 With Suhosin On Fedora 7". I needed to login as compileuser to run the command rpm -ivh php5.3.0.src.rpm. When running rpmbuild -ba php.spec I get the following error: 1 out of 1 hunk FAILED -- saving rejects to file main/php_logos.c.rej error: Bad exit status from /var/tmp/rpm-tmp.QTU1TU (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QTU1TU (%prep) Any help would be apreciated
Did you download the correct Suhosin patch ( http://download.suhosin.org/suhosin-patch-5.3.0-0.9.8.patch.gz )?
BTW, for Fedora 12, there's a Suhosin package. You can install it as follows: Code: yum install php-suhosin Restart Apache afterwards.
Ofcourse I noticed the tut. "Perfect server fedora 12 with ISPConfig 3x" but I did not read it because I think it is for 64bit machine's only. Can I use this tut. for my 32bit machine ?
To be honest, I tried a lot yesterday and I'm not shure but I think that I first tried the patch for php 5.2.10 ( that was installed on my server ) and later I tried php 5.3 so I would end up with an updated php and an patched php. Because my server is not a bussiness server ( only me ) I ended with format C:\ and today I started with Debian Lenny and so far I like it; memcached/memcache, suhosin are allready included, installing ioncube and zend and mod_geoip was easy. So THANK YOU for an other great tutorial
@ Falko, Today I installed Fedora 12 and ISPConfig 3.0.2. yum install php-suhosin installed the suhosin extension but did not patch php, so I think I give it an other try to pacht it myself.