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)