Hi,
I installed Drupal succesfully. But I get an error that says:

* The directory files is not writable.
* 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.

I have FC4 with the standard PHP 5.0.4. I don't think that Fedora ship their PHP without GD enabled. If so how can I enable GD support?

Thanks
Linuxnizer

Comments

deepak@dipak.org’s picture

To figure out if you gd installed, paste the following code in a file (ex: phpinfo.php) and execute it on your webserver:

<?php

	// Show all information, defaults to INFO_ALL
	phpinfo();
	// Show just the module information.
	// phpinfo(8) yields identical results.
	phpinfo(INFO_MODULES);

?>

You will references to gd module if its installed and I think you need to chmod 'files' to 666.

Deepak

Linuxnizer’s picture

Dear Deepak,
chmod files to 666 fixed the problem. As far as the GD problem is concerned, I didn't find it enabled. I'm really surprised. What do you suggest?

Thanks a lot
Linuxnizer

tjharman’s picture

yum install php-gd then restart your webserver.

It's not installed by default.