No. Using robots.txt to block php.ini or .htaccess isn’t necessary because they are not files that can be readily accessed anyway even by Googlebot.