PDA

View Full Version : Imagemagick 6.0.6 @ vBulletin 3.5


Irulusug
09-12-2006, 08:46 AM
Hi!

Maybe this is not the correct forum, but the problem occurs only on the litespeed server.

I started preparing a relocation of our vBulletin forum from a apache svr to a litespeed svr. Everything runs smooth and fine but the captcha image verification.
We are using imagemagick because GD is already "hacked". The problem is quite simple, the image doesnt render while GD works.

I raised the log level to debug but without any errors.

Any Ideas?

Thanks for your help!

Christoph Klempau

mistwang
09-12-2006, 08:54 AM
I think you may need to build your own PHP binary with similar options like that of apache mod_php, if you have not done so yet. How to is available in our Wiki.

Irulusug
09-12-2006, 08:57 AM
Thats what Ive done. I followed your wiki.

mistwang
09-12-2006, 09:05 AM
OK, good.
Please double check the php.ini, make sure the same configuration as that of Apache has been used.

Irulusug
09-12-2006, 09:21 AM
Ive just recompiled with the following settings:


./configure --prefix=/usr/local/php5 --with-litespeed --with-config-file-path=../conf --with-openssl --with-curl --with-zlib --with-mysql --with-mysqli --with-mm --with-pear --enable-wddx --enable-mbstring --with-gd --with-freetype-dir=/usr --with-ttf --enable-inline-optimization


Is there anything on LT side which is able to deny the use of IM or any external application?

mistwang
09-12-2006, 09:41 AM
IM does not relate to LSWS directly, as it is called by PHP as a shell command. It should be OK if "process limit" for lsphp external application has not been set too low.
You can check lsws/logs/stderr.log and lsws/logs/error.log for runtime errors produced by PHP or IM, if any.

Irulusug
09-12-2006, 10:22 AM
I fixed the problem. I recompiled the IM pkg from scratch with source of its website. Its seems that VB doesnt like the debian sarge IM pkg.

Thanks for your help!