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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 - 25 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 17:01:29 2024 UTC