Upgrade php5.3.10 to 5.4 in Ubuntu

Source: Internet
Author: User
Switch to root identity sudo-I add PHP latest Source Library add-apt-repositoryppa: ondrej/php5apt-getupdate because some PHP peripheral modules do not support PHP5.4 provided by this source Library, more importantly, php5-suhosin, php5-imagick and php-apc. If your

Switch to root identity

Sudo-I

Add the latest PHP source Library

Add-apt-repository ppa: ondrej/php5apt-get update

Because some PHP peripheral modules do not support PHP5.4 provided by this source library, it is important to php5-suhosin, php5-imagick and php-apc and so on. If your site requires the above, do not continue to install. If it has been installed but can be removed, force upgrade:

Apt-get-f install php5 php5-cli php5-common php5-fpm php5-gd php-pear libapache2-mod-php5 php5-mcrypt php5-mysql php5-xmlrpc php5-xsl

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.