Ubuntu Configuration PHP Development environment

Source: Internet
Author: User
Tags configuration php php development environment
[amp]

Apt-get Install apache2 php5-mysql libapache2-mod-php5 mysql-server

Apt-get Install PHP5

Apt-get Install PHP5-GD Php5-curl php5-xdebug


[Apt-get]

Apt-cache Search Package

Apt-cache Show package for information about packages, such as description, size, version, etc.

Apt-cache depends package learn about using dependencies

Apt-cache Rdepends package to see which packages are dependent on the packages

Apt-get Install Package

Apt-get Install package--reinstall Reinstall packages

Apt-get-f Install repair Installation "-F =--fix-missing"

Apt-get Remove Package

Apt-get Remove Package--purge Delete packages, including deleting configuration files, etc.

Apt-get Update Source

Apt-get Upgrade Update installed packages

Apt-get Dist-upgrade Upgrade System

Apt-get Dselect-upgrade using Dselect upgrade

Apt-get BUILD-DEP Package Installation-related compilation environment

Apt-get Source Package Downloads The source code for the bundle

Apt-get Clean && apt-get autoclean cleanup of useless packages

Apt-get Check to see if there is a corrupted dependency


[Error Handling]

1 SU authentication failed

sudo passwd reset Password

  • 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.