PHP installation Title: error solution plan for compiling and installing php5.2.0

Source: Internet
Author: User
Lack of flex-2.5.4a-29.i386.rpm, find flex-2.5.4a-29.i386.rpm from linux9.0 CD, install, recompile php, OK. compile error solution when installing php5.2.0

1. Error message...

Checking for mcrypt support... no
Checking for mhash support... no
Checking whether to include mime_magic support... no
Checking for MING support... no
Checking for mSQL support... no
Checking for MSSQL support via FreeTDS... no
Checking for MySQL support... yes
Checking for specified location of the MySQL UNIX socket.../tmp/mysql. sock
Checking for MySQL UNIX socket location.../tmp/mysql. sock
Checking for mysql_close in-lmysqlclient... no
Checking for mysql_error in-lmysqlclient... no
Configure: error: mysql configure failed. Please check config. log for more information.

2. solution:

For example, if you choose to install MYSQL in the GZ package. Add a path here.

Add -- with-mysql-dir =/user/local/mysql
Remember not to write it as: -- with-mysql =/user/local/mysql
A. checking lex output file root.../configure: line 2425: lex: command not found
Configure: error: cannot find output from lex; giving up

Lack of flex-2.5.4a-29.i386.rpm, find flex-2.5.4a-29.i386.rpm from linux 9.0 CD, install, recompile php, OK.


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.