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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC