I've just done a fresh install of cpg1.4.4 for a client on my server, and got errors during the install that cpg1.4.4 could not find ImageMagick.
Put a test install of cpg1.4.4 on my test site on the same server, and got the same errors. There is a copy of cpg1.4.3 running on that test site which uses ImageMagick, and the path that was put into both installs of cpg1.4.4 is exactly the same as the path used by the cpg1.4.3 install:
I made a fresh install of 1.4.4
I have ImageMagic here: /usr/local/bin/
But I have in
php.iniopen_basedir = /usr/local/www
If I have:open_basedir =
/usr/local/wwwCPG
can't find ImageMagic during install
If I have:open_basedir =
/usr/localCPG
can find ImageMagic during install
So. If CPG can find ImageMagic or not is only depend of
open_basedir in
php.iniThis condition was always present in all versions of CPG 1.3.x and 1.4.x
Tried just letting the install go without the ImageMagick path, and changing it in config after the install. That gives no errors when you upload a file, but no thumb or intermediate image, either.
Tested the cpg1.4.3 install by uploading files, and that was working normally. I then upgraded that cpg1.4.3 install to see if it would lose ImageMagick after the upgrade, and it did not. So the problem only seems to happen on a fresh install.
I made the same thing for 1.4.4.
1. Set back
open_basedir in
php.ini to open_basedir = /usr/local/www
2. Didn't give any path for ImageMagic during install
3. After Setup go to Config panel.
4. Choose
Method for resizing images ImageMagic.
5. Set
Path to ImageMagick /usr/local/bin/
6. Saved
7. Upload a JPG image and all was Ok. Thumb are intermediate image were generated and shown.