PHP: Problems? - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Other problems Compiling PECL extensions statically into PHP

Last updated: Fri, 26 Jan 2007

view this page in

# Глава 8. Problems?

# Read the FAQ

Some problems are more common than others. The most common ones are listed in the PHP FAQ, part of this manual.

add a note User Contributed Notes
Problems?
hvozda at ack dot org
30-Oct-2006 03:49
`When using --with-gd, jpeg support is *not* enabled by default even if the libs and headers are in /usr/lib and /usr/include. Yet, if they are missing, GD will not build.
Oddly, examine the output from configure will show that libjpeg was actuly found and tested.
This happens with v4.4.4 of php on these platforms: RHEL v2.1, RHEL v3, CentOS v2.1 or CentOS v4.3.
On those platforms, it's *important* that --with-jpeg-dir be *before* --with-gd. If it's not, GD won't build with jpeg support as if --with-jpeg-dir had never been specified.
It's also a "feechure" that gd_info() doesn't list jpeg support if it wasn't built with it. However, if it is built with it, it will list it as "enabled" of course :-/`
add a note
Other problems Compiling PECL extensions statically into PHP

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST