When you install php in Ubuntu10.04, the following error occurs: libevent> = 1.4.11couldnotbefound.

Source: Internet
Author: User
System installation environment: Ubuntu10.04LTS desktop version is planned to be installed today: nginx + php + mysqlnginx version: 0.8.20php version: 5.3.3 (php-fpm integrated) mysql: Ubuntu comes with installation first install mysql command as follows: during the installation of sudoapt-getinstallmysql-servermysql-client, you must enter the password,

System installation environment: Ubuntu 10.04 LTS desktop Edition

We plan to install nginx + php + mysql today

Nginx version: 0.8.20

Php version: 5.3.3 (php-fpm integrated)

Mysql: Ubuntu built-in Installation

First install the mysql command as follows:

Sudo apt-get install mysql-server mysql-client

During installation, enter the password and then click OK.

Then install php

Tar-zxvf php-5.3.3.tar.gz/usr/local/php5install
Cd/usr/local/php5inxtall
./Configure -- prefix =/usr/local/php -- enable-fpm -- enable-openssl -- with-mysql -- with-mysqli

### Other configuration options are based on your own situation, because I chose these options for the first installation or not understanding them very well.
However, the following problems occur:

Checking for libevent> = 1.4.11 install prefix... no
Configure: error: libevent> = 1.4.11 cocould not be found

If the libvent is not installed, enter the following command:

Sudo apt-get install libevent-1.4-2 (tab complete package)

Tip me: The libevent-1.4-2 is already in the latest version. It indicates that it has been installed,

So uninstall and reinstall

Sudo apt-get remove libevent-1.4-2
Sudo apt-get install livevent-1.4-2

But still error. Record it first. Solve the problem slowly, and write the solution later.

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.