What is the difference between PHP5 and Php5-dev?

Source: Internet
Author: User
Title, Apt-get, what's the difference between these two versions?

Reply content:

Title, Apt-get, what's the difference between these two versions?

php5is the php5 software itself, which provides a runtime environment for PHP script Execution ( runtime )
php5-devis used to develop PHP extensions, providing some of the necessary PHP components for developing and compiling PHP5 extensions, typically some PHP source header files and dependent libraries

If you need to install some PHP module through the source code, such as PHP5-MYSQL,GD and so on, you need to install php5-dev , if you need the PHP extension can be apt-get directly installed, large can not install Php5-dev

After installation, you can dpkg-query -L php5-dev check which files are included in the package.

It feels like PHP5 is a stable version of all the bugs that haven't been found yet, Php5-dev is the developer version after 5 (please refer to the downstairs)

  • Related Article

    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.