recompile PHP with Suhosin Extension 0.9.29

fastsvc

Verified User
Joined
Apr 12, 2009
Messages
21
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
 
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
 
Last edited:
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
 
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...
 
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?
 
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 :)
 
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.
 
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 :)
 
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]#
 
PHP:
[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]#
 
that worked but when i got to "make" i got this error:

PHP:
[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"

PHP:
checking target system type... i686-pc-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
 
Last edited:
Is it because i have zend opt installed that i am getting this error?

PHP:
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?
 
Use:
Code:
./configure --with-php-config=/usr/local/php5/bin/php-config
 
Back
Top