[PHP-DEV] Bug #12484 Updated: Want to construct JPGS with GD how to config From: sniper <email protected>
Date: 07/31/01

ID: 12484
Updated by: sniper
Reported By: t4c <email protected>
Old Status: Feedback
Status: Bogus
Bug Type: *Compile Issues
Operating System: Linux (2.2.16)
PHP Version: 4.0.6
New Comment:

This is NOT a support forum, ask these kind of questions
on proper mailing list, in this case: php-install <email protected>

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

Previous Comments:
------------------------------------------------------------------------

[2001-07-31 08:44:11] andy <email protected>

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 08:39:48] t4c <email protected>

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

------------------------------------------------------------------------

Edit this bug report at http://bugs.php.net/?id=12484&edit=1

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>