Compile or configure? GD for PHP

Support/Development for PHP
webicity
Forum User
Forum User
Posts: 7
Joined: Wed Jan 11, 2006 12:12 pm

Compile or configure? GD for PHP

Unread post by webicity »

Somehow my server was configured without GD enabled for PHP. I found an RPM and installed it but GD does not appear active in phpinfo.php. Can GD be enabled in php.ini somehow? Someone said that PHP needs to be recompiled. How is that done? Are there dangers? I have a lot that depends on running php, not the least of which is Plesk. (Running php-4.3.9-3.9 and Plesk 7.5.4 under RHEL 4 ES). My goal is to enable a form security feature that requires GD.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

the design of php has separated GD from the main package, you need to install the package php-gd (yum install php-gd/up2date -i php-gd), and restart the webserver
webicity
Forum User
Forum User
Posts: 7
Joined: Wed Jan 11, 2006 12:12 pm

Unread post by webicity »

That worked perfectly. Thanks!

I'm sure glad I asked the question here.
Post Reply