Contents
How do I download and install PHP on Ubuntu?
- PHP stands for Hypertext Preprocessor, and it’s a script-based server-side programming language. …
- To install PHP 7.2, enter the following command: sudo apt-get install php libapache2-mod-php. …
- To install PHP for Nginx, enter the following command: sudo apt-get install php-fpm.
How do I run PHP on Ubuntu?
STEPS
- UPDATE & UPGRADE PACKAGES. Before starting the installation of packages, it’s better to update and upgrade the packages we have on our system. …
- INSTALL APACHE2. A PHP file requires a web server to run. …
- INSTALL PHP. PHP on Ubuntu can be installed using the below command. …
- INSTALL MYSQL. …
- INSTALL PHPMYADMIN.
13 апр. 2019 г.