Solve Common Errors of installing APACHE + MYSQL + PHP in redhat

Source: Internet
Author: User
Tags gmp install openssl
Solve the common error of installing APACHE + MYSQL + PHP in redhat-Linux Enterprise Application-Linux server application information. For details, refer to the following. Many problems have been encountered during the installation of apache + mysql + php, and are summarized here. However, the prerequisite for the solution is to install the local ground source service YUM.
Installation details, reference: http://www.linuxdiyf.com/bbs/thread-204212-1-1.html
Configure: error: no acceptable cc found in $ PATH

Yum-y install gcc-c ++

Configure: error: cannot find output from lex; giving up flex is not installed, install flex.

Yum-y install flex

Configure: error: xml2-config not found. Please check your libxml2 installation.

Yum-y install libxml2-devel

Configure: error: Cannot find OpenSSL's

Yum-y install openssl-devel

Configure: error: Please reinstall the BZip2 distribution

Yum-y install bzip2-devel

Configure: error: Please reinstall the libcurl distribution-easy. h shoshould be in/include/curl/

Yum-y install curl-devel

Configure: error: libjpeg. (a | so) not found.

Yum-y install libjpeg-devel

Configure: error: libpng. (a | so) not found.

Yum-y install libpng-devel

Configure: error: freetype2 not found!

Yum-y install freetype-devel

Configure: error: Unable to locate gmp. h

Yum-y install gmp-devel

Configure: error: Cannot find pspell

Yum-y install aspell-devel

Configure: error: xml2-config not found. Please check your libxml2 installation.
Yum install libxml2-devel


[Root @ learn mysql] # bin/mysql_install_db -- user = mysql
Installing MySQL system tables...
110708 13:24:56 [Warning] option 'max _ join_size ': unsigned value 18446744073709551615

Adjusted to 4294967295
110708 13:24:56 [Warning] option 'max _ join_size ': unsigned value 18446744073709551615

Adjusted to 4294967295
ERROR: 1004 Can't create file '/tmp/# sql612d_00000.frm' (errno: 13)
110708 13:24:56 [ERROR] Aborting

110708 13:24:56 [Note]/usr/local/mysql/libexec/mysqld: Shutdown complete

When this error occurs, you only need chmod 777/tmp.

Result: [root @ learn mysql] # bin/mysql_install_db -- user = mysql
Installing MySQL system tables...
110708 13:30:25 [Warning] option 'max _ join_size ': unsigned value 18446744073709551615

Adjusted to 4294967295
110708 13:30:25 [Warning] option 'max _ join_size ': unsigned value 18446744073709551615

Adjusted to 4294967295
OK

I hope this will help those who are interested in solving problems in a timely manner. These problems have plagued me for a day ,,
Related Article

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.