Fedora1664-bit php configuration

Source: Internet
Author: User
Fedora1664-bit php configuration: (zlib, freetype, libpng installed) cp/usr/lib64/mysql/*/usr/lib/mysql/sudo. /configure -- prefix =/usr/local/php5 -- with fedora16 64-bit php configuration
Configuration when installing php:

(Zlib, freetype, libpng have been installed)

Cp/usr/lib64/mysql/*/usr/lib/mysql/


Sudo. /configure -- prefix =/usr/local/php5 -- with-apxs2 =/usr/local/apache2/bin/apxs -- with-zlib -- with-png-dir =/usr/local/ libpng -- with-freetype-dir =/usr/local/freetype -- enable-trace-vars -- with-mysql -- with-config-file-path =/usr/local/php5 -- enable-ftp -- with-libxml-dir =/usr/local/libxml -- enable-zip -- enable-mysqlnd -- enable-shared -- enable-sqlite-utf8 -- with-mysqli -- with-mcrypt- -libdir = lib64 -- with-openssl -- with-curl -- enable-magic-quotes-with-mysql =/usr/bin/-with-libdir = lib64 -- with-apxs2 =/usr/ local/apache2/bin/apxs




During PHP5.2 compilation, if you encounter
Checking for MySQL support... yes
Checking for specified location of the MySQL UNIX socket... no
Checking for MySQL UNIX socket location... no
Configure: error: Cannot find libmysqlclient_r under/usr/local/mysql.
Note that the MySQL client library is not bundled anymore!
Note that you may use the -- with-mpm module when compiling APACHE. add -- enable-thread-safe-client when compiling MYSQL.

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.