test_php.cgi の形で実行します。

test_php.cgiの1行目は、php8の php-cgi.exe を指定する形になります。

#! c:/PHP_8/php-cgi.exe
<?php
print "Content Type: text/html\n\n";
?>

または
<?php
print "Content Type: text/html\r\n\r\n";
?>

となります。

後は<html>と、見慣れた形になります。
