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
Related videos on Youtube
Comments
-
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 over 12 yearsThank you for your help to format the question. This is 1st time I use stackoverflow :)
-