Hello.

I have RedHat 7.2 and PHP 4.0.6 installed. I do have the GD libraries installed (1.8.4). I cannot seem to get them to work. I have uncommented the gd.so extension in the php.ini file. But I don't seem to have the gd.so file. I must be missing something obvious here... What provides that file? I (mistakenly, I guess) installed PHP using an RPM.

Any suggestions would be great.

Thanks (in advance),
-Marc
marc@mobiliware.com

    It means your PHP is not configured with GD library. I think you better reinstall PHP with GD library configuration.

    When you configure PHP you need to specify your GD lib. directory.

      Ok. I removed all RPM related to gd and php. Apache was not installed from an RPM - I compiled it. PHP still works. I guess I am running it as a module in apache (mod_php)???

      Can I still use the gd libraries this way? I am not sure how to reconfigure PHP when it is an apache module.

      -Marc Campbell

        I installed

        1) mysql-max-3.23.47-pc-linux-gnu-i686.tar.gz
        /usr/local/mysql

        2) freetype-2.0.7.tar.gz
        /usr/local/freetype

        3) gd-1.8.4.tar.gz
        /usr/lib/gd

        4) php-4.1.1.tar.gz
        /usr/local/php

        5) apache_1.3.23.tar.gz
        /usr/local/apache

        My PHP config is....

        cd /usr/local/php

        ./configure --with-mysql=/usr/local/mysql \

        --with-apache=/usr/local/apache \
        --with-gd=/usr/lig \
        --enable-gd-native-ttf \
        --with-png-dir=/usr/lib \
        --with-freetype-dir=/usr/include/freetype2 \
        --with-zlib
        --enable-shared \
        --enable-fast-install

        good luck

          Did you install libpng, and jpeg-6b as well? I've been attempting a GD compile on linux, and I seem to be getting errors around the jpeg/libgd install locations.

            Write a Reply...