View Full Version : recompile PHP with Suhosin Extension 0.9.29
fastsvc
03-22-2010, 12:20 PM
does anyone know how to recompile PHP with Suhosin Extension 0.9.29 because u can`t use the command ./configure it seems like the files are different than the old Suhosin Extensions plus there forum has being down for a longtime now.
i am not looking to install the suhosin patch
SeLLeRoNe
03-23-2010, 04:48 AM
i used the guide here
http://www.directadmin.com/forum/showthread.php?t=35646&highlight=suhosin
a search should help sometimes ;)
floyd
03-23-2010, 07:42 AM
i used the guide here
http://www.directadmin.com/forum/showthread.php?t=35646&highlight=suhosin
a search should help sometimes ;)
Interesting that you gave him a link to a thread he himself started.
fastsvc
03-23-2010, 11:26 PM
the question is: recompile PHP with Suhosin Extension 0.9.29 not suhosin-0.9.18
it does not work the same or at least the steps don`t work
and again i am not asking about suhosin patch .:(
i already asked about that and thanks to the good ppl that use this forum, i know how to do it now.
floyd you should read the question before making fun of ppl
SeLLeRoNe
03-24-2010, 01:29 AM
yes i saw he wasnt talkin about patch... but in that thread there is the step-by-step for extension aswell, right is for older version but i thot was the same procedure...
by the way, if you paste the error you get i should investigate on it with you.
Im sorry i didnt noticed that was the same person of other 3d.. but.. well atm is the one that work perefctly for patch and extension for me... so... i just took it and linked
SeLLeRoNe
03-24-2010, 01:31 AM
another step.. maybe wrong... i didnt had to recompile PHP for the extension... so, if php compile correctly with suhosin patch then extension is totally apart...
fastsvc
03-24-2010, 10:38 AM
the reason i am asking is because my csf still has a warning:
You should recompile PHP with Suhosin to add greater security to PHP
the patch compiles just fine so it couldn`t be the patch that`s causing the warning?
SeLLeRoNe
03-24-2010, 12:02 PM
oh ok, ive installed php with suhosin patch and then csf still was saying me too that i had to install suhosin, so ive installed the extension like in the post i linked and the warning was fixed in csf :)
fastsvc
03-25-2010, 09:26 PM
Yes but don`t you think Suhosin Extension 0.9.29 will be safer and better than suhosin-0.9.18?
I installed the suhosin-0.9.18 but my csf still says i need to recompile.
I am just wondering if there is any person who knows how to intall the Suhosin Extension 0.9.29 not a patch and not an old Suhosin Extensions.
SeLLeRoNe thanks for your help at least you are trying to point me in the right direction is just not what i am looking for.
I want to install Suhosin Extension 0.9.29.
This is what makes Webhosting fun is trying new things, not dudes like floyd.
SeLLeRoNe
03-26-2010, 02:49 AM
of corse im sure that last version should have some bugfix and implementation, but, as for other exentsion version you dont need a php reocmpile but just compile the extension like the post i linked you, i mean, try that just changing the file with last version, and, lemme know what error you get so i can point u maybe in a better direction :)
fastsvc
03-28-2010, 01:12 AM
ok here is what i got:
[root@server local]# cd suhosin-0.9.30
[root@server suhosin-0.9.30]# phpize
-bash: phpize: command not found
[root@server suhosin-0.9.30]#
floyd
03-28-2010, 04:04 AM
whereis phpize
fastsvc
03-28-2010, 11:01 AM
[root@server1 suhosin-0.9.30]# whereis phpize
phpize:
[root@server1 suhosin-0.9.30]# phpize
-bash: phpize: command not found
[root@server1 suhosin-0.9.30]#
smtalk
03-28-2010, 11:23 AM
Try:
/usr/local/php5/bin/phpize
fastsvc
03-28-2010, 11:27 PM
that worked but when i got to "make" i got this error:
[root@server1 suhosin-0.9.31]# make
make: *** No targets specified and no makefile found. Stop.
[root@server1 suhosin-0.9.31]#
i also noticed this error after "./configure"
checking target system type... i686-pc-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
fastsvc
03-31-2010, 01:13 PM
Is it because i have zend opt installed that i am getting this error?
checking target system type... i686-pc-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
it seems like it not able to find php.ini?
smtalk
04-02-2010, 08:47 AM
Use:
./configure --with-php-config=/usr/local/php5/bin/php-config
SempiHost
05-10-2010, 11:49 AM
The guide below is for the guide I used and could perform the build without any problems.
http://www.directadmin.com/forum/sho...hlight=suhosin
Bruno
www.sempihost.com.br
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.