sudo apt install mysql-server php7.2-mysql Also, install php-mysql package to use MySQL support using php. sudo apt install apache2 libapache2-mod-php7.2įinally, install mysql-server packages for MySQL database. Your also required to install libapache2-mod-php module to work PHP with Apache2. You may also need to install some additional PHP modules for supporting various tasks sudo apt install php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-mcryptĪfter installing PHP on your system, let’s start the installation of Apache2 in your system. sudo apt-get install python-software-properties ![]() Simply use the following commands to update apt cache and install PHP packages on your system. PHP 7 is the default available packages in Ubuntu 16.04 repositories. This article will help you to Install Apache 2.4, MySQL 5.7 and PHP 7.2 on Ubuntu 16.04 LTS Systems. ![]() Where Linux is an operating system, Apache is the popular web server developed by Apache Foundation, MySQL is relational database management system used for storing data and PHP is the widely used programming language. LAMP (Short form of Linux, Apache, MySQL, and PHP ) Stack is the most popular environment in PHP website development and web hosting.
0 Comments
Leave a Reply. |