PHP code example of amazeeio / healthz-php

1. Go to this page and download the library: Download amazeeio/healthz-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

amazeeio / healthz-php example snippets


  location /lagoonhealthz {
    root /lagoonhealthz;
    rewrite ^/lagoonhealthz$ /lagoonhealthz/index.php;

    location ~* \.php(/|$) {
      INX_FASTCGI_PASS:-php}:9000;
    }
  }