Results 1 to 3 of 3

Thread: Cofiguring and compiling jpeg support for PHP

  1. #1

    Default Cofiguring and compiling jpeg support for PHP

    I was wondering if someone could help take me though the steps or give me some ideas on how to add jpeg support on my PHP install.

    Can I install jpeg support with YAST? Where does it install to? When line should I add to my php ./configure file?

    I am currently using PHP 5.2.9 but upgrading is also an option.
    Also using openSUSE 11.1 (upgrading not an option)

    Thanks

  2. #2

    Default Re: Cofiguring and compiling jpeg support for PHP

    On 01/14/2011 04:06 PM, cvanderlinden wrote:
    >
    > I was wondering if someone could help take me though the steps or give
    > me some ideas on how to add jpeg support on my PHP install.
    >
    > Can I install jpeg support with YAST? Where does it install to? When
    > line should I add to my php ./configure file?
    >
    > I am currently using PHP 5.2.9 but upgrading is also an option.
    > Also using openSUSE 11.1 (upgrading not an option)
    >
    > Thanks


    What is it you're actually trying to do? php is a language, most
    commonly used with a web server. The web server should be able to
    display jpg images already. Can you elaborate a bit?

    --
    Kevin Miller - http://www.alaska.net/~atftb
    Juneau, Alaska
    In a recent survey, 7 out of 10 hard drives preferred Linux
    Registered Linux User No: 307357, http://counter.li.org

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,887
    Blog Entries
    15

    Default Re: Cofiguring and compiling jpeg support for PHP

    Hi
    There is a 5.3.5 build on the openSUSE Build Service, line 1397 on in the spec file would indicate it's there;
    https://build.opensuse.org/package/v...0d779c373bd79f
    Code:
        --with-gd=shared \
            --enable-gd-native-ttf \
            --with-xpm-dir=%{_x11prefix} \
            --with-freetype-dir=%{_usr} \
            --with-png-dir=%{_usr} \
            --with-jpeg-dir=%{_usr} \
            --with-zlib-dir=%{_usr} \
    Download is here;
    software.opensuse.org: Search Results

    If you run the phpinfo() routine, it should tell you what's active with your php install.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •