Install and Configure PHP 8.1 in Nginx Web Server with PHP-FPM on Ubuntu 22.04 LTS Desktop

preview_player
Показать описание
You will get to learn How to Install and Configure PHP 8.1 for Nginx with PHP-FPM on Ubuntu 22.04 LTS Desktop - Linux in 5 MINUTES!!!

PLEASE SUBSCRIBE :)
PLEASE HIT LIKE IF IT HELPED :)

Please enjoy the video and if you have any questions, leave a comment down below.

Remember to Like, Share and Subscribe if you enjoyed the video!

How to Configure PHP 8.1 for Nginx with PHP-FPM on Ubuntu 22.04 LTS - Linux

LINKS:

Steps:
1. Install PHP8.1 and PHP-FPM
sudo apt -y install php8.1 php8.1-fpm

2. Verify php8.1-fpm is running
systemctl status php8.1-fpm

3. Configure Nginx
sudo vi /etc/nginx/sites-available/default

search for the line "pass PHP scripts to FastCGI server"

uncomment the following line:
location ~ \.php$ {
}

Save and exit.

4. Reload nginx
sudo systemctl reload nginx

5. Create php file
(Youtube don't allow angle brackets in description, so just pause the video and copy the code)

Save and exit.

6. Open browser and go to
Рекомендации по теме
Комментарии
Автор

You right it im mad but im just butthurt about that comment and im all coding my butt off you put in a lot of time teaching me master Hekylle

Sourcecodemastergoaheadcheater
Автор

i get unable to locate package php8.1 and the same for php8.1-fpm

mason
Автор

Hello,

I was looking at your video channel. We may be helping a company that uses secure images to increase supply chain security and help cloud native development. Would you be willing to help try their software, make a video, and help show devs how to use their tools?

This is not an offer, but just to start a conversation about your willingness to take on sponsorship. Please provide me with your email if you are interested.

You'd have a chance to look at their technology and decide if it's the type of software that you'd be interested in covering in your channel.

IleniaQuintero