Directly connect to PHP-FPM

During debugging, we often need to isolate problem first to make sure if its really PHP problem or Nginx is doing something wrong. In those cases, cgi-fcgi command might come handy. Installing cgi-fcgi of Ubuntu Just run following command: apt-get install libfcgi0ldbl Connect to PHP-FPM Directly Assuming you are running PHP-FPM using TCP/IP with IP and PORT values … Continue reading Directly connect to PHP-FPM