1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

GD and PHP

Discussion in 'Plesk for Linux - 8.x and Older' started by dave_s_wang, Oct 26, 2005.

  1. dave_s_wang

    dave_s_wang Guest

    0
     
    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
     
  2. dave_s_wang

    dave_s_wang Guest

    0
     
    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.
     
Loading...