How to install the GD Library on FreeBSD _ PHP Tutorial

Source: Internet
Author: User
Solve the problem of installing the GD Library on FreeBSD. System: FreeBSD4.1 use sysinstall to install gd-1.8.3 and libpng, rj6b. Make sure you have libgd. so. * and libpng. so. * cdpath_to_php_src.configure under usrlocallib -- with-mysqlpath_to_my system: FreeBSD 4.1
Use sysinstall to install gd-1.8.3 and libpng, ipv6b. Make sure that you have libgd. so. * and libpng. so. * In usr/local/lib .*
Cd path_to_php_src
./Configure -- with-mysql =/path_to_mysql
-- With-apache =/path_to_apache_src
-- With-gd =/usr/local do not add lib here
-- With-png-dir = usr/local Same as above
-- Enable-track-vars
-- Enable-discard-path
-- Disable-debug
After that, everything remains the same.
West crazy brother 3.4 with is gd-1.7.0 don't know whether you can support you want wbmp, but I tried on 3.4 with 4.1 disc add package also succeeded. FreeBSD 4.0 contains the GD of 1.8.0.
I don't know why the downloaded gb library cannot make dynamic links. Whether it is a parameter to be added to make. Hope you can give me some advice.

Connector 4.1 uses sysinstall to install the gd-1.8.3 and libpng, connector 6B. Make sure that you have libgd. so. * and libpng. so. * cd path_to_php_src./configure -- with-mysql =/path_to_my under usr/local/lib...

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.