The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
ImageMagick problem
How can I get ImageMagick to work on my vbulletin?
I have tried so many ways, and all of them fails. ImageMagick is installed on my VPS, and the extention is added to php.ini PHPinfo picks it up as well. But when I select it on vbulletin panel and select the path (which is the correct path), the upload of pictures does not work; - Uploading an avatar gives a white page - Uploading a picture as attachment with ajax on posts, does nothing. I am forced to use GD, as this is the only one working. Running: - vBulletin 4.2.1 - VPS with Centos - Latest ImageMagick through "pecl" |
#2
|
|||
|
|||
Post link being used
|
#3
|
|||
|
|||
huh?
|
#4
|
||||
|
||||
If you want to use imagemagick, you have to have the binary executable version installed in your server. Not the PELC extension.
Once its installed, you need to be able to use exec() (it can't have been disabled). Then you need to know the path to the imagemagick binaries, its normally something like /usr/bin or /usr/local/bin etc. You enter that into the ImageMagick setting. |
#5
|
|||
|
|||
thanks for the reply
I have installed the ImageMagick with; Installing the necessaries Code:
yum install php-pear gcc Code:
yum install ImageMagick ImageMagick-devel ImageMagick-perl Code:
pecl install imagick Code:
echo extension=imagick.so >> /etc/php.ini http://www.tecmint.com/install-imagemagick-in-linux/ --------------- Added [DATE]1379599788[/DATE] at [TIME]1379599788[/TIME] --------------- currently, this is my func.blacklist on vhost config Code:
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" |
#6
|
||||
|
||||
Then you cannot use the ImageMagick setting with vBulletin.
|
#7
|
|||
|
|||
why?
I have VPS and I can change settings. What should I change? |
#8
|
||||
|
||||
You'd need to remove exec from the blacklist.
|
#9
|
|||
|
|||
oh, god!
I just did and it worked, but it uses LOTS of RAM and the system load jumped to 5-6. --------------- Added [DATE]1379600847[/DATE] at [TIME]1379600847[/TIME] --------------- Thanks, but I might just go back to GD |
#10
|
||||
|
||||
ImageMagick shouldn't be consuming anywhere near that much memory, or system resources.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|