php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12484 Want to construct JPGS with GD how to config
Submitted: 2001-07-31 08:39 UTC Modified: 2005-09-20 21:58 UTC
From: t4c at ghcif dot de Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.0.6 OS: Linux (2.2.16)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: t4c at ghcif dot de
New email:
PHP Version: OS:

 

 [2001-07-31 08:39 UTC] t4c at ghcif dot de
Hello,

i tried to configure php so that i can use GD Lib to make JPGS and so on. Bit it dunn work. what do i have to put into the config string?

i tried like this:

./configure \
--with-apache=../apache_1.3.20  \
--with-mysql \
--enable-versioning \
--enable-track-vars=yes \
--enable-url-includes \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--enable-ftp \
--with-gd \
--with-config-file-path=/etc

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-31 08:44 UTC] andy@php.net
Do you have GD installed (correctly)?
Did PHP compile correctly?
Do you have a sample script to show me?
Does this only happen with JPGS?
 [2001-07-31 09:08 UTC] sniper@php.net
This is NOT a support forum, ask these kind of questions
on proper mailing list, in this case: php-install@lists.php.net

Answer to your question:

Your gd library needs to have jpeg support.
And you need to add this configure option:

--with-jpeg-dir=/path/to/libjpeg/install/prefix

--Jani

 [2001-07-31 09:11 UTC] andy@php.net
Please read the documentation...

http://php.net/manual/en/install.apache.php

BEFORE any of this, you need to install gd

http://www.boutell.com/gd/


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 14:01:27 2025 UTC