What is the different between php5 and php5-dev

12,811

Solution 1

php5-dev contains files to develop PHP modules:

This package provides the files from the PHP5 source needed for compiling additional modules.

php5 is a meta package that installs the PHP runtime.

Solution 2

The command

  apt-cache search php

would tell you the difference:

   php5 - server-side, HTML-embedded scripting language (metapackage)
   php5-dev - Files for PHP5 module development
Share:
12,811

Related videos on Youtube

Edison Liu
Author by

Edison Liu

I work as a programmer at kbuuk.com

Updated on June 04, 2022

Comments

  • Edison Liu
    Edison Liu almost 2 years

    When I install php on ubuntu, somebody use

    sudo apt-get install php5

    somebody use

    sudo apt-get install php5-dev

    What is the different between them?

    • Edison Liu
      Edison Liu over 12 years
      Thank you for your help to format the question. This is 1st time I use stackoverflow :)