W3Ask











Linux pocket guide
#ad
Linux administration
#ad
Linux command line
#ad
Linux Bible
#ad
How Linux works
#ad
Linux programming
#ad
Linux Basics for Hackers
#ad


HOME  >  SOFTWARE  >  LINUX

Install PHP server on Debian 10



To install the PHP server required to put PHPMyadmin, to operate Mysql, to have a functional PHP website, you have to follow several steps. For this we will launch an SSH connection with the server (via PuTTY for example).

We update the system:

sudo apt update
sudo apt upgrade -y && sudo reboot


We add the following repositories:

sudo apt -y install lsb-release apt-transport-https ca-certificates 
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg


echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list


We install PHP 7.4 on Debian 10:

sudo apt update
sudo apt -y install php7.4


We answer "yes" when we are asked to complete the installation.

We install the additional packages:

sudo apt-get install php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip}

Note: Commissions may be earned from the links above.


This page contains references to products from one or more of our advertisers. We may receive compensation when you click on links to those products. For an explanation of our advertising policy, please visit this page.









Related posts:


How to install PHP on a Debian server
https://w3ask.com/install-php-debian-server/
The PHP application will allow us to build a dynamic website with the PHP language. You can connect to a database to display web pages with ...
How to install phpMyAdmin on a Debian server
https://w3ask.com/install-phpmyadmin-debian-server/
phpMyAdmin is one of the most popular applications for managing SQL databases. With it, you can create databases, edit tables, perform backups, ...
Install the Apache server on Debian 10
https://w3ask.com/install-apache-server-debian-10/
The Apache Server allows you to put several websites on a linux server. An alternative to Apache is the Nginx server. This also makes it possible ...
Install phpMyAdmin on Debian 10
https://w3ask.com/install-phpmyadmin-debian-10/
PhpMyAdmin is a module which allows you to connect a php coded website to a Mysql database. You can more easily manage the reading, but also ...
How to install MySQL on a Debian server
https://w3ask.com/install-mysql-debian-server/
MySQL can manage databases, which is useful if you want to organize the information of your company, a hospital. Or simply create a site in ...








Linux Basics for Hackers
#ad


Linux programming
#ad


How Linux works
#ad


Linux command line
#ad


Linux pocket guide
#ad


Linux administration
#ad


Linux Bible
#ad





Languages

  • English
  • French
  • German
  • Italian
  • Dutch
  • Portuguese
  • Spanish

Know us

  • About
  • Contact
  • Categories list

Privacy

  • Privacy & Cookie Policy
  • Advertising policy
W3Ask © 2023. All rights reserved.
Disclaimer:

When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.

As an Amazon Associate I earn from qualifying purchases.

This page includes affiliate links for which the administrator of W3Ask may earn a commission at no extra cost to you should you make a purchase. These links are indicated using the hashtag #ad.


Information:

We do not assume any responsibility for the data displayed on our website. Please use at your own risk. Some or all of this data may be out of date or incomplete, please refer to the technical page on the respective manufacturer's website to find the latest up-to-date information regarding the specifics of a product.


Trading System Forex GadgetVersus GadgetVersus France