MicrostockGroup
Microstock Photography Forum - General => Symbiostock => Symbiostock - Technical Support => Topic started by: chrisroll on July 25, 2013, 07:43
-
I was using imagemagick extension for image processing before 2.5.5 udpdate and I realize
now that I'm back to GD library.
I'm on bluehost, I verified my php.ini file and the line extension=imagick.so is always here ???
can anybody tell me how to go back to ImageMagick ?
-
Nobody ?
-
The only idea that I have is to make sure that there are no leading or trailing spaces or tabs (in front or behind the line) in you php.ini file.
I would also try to rename the php.ini file and then create it from scratch to see if that does anything.
-
Or maybe delete the imagemagick line from php.ini, load it. Then add the imagemagick line back in and re-uplad php.ini.
-
Thanks, but nothing seems to work :(
I don't know how to solve this issue...
-
Woohooo, I finally found the solution ;D
I checked single php.ini mode (PHP 5.2 (Single php.ini)) from the php config icon in the cpanel on bluehost
I was previously on PHP 5.2 (Default)
And imagemagick appeared !!!
Thanks a lot for your help.
-
Glad you were able to get it resolved. :)
-
I have the same problem. I'm using PHP 5.3
I edited php.ini file and at the end (just before the local variables, I added the following two lines:
;ImageMagick - added on Aug 16, 2013
extension=imagick.so
Saved php.ini, exited from WP, reloaded WP, and in the Image Process, I still see the GD library.
Is there anything else to do?
-
Is there anything else to do?
Who is your host?
You need to have the php ImageMagick module loaded on your host.
-
Is there anything else to do?
Who is your host?
You need to have the php ImageMagick module loaded on your host.
I'm using ipower.com
They told me that ImageMagick is supported on their system.
-
After weeks I still can't get it to work :'(
WebHostingHub says it's installed and working and I need to talk to the Theme Developer.
I would think it has to be a php.ini thing, but have tried many variations to no avail.
Above was stated changing the setting to php single in the cPanel. When I go to the PHP Configuration tab, I only have 4 popup options. PHP 5.2, 5.3 5.4, 5.5. I have it running 5.3. There is no single option anywhere.
-
Symbiostock requires that php has the ImageMagick module loaded. I am guessing that your php installation does not have this module loaded.
The following instructions will help determine if you have that module loaded:
Create a new php file called symbio.php (or whatever else you like) with the following lines:
<?php
phpinfo();
?>
Save the file and copy it to the webroot directory on your webserver.
Then execute it from a browser as follows:
http://<your website>/symbio.php (or whatever you called it).
This will give you all of the info about your php installation. If you search the output for ImageMagick, you will find if it is installed and all of the info about the installation.
The phpinfo() output has a section at the top called "Configure Command". On my installation, it shows the following:
'./configure' '--with-libdir=lib' '--enable-fastcgi' '--prefix=/usr/local/php5_3' '--with-config-file-path=/web/conf' '--disable-posix' '--enable-bcmath' '--enable-calendar' '--with-curl=/usr/bin/curl' '--with-gdbm' '--enable-exif' '--enable-ftp' '--with-gd' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/bin/libpng-config' '--enable-gd-native-ttf' '--with-gettext' '--with-mcrypt=/usr/bin/libmcrypt-config' '--with-mhash' '--with-pdo-mysql=/usr' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl' '--with-pspell' '--enable-soap' '--enable-wddx' '--with-xsl' '--with-zlib' '--enable-mbstring' '--enable-zip' '--with-xmlrpc' '--sysconfdir=/web/httpd24/conf' '--enable-apc' '--with-imagick'
You will notice that imagick is installed (which is the name of the ImageMagick module).
In addition, the phpinfo() output also contains an entire section called "imagick" that gives detailed information about the ImageMagick php module.
-
Save the file and copy it to the webroot directory on your webserver.
Shazam,
thank you for the step-by-step instructions.
In my case, my SYS site and wordpress are installed in a subfolder - www.advantica.com/stockphotos (http://www.advantica.com/stockphotos), so I created it in that subfolder.
The information screen displayed properly, and I can see that ImageMagick is NOT there.
-
I found a plugin that does the same thing as ShazamImages is talking about without having to upload anything to your server. It's called SysInfo. Once installed you can find it in the wordpress admin "Tools" area. Once you're on it click the "PHP Info" button at the top and it will show you all of your PHP info and whether or not the imagemagick module is installed or not.
-
Shazam... Thanks for the info!!! Finally getting somewhere. That code is very cool and unfortunately it shows ImageMagick is NOT listed. So now I have to figure out how to get it installed etc.
-
Get in contact with your tech support where your site is hosted. They should be able to tell you whether you can have it installed or not.
-
Thanks to Shazam getting somewhere. With the script in hand I could show them it was not installed. Imagemagick is installed but the module was not. They are working on getting the module installed. To be continued.
-
Get in contact with your tech support where your site is hosted. They should be able to tell you whether you can have it installed or not.
Yeah, they should be able. But not in my case, they didn't have a clue, they just assumed it was there.
After my second request, they even replied that they just enabled it, but when I went to Image Processing, GD Library was still active.
But at least, thanks to Shazam's display tool, now we know where the problem lies, and they escalated my ticket, so hopefully, it will get resolved soon.
-
Hope it gets resolved for you soon and they get it installed so you can use it. My host won't let me have it I have to be on one of their pricier plans :/
-
SHAZAM!!!! THANKS!!!! That "tool" was the key. As with LesPalenik they kept saying it was installed. As soon as I had the "tool" to show them it wasn't installed the online chat escalated it. Woke up this morning to an e-mail saying he installed it. Sure enough it shows in Symbiostock as being used!!!!
-
I found a plugin that does the same thing as ShazamImages is talking about without having to upload anything to your server. It's called SysInfo. Once installed you can find it in the wordpress admin "Tools" area. Once you're on it click the "PHP Info" button at the top and it will show you all of your PHP info and whether or not the imagemagick module is installed or not.
Cracker Clips, I just took your advice and installed SysInfo. I've got the PHP Info for my site open but don't know where to look to find out if imagemagick is installed or not. I'm guessing it must be all the way at the bottom, in the the PHP Variables section. But I don't see it there.
Can you tell me which section and/or line that info would be found in?
Thanks!!
-
SHAZAM!!!! THANKS!!!! That "tool" was the key. As with LesPalenik they kept saying it was installed. As soon as I had the "tool" to show them it wasn't installed the online chat escalated it. Woke up this morning to an e-mail saying he installed it. Sure enough it shows in Symbiostock as being used!!!!
That is great news. Sounds like this tool is the answer.
-
Cracker Clips, I just took your advice and installed SysInfo. I've got the PHP Info for my site open but don't know where to look to find out if imagemagick is installed or not. I'm guessing it must be all the way at the bottom, in the the PHP Variables section. But I don't see it there.
Can you tell me which section and/or line that info would be found in?
Thanks!!
I've attached a couple of screenshots that show what my PHP info looks like. You'll see a reference to imagick at the end of the "Configure Command" area in the first shot. ( I blurred the system box as I wasn't sure whether it contained any info I may not want others to have).
The second shows an entire area of info showing the details of the Imagemagick PHP module. If you don't have a section like it then that means that the imagemagick module is not installed. So in my case, imagemagick WAS installed on my server BUT the imagemagick module was not. Shazam showing me this info is when it all started to come together for me. Hope it helps you as well!
-
Just got from my server support the following message:
Imagick function does not work on our server. We have ImageMagick binaries. But it is not complied to PHP so IMAGICK won’t work. So, you will not be able to use IMAGICK as PHP built-in class.
You have to use the alternative ‘convert’ utility. Below is a sample code:
$location=’/usr/local/bin/convert’;
$command=’-thumbnail 150′;
$name=’Sunset.’;
$extfrm=’jpg’;
$extto=’png’;
$output=”{$name}{$extto}”;
$convert=$location . ‘ ‘ .$command . ‘ ‘ . $name . $extfrm . ‘ ‘ . $name . $extto;
exec ($convert);
print “<img src=” . $output . “>”;
ImageMagick Binary Path
The path will vary depending on which ImageMagick binary you needs to use on the Unix platform. These are the two most common:
/usr/bin/resize
/usr/local/bin/convert
What does it all mean? Can I use Imagick by adding the code above to my php.ini (or to another file)?
-
Cracker Clips, I just took your advice and installed SysInfo. I've got the PHP Info for my site open but don't know where to look to find out if imagemagick is installed or not. I'm guessing it must be all the way at the bottom, in the the PHP Variables section. But I don't see it there.
Can you tell me which section and/or line that info would be found in?
Thanks!!
I've attached a couple of screenshots that show what my PHP info looks like. You'll see a reference to imagick at the end of the "Configure Command" area in the first shot. ( I blurred the system box as I wasn't sure whether it contained any info I may not want others to have).
The second shows an entire area of info showing the details of the Imagemagick PHP module. If you don't have a section like it then that means that the imagemagick module is not installed. So in my case, imagemagick WAS installed on my server BUT the imagemagick module was not. Shazam showing me this info is when it all started to come together for me. Hope it helps you as well!
That may answer my question, since I pored over the PHP info I got and didn't find a trace of anything called "imagemagick". I'm guessing it's not on my system, but not at least I can go back and check it.
I appreciate your help, CC!
-
What does it all mean? Can I use Imagick by adding the code above to my php.ini (or to another file)?
Yep, that sure does make it clear... as mud.