Minor problems and solutions after Ubuntu is upgraded to 7.04
Source: Internet
Author: User
Upgrading Ubuntu from 6.10 to 7.04 is not bad, the 3D effect is very simple, and the fonts in EVA are also better. However, a problem occurred when using some services today. Here, we will summarize the problem and provide a solution (not to be updated ). 1. libmysqlclient cannot be found when PHP is started. so.12, the problem was found that mysql was installed with apt and upgraded from 5.0.23 to 5.0.37, but there was a problem, in the upgrade process, there is a place that will find out that Ubuntu is not related to the system. It is good to upgrade Ubuntu from 6.10 to 7.04. The 3D effect is very simple, and the fonts in EVA are also better. However, a problem occurred when using some services today. Here, we will summarize the problem and provide a solution (not to be updated ).
1. PHP
Libmysqlclient cannot be found at startup. so.12, the problem was found that mysql was installed with apt and upgraded from 5.0.23 to 5.0.37, but there was a problem, in the upgrade process, a software package that is not associated with the system will be found. After the software package is found, the system will ask whether to delete it. I deleted it all at the time, and libmysqlclient will be included in the interim. so.12.
Solution:
Sudo apt-get install libmysqlclient15-dev (this is installed libmysqlclient15 because 5.0.37 corresponds to this lib package)
After libmysqlclient is installed, compile php again.
This also shows that if mysqlclient is upgraded next time, PHP will be compiled again. Therefore, you should note that the integrated environment like apache mysql php should not be installed with apt, otherwise, compilation and installation will reduce the trouble caused by upgrades.
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