GD module for PHP

syquest - April 14, 2006 - 11:49

Hello Everyone,

I'm having persistent problems with the installation and configuation of the GD module for PHP. I’ve read the other posts concerning this topic and I revised the php.ini file as instructed. However, upon doing a phpinfo test, the GD module still doesn’t appear. And of course, I continue to receive the following message at the Settings page:

“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.”

Should you be kind enough to offer an explanation of solution, please consider that I am rather new to PHP, MySQL, and Drupal. Following are my specifications:

Mac OS 10.4.6
Apache/1.3.33 (Darwin)
PHP/4.4.1
MySQL 4.1.13a

Thank you.

Advise...

Stefan Nagtegaal - April 14, 2006 - 12:53

I advise you to update PHP to at least 4.3 which is the minimal PHP version required for drupal anyway.
With PHP 4.3 comes a built-in version of GD..

Good luck!

recompile PHP

DriesK - April 14, 2006 - 12:56

On OSX Tiger, PHP is installed without the GD library, so you'll have to recompile PHP to include this library.

There is a great tutorial on developer.apple.com: PHP on Mac OSX. It specifically deals with GD as well.

You may also be interested in reading: Installing Drupal on Tiger.

If this is your own configuration

paddy_deburca - April 14, 2006 - 13:00

If this is your own configuration, go to http://www.entropy.ch/software/macosx/php/ and download and install PHP 4.3 for Apache 1.3.

Normally this distribution comes with GD support compiled in.

Paddy.

http://deburca.org, and http://amadain.net

Do you mean downgrade to 4.3?

syquest - April 14, 2006 - 15:19

Thank you for your suggestions. But I don't understand why I am being instructed to UPGRADE to PHP 4.3 when I have PHP 4.4.

Now What?

syquest - April 14, 2006 - 15:47

I did what was suggested: "upgraded" to 4.3 and now I can't connect to Drupal or PHPmyadmin. Please help.

Problem Solved

syquest - April 14, 2006 - 21:19

I solved my problem and have reestablished my connection. The solution follows...

1. Downloaded the application MySQL Query Browser

2. Entered the following in the MySQL Query shell>

SET PASSWORD FOR XXXX@localhost = OLD_PASSWORD('YYYYl');

3. Opened Terminal and restarted Apache by entered the following into the shell>

sudo apachectl graceful

________

Note: In step 2 above X=user and Y=password

 
 

Drupal is a registered trademark of Dries Buytaert.