Discussion in 'Installation/Configuration' started by dclardy, Sep 22, 2009.

  1. dclardy

    dclardy New Member

    Can someone please tell me how to activate this?

    I have an ISPConfig 3.0 system running on Debian. I am on the latest version of ISPConfig 3.0. I installed it exactly as the Perfect Server How-to Guide instructed.

    Here is the my phpinfo output:

    System 	Linux 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686
    Build Date 	Apr 26 2009 22:11:15
    Server API 	CGI/FastCGI
    Virtual Directory Support 	disabled
    Configuration File (php.ini) Path 	/etc/php5/cgi
    Loaded Configuration File 	/etc/php5/cgi/php.ini
    Scan this dir for additional .ini files 	/etc/php5/cgi/conf.d
    additional .ini files parsed 	/etc/php5/cgi/conf.d/apc.ini, /etc/php5/cgi/conf.d/gd.ini, /etc/php5/cgi/conf.d/imagick.ini, /etc/php5/cgi/conf.d/imap.ini, /etc/php5/cgi/conf.d/mcrypt.ini, /etc/php5/cgi/conf.d/mysql.ini, /etc/php5/cgi/conf.d/mysqli.ini, /etc/php5/cgi/conf.d/pdo.ini, /etc/php5/cgi/conf.d/pdo_mysql.ini
    PHP API 	20041225
    PHP Extension 	20060613
    Zend Extension 	220060519
    Debug Build 	no
    Thread Safety 	disabled
    Zend Memory Manager 	enabled
    IPv6 Support 	enabled
    Registered PHP Streams 	zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
    Registered Stream Socket Transports 	tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    Registered Stream Filters 	string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.* 
  2. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    On debian you normally do something like
    apt-get install php5-gd
    I'm not familiar with this specific perfect setup guide, but I assume it should have been included. Check?
  3. dclardy

    dclardy New Member

    It is include in the setup, and it is installed on the system.

    The problem is that it is not being included in my phpinfo() information.

    I am running a Drupal site, and this is a recommended addition. I am just trying to optimize that site as much as possible.
  4. till

    till Super Moderator Staff Member ISPConfig Developer


    apt-get remove --purge php5-gd
    apt-get install php5-gd

    and check phpinfo again.
  5. dclardy

    dclardy New Member


    These steps corrected the issue by installing gd, but it seems that there is a newer version of gd out there.

    This is the Drupal error that I am getting.

    The installed version of PHP GD does not support image rotations. It was probably compiled using the official GD libraries from instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See: An implementation of imagerotate in PHP will used in the interim.
    Any ideas?
  6. dclardy

    dclardy New Member

    I figured this one out on my own after days of searching.

    Following only applies to debian / ubuntu installations, and will install the complete bundled ( forked ) GD libraries.

    Installing the stock php5-gd ( apt-get install php5-gd ) package only installs the Boutell's version of GD library -the non forked php version- ( so no imagerotate etc... goodness )
    So there's 2 alternatives
    1. Compiling bundled forked version > which is not for the occasional CLI user.
    2. The easy way > install a pre-compiled version in 3 easy steps.
    Open a command line interface & add following 2 lines to /etc/apt/sources.list
    deb stable all
    deb-src stable all
    then run > apt-get update
    run > apt-get install php5-gd
    ( it will complain about non-authenticated sources .. just ignore, it will also update some additional php libs , keep local modified php.ini )
    run > /etc/init.d/apache2 restart

Share This Page