Ubuntu 22



Running PHP8.2 with Nginx on Ubuntu

  • avatar
  • 14.2K Views
  • 6 mins read
Preview post image

PHP is a general-purpose scripting language geared towards web development. PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable.

By default Nginx is not capable of processing dynamic web pages with PHP so it requires the use of specific additional plugins for this purpose. One of these plugins is FPM (FastCGI Process Manager). FPM is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. It is the preferred method of processing PHP pages with Nginx and is faster than traditional CGI based methods.

Nginx with PHP8.1 FPM on Ubuntu 20.04

  • avatar
  • 13.4K Views
  • 17 Likes
  • 6 mins read
Preview post image

PHP is a general-purpose scripting language geared towards web development. PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable.

By default Nginx is not capable of processing dynamic web pages with PHP so it requires the use of specific additional plugins for this purpose. One of these plugins is FPM (FastCGI Process Manager). FPM is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. It is the preferred method of processing PHP pages with Nginx and is faster than traditional CGI based methods.

Running PHP8.3 with Nginx on Ubuntu

  • avatar
  • 10.8K Views
  • 6 Likes
  • 6 mins read
Preview post image

PHP is a scripting language widely used for web development, with code processed on a web server through a PHP interpreter, implemented as a module, daemon, or CGI executable. Nginx lacks the default ability to handle dynamic web pages with PHP and requires specific additional plugins for this purpose. One such plugin is FPM (FastCGI Process Manager), an alternative PHP FastCGI implementation offering additional features, particularly advantageous for high-traffic sites. FPM stands out as the preferred method for PHP page processing with Nginx, surpassing traditional CGI-based methods in terms of speed.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

How to enable hibernation in Linux

  • avatar
  • 9.0K Views
  • 5 Likes
  • 7 mins read
Preview post image

Hibernation was designed for laptops and might not be available for all PCs. It uses less power than sleep and when you start up the PC again, you're back to where you left off. Hibernation suspends to disk unlike the sleep option that suspends to RAM. That's why it takes a bit longer to wake up from hibernation than from sleep.

How to install PHP-FPM on Ubuntu

  • avatar
  • 5.7K Views
  • 4 mins read
Preview post image

By default Nginx is not capable of processing dynamic web pages with PHP so it requires the use of specific additional plugins for this purpose. One of these plugins is FPM (FastCGI Process Manager). FPM is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. It is the preferred method of processing PHP pages with Nginx and is faster than traditional CGI based methods.

Compressing PNG images on Linux

  • avatar
  • 3.1K Views
  • 5 Likes
  • 4 mins read
Preview post image

PNG is short for Portable Network Graphic, a type of image file. It’s particularly popular file type with web designers and widely used on websites to display high-quality digital images because it can handle graphics with transparent or semi-transparent backgrounds. PNG files, which use the .png extension, can handle 16 million colors - which definitely sets them apart from most file types.

How to install MongoDB 6 on Ubuntu 20.04

  • avatar
  • 1.9K Views
  • 2 Likes
  • 6 mins read
Preview post image

MongoDB is a popular open source and document oriented database system. It belongs to a family of databases called NoSQL, which is different from the traditional table based SQL databases. It makes use of collections, each having multiple documents, and allows the user to store data in a non relational format. Data is stored in flexible, JSON-like documents where fields can vary from document to document. That's the reason for calling it schemaless database.

Install and configure Nginx on Ubuntu

  • avatar
  • 2.2K Views
  • 1 Like
  • 5 mins read
Preview post image

Nginx is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, Nginx can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers.

How to install MongoDB 5 on Ubuntu 20.04

  • avatar
  • 1.7K Views
  • 12 Likes
  • 6 mins read
Preview post image

MongoDB is one of the popular open source and document oriented database systems. It belongs to a family of databases called NoSQL, which is different from the traditional table based SQL databases. It makes use of collections, each having multiple documents, and allows the user to store data in a non relational format. Data is stored in flexible, JSON-like documents where fields can vary from document to document.

How to add swap space to your Ubuntu

  • avatar
  • 1.7K Views
  • 5 mins read
Preview post image

Swap space is the area on a hard disk. It holds memory pages that are temporarily inactive. Swap space is used when your operating system decides that it needs physical memory for active processes and the amount of unused physical memory is insufficient. When this happens, inactive pages from the physical memory are then moved into the swap space, freeing up that physical memory for other uses.