host



Running PHP8.3 with Nginx on Ubuntu

  • avatar
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.

Running PHP8.2 with Nginx on Ubuntu

  • avatar
  • 16.6K Views
  • 1 Like
  • 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
  • 14.3K 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.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Connecting to remote server using SSH

  • avatar
  • 2.1K Views
  • 1 Like
  • 6 mins read
Preview post image

Secure Shell (SSH) is a protocol that provides secure command-line access to a remote server. By using SSH, you can remotely log in and run commands as if you were sitting right at the server.

The benefit of using SSH over other methods of remote access is that, as the name suggests, communications are securely encrypted, protecting the traffic flowing to and from the server. Data is encrypted at both ends of the client/server connection using a digital security certificate and access credentials are also protected.

Sync local and remote directories with Rsync

  • avatar
  • 1.3K Views
  • 1 Like
  • 4 mins read
Preview post image

Rsync is a very flexible network-enabled syncing tool. Due to its ubiquity and its popularity as a tool for system scripts, it's included on most Linux distributions by default. It efficiently copies and sync files to or from a remote system. It’s faster than scp because rsync uses a remote-update protocol which allows transferring just the differences between two sets of files. The first time, it copies the whole content of a file or a directory from source to destination but from next time, it copies only the changed blocks and bytes to the destination.

How to setup Nginx server blocks (virtual hosts)

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

Nginx logically divides the configurations in order to serve different content into blocks. A server block is a subset of Nginx’s configuration that defines a virtual server used to handle requests of a defined type. Administrators often configure multiple server blocks and decide which block should handle which connection based on the requested domain name, port and IP address.

How to setup Apache Virtual Hosts

  • avatar
  • 1.3K Views
  • 3 mins read
Preview post image

An Apache web server can host multiple websites on the SAME server. You do not need separate server machine and Apache for each website. This can be achieved using the concept of Virtual Host or VHost.
Any domain that you want to host on your web server will have a separate entry in Apache configuration file.

Install and configure Apache on Ubuntu

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

Apache or Apache HTTP server is a free and open source web server, developed and maintained by the Apache Software Foundation. It is one of the most popular web servers in the world. Apache allows website developers to serve their content over the web and provides many powerful features that can be extended through additional modules.