I am trying to run below php file using Putty in wordpress.
php-cgi -f info.php
But this command throw this error Undefined index: SCRIPT_NAME.
Server Setting:
#fastcgi_param HTTPS $fastcgi_https;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
Please help me to fix this issue.