Hướng dẫn cấu hình Configure PHP 7.3-FPM for Nginx :)) da ok
Step 3: Configure PHP 7.3-FPM for Nginx
Now that Nginx and PHP 7.3-FPM are installed, you may want to configure Nginx to use PHP 7.3-FPM properly. The default Nginx PHP-FPM configuration file is at /etc/php/7.3/fpm/php.ini
Open PHP Apache2 configuration file by running the commands below
sudo nano /etc/php/7.3/fpm/php.ini
Then edit the file to suit your environments. Some important lines to consider:
Save the file and exit….
Restart Nginx and PHP-FPM
At this point Apache2 or Nginx with PHP or PHP-FPM should be installed and ready to use.. you can test PHP / PHP-FPM settings by creating a blank file…..
sudo nano /var/www/html/phpinfo.php
Then add the line in the file and save.
<?php phpinfo( ); ?>
PreviousHow to install PHP 7.3 / PHP 7.3-FPM on Linux Mint 19 (Cai dat PHP + NginX)NextInstalling PHP7.3-FPM on Linux Mint + NGĩn (ok)
Last updated