| Situation: |
Customer got virtual host with ssh access TYPO3 was installed no ImageMagick after installing static linked package imagemagick-4.2.9_i386-static-1.tar.gz TYPO3 complained that no valid version could be found |
| Problem: |
It turned out that due to the virtual setup and the setup of the Apache the environment got lost and the ImageMagick.so.9 couldn't be found during the exec() |
| Challenge: |
- convince the provider to change the setup
Nice try! - convince the provider to install ImageMagick globally
No support for third party products - fix it in TYPO3 to pass environment
possible solution, just no time to do so
|
| Solution: |
Fixed it on script level- move required executable to *.bin, i.e.
mv convert convert.bin mv combine combine.bin mv identify identify.bin - create script
pico convert - content of the script file
#!/usr/local/bin/bash export PATH; PATH="/home/usr203227042/ImageMagick-4.2.9/bin:$PATH" export MAGICK_HOME="/home/usr203227042/ImageMagick-4.2.9" export LD_LIBRARY_PATH="/home/usr203227042/ImageMagick-4.2.9/lib" /home/usr203227042/ImageMagick-4.2.9/bin/convert.bin $* - make script executable
chmod 755 convert - repeat steps 2.-4. for combine and identify and don't forget to change convert.bin to the appropriate value
|
| Solved: |
Now TYPO3 can find ImageMagick and IT ROCKS |