By bigbman on
I'm getting the following error message in administer->settings:
"The built-in GD image toolkit requires that the GD module for PHP be installed and configured properly. For more information see http://php.net/image."
And this in administer->settings->acidfree:
"No image toolkit has been properly installed or configured. Go to admin/settings to fix this."
I know what this means (I think - no GD2), but not how to fix it. I've got a fresh installation of Drupal and PHP 4x (which I've been advised to use instead of 5x). The filemanager module and patch has been installed, as well as the image module.
Pllllllease help me!!!
B
Comments
PHP issue, not Drupal issue
This is a PHP installation issue. See http://us3.php.net/gd for details.
Exactly how to fix your setup will depend on whether you compiled PHP yourself, rely on a Linux distribution (rpm, deb files, etc.) or some Windows package.
I don't want to compile PHP.
I don't want to compile PHP. Is there a way to do this without compiling?
xampp
I am not sure what you are trying to do. If you are planning to host your own website you may have to compile it and configure it for your purposes (for security reasons).
If all you want is a local test environment I recommend this:
http://www.apachefriends.org/en/xampp.html
It includes everything you need to run drupal sucessfully on your machine but it is not configured securely. You can use this package also for hosting but I would advice against it.
Andre
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
Yeah, I just used the
Yeah, I just used the default PHP 4x binary. I didn't realize that you need to compile in other libraries - especially to use Drupal. Does anyone have experience with compiling in GD2? Can you help me do this?
You shouldn't need to compile anything
unless you compiled your existing PHP yourself.
If you used a Linux distros native version of PHP, there should be a package you can install.
eg on Debian, just do
apt-get install php4-gdto install the GD2 module. Other systems should have something similar using rpms etc.--
Anton
Using Red Hat Linux
I physically moved my site from one Linux System to another.
Using Red Hat Linux ES 4.1 with 4.7 Drupal, I installed php-gd rpm. gd rpm was already installed.
I still got "No image toolkit has been properly installed or configured. Go to admin/settings to fix this." error.
All I had to do was restart apache web server. Error went away.
well
As I mentioned in my original post, xampp has it all. PHP, Apache, Perl and a bunch of other goodies.
Andre
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
I should have mentioned, I'm
I should have mentioned, I'm using Windows XP and apache. Any way to get a windows version of PHP with GD2 built in?
Do these links help at all?
(I don't use Windows myself, but the info looks ok)
http://www.php.net/gd
http://www.psychostats.com/docs/ps2/chapter.php?sec=37
http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Windows/Q_2154...
--
Anton
Not really. I need
Not really. I need instructions on how to compile PHP with GD2. I can't believe Drupal can't provide a binary of this.
??
Did you read any of the replies you got?
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
Did you not read any of the
Did you not read any of the links.... GD2 is absolutly a PHP configuration issue. In no way shape or form is it something Drupal developers write. If you are using a precompiled php binary(chances are you are), then you will need to get gd2 from the php distribution and configure your php.ini file per the php documentation.
-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Right, PHP 4.4.0 comes with
Right, PHP 4.4.0 comes with the gd2 DLL (which I believe I have enabled in php.ini), and I've got mixed information as to whether or not I need to recompile PHP with GD2 enabled.
I read the links, and quite honestly, they're a bit confusing for me. I'm abviously a beginner with PHP.
I appreciate all the help I can get.
Use XAMPP?
I think I would stop messing with all this and just go get XAMPP. It's not secure by default but you can enable security on it.
Actually, what I'd really do is spend a few bucks to get onto a Unix/Linux host, where everything is more likely to Just Work. You can get good hosting for $5/month or less.
Well, I'll be the first to
Well, I'll be the first to admit that I'm a bit lazy, and a bit stubborn. I looked at XAMP, and it looks great, but it comes with PHP 5, which caused my problem to begin with (messed up my configuration pages in certain modules).
I'll give it a try. Perhaps I just didn't have PHP5 configured right to begin with.
Does anyone use XAMP with the AcidFree or Image module?
Thanks guys for all your help - I'll try XAMP. I was just hoping to find out how to make this work manually.
Man
You must really be lazy. Xampp comes with PHP4 AND PHP5.
On linux you switch by calling >lampp php4
on windows there should be a .bat file for switching php5 to php4.
Andre
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
Touche.
Touche.
Installed XAMPP, and all's good, though I'm now having trouble with the mass import in AcidFree.
If anyone can help me with the following post, I'd greatly appreciate it:
http://drupal.org/node/36180#comment-65725
On my redhat based server,
On my redhat based server, this is all I had to do to fix this, with no compiling:
sudo yum install php-gd
sudo /sbin/service httpd restart
-mark