Cannot compile PHP with Suhosin

#1
Hi
I'm trying to compile php 5.2.9 with eAccelerator and suhosin patch
I've done this quite a few times ot this server and it was always fine
But now i can't beacuse of this error:
ERROR: Cannot open Suhosin extension build script

I don't actually remember everything that happened the server, it's in production for quite a while now
lsws has been rescued from a backup because of a filesystem crash
I tried to chown the phpbuild directory to nobody:nogroup but no result

I need to recompile because i didn't expect that i have to explicitly tell php that i need jpg support and now i need it
I'm using litespeed 4.0.3 standart on debian etch kernel 2.6.24
Actually, all of the php builds where done on the old kernel, 2.6.18
I don't know if this has any effect

I can't reinstall litespeed, i can only get about an hour of planned downtime

btw i'm using this configure command:
Code:
--with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv --with-mysql=/usr/include/mysql --with-mysqli=/usr/include/mysql --with-mcrypt --with-pecl --disable-ipv6 --with-freetype --with-freetype-dir=/usr/lib --enable-gd-native-ttf --with-ttf --with-curl=/usr/bin/curl --with-pear --with-jpeg --with-jpeg-dir=/usr/lib
With eAccelerator and Suhosin patch checked
prefix: /usr/local/lsws

This is a bit of a serious problem, i will be really happy to see a solution :)
 
#2
This is a serious problem..
I am forced to use apache, and the server isn't handling well
I really need an answer
 
Last edited:

Lauren

LiteSpeed Staff
Staff member
#4
Please use 4.0.10. PHP build part was completely rewritten to be safer, and the whole admin console is running in suEXEC mode.
4.0.3 was before security update, so please upgrade to the latest version. If you still have problem in 4.0.10, please report here.

Thanks,
Lauren
 
Top