Configure error: Install PHP appears configure:error:Unable to find gd.h anywhere under, error resolution

Source: Internet
Author: User
Tags install php php development environment

In the PHP development Environment source code installation, in the installation PHP-5.2.6 is to appear: configure:error:Unable to find gd.h anywhere under Error
Solution Method:
1. In the GD library installation path search did not find gd.h files, but under/etc/include have gd.h files
2. Search on the Internet to find a reload of the GD library can be resolved
3. Reinstall the GD library and appear during installation:

 
 
 
  1. configure.ac:64:error:possibly undefined Macro:am_iconv
  2. If This is token and others are legitimate, please use M4_pattern_allow.
  3. The autoconf documentation.

Error, after./configure plus--enable-m4_pattern_allow recompile to pass
4. Recompile PHP, through

This article links http://www.cxybl.com/html/wlbc/Php/20130316/37177.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.