extension



Running PHP8.2 with Nginx on Ubuntu

  • avatar
  • 11.6K 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
  • 11.1K Views
  • 15 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
  • 6.0K Views
  • 5 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

Boost Laravel performance with OPCache

  • avatar
  • 1.8K Views
  • 4 Likes
  • 9 mins read
Preview post image

Enhancing the performance of Laravel applications brings a smoother and faster user experience. One powerful tool for achieving this is OPCache. OPCache is a PHP extension that stores precompiled script bytecode in memory, which reduces the overhead of parsing and compiling scripts with each request. This results in faster execution and improved overall efficiency.

Boosting PHP performance with OPCache

  • avatar
  • 1.5K Views
  • 7 mins read
Preview post image

OPCache is a robust tool that enhances PHP performance, making web applications faster and more efficient. Included as an extension in PHP, OPCache stores precompiled script bytecode in shared memory. This eliminates the need for PHP to load and parse scripts with each request, significantly reducing execution overhead and improving server response times. This not only enhances the user experience but also reduces server load, allowing it to handle more requests at once. OPCache's benefits are especially noticeable in high-traffic environments where performance and efficiency are critical.