php

How to install NGINX on NetBSD?

NGINX is a web server with excellent performance and low memory footprint. NGINX can also be used as a reverse proxy (FastCGI, Apache, uWSGI), as a proxy for mail protocols (IMAP, POP3) and as a load balancer.

In this post we will install NGINX as a FastCGI proxy then the PHP requests will be redirected to a PHP-FPM server.

How to Compile PHP 8.0 in Debian 10?

On November 26, 2020, the PHP development team released PHP 8.0, PHP 8.0 comes with numerous improvements and new features such as:

  • Union Types
  • Named arguments
  • Match expressions
  • Attributes
  • Constructor Property Promotion
  • Nullsafe Operator
  • Weak Maps
  • Just In Time Compilation
  • and more

What’s new in PHP 7.4?

The PHP development team announced, on november 2019, the immediate availability of PHP 7.4.0. This release marks the fourth feature update to the PHP 7 series.

PHP 7.4.0 comes with numerous improvements and new features

What is new in PHP 7.2?

In this post we’re going to check 5 new features of PHP 7.2: New object type, Extension loading by name, Abstract method overriding, Sodium Cryptography library and Parameter type widening

What is new in PHP 7.1?

On December 1, 2016 the PHP development team released the PHP 7.1 version, 12 news features was added, here we covered 8 of them: Nullable types, Void functions, Symmetric array destructuring, Class constant visibility, …

How to compile PHP-7.2 on CentOS

PHP

On November 30, 2017 the PHP development team released the PHP 7.2 version, this release added news features, here some of them:

  • New object type: Previously the object statement was used to convert one data type to another one e.g. an array to an sdtClass object and/or vice versa, PHP 7.2 introduces the object data type which can be used to specify the type of parameter and/or for the type of a function return.
  • Extension loading by name: Now it is not necessary to specify the file extension (.so for Unix, .dll for Windows) when loading an extension allowing greater portability in the php configuration file (php.ini).
  • Abstract method overriding: Now an abstract class that inherits from another abstract class can change/overwrite an abstract method of its parent class.