Posted  by 

Debian Install Php Extensions

Apt install which installs the packages. This will install the default version of PHP and all the extensions provided by PHP, and ensure that they are upgraded as new versions become the default (so when you upgrade from Debian 9 to Debian 10, and PHP 7.3 becomes the default instead of PHP 7.0, all your PHP 7.0 extensions will be upgraded to 7.3). To start with Laravel, we first need to set up a running LAMP server.

[ Source: php-defaults ]

Links for php-mbstring

Debian Resources:

Download Source Package php-defaults:


  • Debian PHP Maintainers (QA Page, Mail Archive)
  • Ondřej Surý (QA Page)
  • Lior Kaplan (QA Page)

Similar packages:

Debian Install Php Extensions

MBSTRING module for PHP [default]

This package provides a MBSTRING module for PHP.

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-usedopen source general-purpose scripting language that is especially suitedfor web development and can be embedded into HTML.


This package is a dependency package, which depends on Debian's defaultPHP version (currently 7.0).

Packages providing php-mbstring

MBSTRING module for PHP

Other Packages Related to php-mbstring

  • depends
  • recommends
  • suggests
  • enhances
  • dep:php-common
    Common files for PHP packages
  • dep:php7.0-mbstring
    MBSTRING module for PHP

Download php-mbstring

Download for all available architectures
ArchitecturePackage SizeInstalled SizeFiles
all4.9 kB12.0 kB [list of files]

We will show you how to install PHP 7.2 on a Linux server running Debian 9 as an operating system. PHP is a server-side scripting language commonly used for Web development, but it is also used as a general-purpose programming language. PHP powers WordPress, the most popular content management system used for blogging and building websites as well as may other e-commerce websites, customer relationship management software, enterprise resource planning software and much more.

Why do you want to install PHP 7.2 on your Debian 9 VPS?

PHP 7 offers much better performances than PHP 5.6 and older PHP versions. Compared with PHP 5.6, PHP 7.2 could execute as much as three times more requests. If you have installed WordPress on your Linux VPS, this means much lower server load, thus you should expect your website to run faster with PHP 7.2.

In addition, PHP 7.2 offers some security improvements.

There are some deprecations though that you may want to check before you consider upgrading to PHP 7.2.


Before you start with the installation of PHP 7.2 on your Debian VPS, make sure that you have full root access to it. Connect to the server via SSH and upgrade all the system software to the latest version available. You can do this by running the following commands in the terminal:

This will update the package index and will update the software currently installed on the server to the latest version.

Once your system is fully up to date, you can proceed to the next step, which is installing PHP 7.2.

Install PHP 7.2 on Debian 9 VPS

Import the signing key and enable the PPA for PHP 7.2 by using the following commands:

Once you are done with this, run the package index update once again using the command below:

In case you get an error like the one below:

Debian Install Php Extensions

It means there are some missing packages that you need to install first. Install the required packages by running the following command:

The run the update command again.

Step 1: Access in your browser. There are four ways to upload the MP3 files, your computer. Step 2: After uploaded, select MP3 and move the slider of Quality to 320kbps. Hit the Advanced settings button to get. Step 3: Finally, click the Convert button to begin. is a YouTube to MP3 Converter 2020 that can convert in high-quality output the MP3 format. Our youtube converter can convert YouTube MP3 to 320kbps for Premium Audio Quality. We process your submission in a few seconds, depending on the length of Youtube video. Our web application can be accessed from all platforms: Android, iOS, Windows, Mac OS, and Linux. Converter mp3 320kbps.

Finally, install PHP 7.2 on your Debian 9 VPS including some of the commonly used extensions using the command below:

To verify the installation is completed run the following command:

The output should be very similar to the one below:

Change/Customize PHP 7.2 settings on a Debian VPS

Next thing you may want to complete is to customize the PHP 7.2 settings to meet your requirements. You can do so by editing the php.ini file. To find the path to this file, you can use the command below:

Debian 9 install php extensions

It will return the path to the php.ini file which is currently loaded.

Debian 10 Php

Edit the file using a text editor of your choice. We will use nano in this example.

Once you change the settings, save and close the file. If you are using Apache as a web server, you need to restart it for the new configuration to be loaded and for the changes to take effect. If you are using Nginx and PHP-FPM, you should restart the PHP-FPM service.

You can also create a sample info.php and see if the PHP files and executed on the server.

Debian Install Php Extension Bcmath

To create the file:

and paste the following:

Save and close the file, then open you favorite web browser and access the file by using your server IP address in the URL followed by the name of the file.

Our fully managed PHP Hosting is already installed with the latest release of PHP 7.2, so you don’t have to install it by yourself. If you need any other PHP version to be installed on your server, just let our system administrators know via live chat or support ticket, and it will be taken care of it immediately. They are available 24/7.

PS. If you liked this post on how to install PHP 7.2 on Debian 9, please share it with your friends on the social networks or simply leave a reply below with your question or comment. Thanks.