• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

GD and PHP

D

dave_s_wang

Guest
My version of php doesn't seem to have gd working in it (gd_info() doesn't work in php).

I looked at the phpinfo and the install parameters were set to -with-gd=shared. I thought that gd was already compiled in, but it still doesn't seem to work. Locally i have these rpms installed:

gd-2.0.28-4
php-4.3.9-3.6

these should be all the default rpm installed with 7.5.4 since i was careful not to overwrite anything that plesk upgraded or installed.

Any suggestions on how to get gd working in my php installation? Thanks in advance.

-d
 
figured it out:

i ran up2date on my box after reading this post which stated that up2date is ok to run:
http://forums.sw-soft.com/showthread.php?s=&threadid=25577&highlight=up2date

then i installed php-gd on the box after i found out that php-gd is a seperate rpm.
http://forums.sw-soft.com/showthread.php?s=&threadid=27314&highlight=withgd

so after all that, i tried logging and and got a mysql error (error with mysql.sock). So i did

/etc/init.d/mysqld restart
/etc/init.d/psa restart

logged into my plesk server and did a web server restart.

Hopefully this helps someone else out there.
 
Back
Top