No input file specified error

To resolve this error, check that in the file .htaccess there was no line:

RewriteRule ^(.*)$ /index.php/$1 [L,QSA]

If it is, then replace it with this:

RewriteRule ^(.*)$ /index.php?$1 [L,QSA]

I.e. after index.php, instead of the symbol / put ?.

If an error occurs in Joomla! or when installing Magento, enable (if disabled) in PHP settings option cgi.fix_pathinfo.