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.