I am running Apache 1.3.20, PHP 4.0.6 as an Apache module with the php_gd.dll extension loaded on Win2K SP2.
I tried your example and got a large grey box with a small blue box in the upper left corner.
From your error message, I can see that you are using a NuSpehere distribution. I would suggest scrapping that and downloading Apache 1.3.20 from the Apache Software Foundation, and PHP 4.06 from PHP.
Apache:
http://httpd.apache.org/dist/httpd/binaries/win32/apache_1.3.20-win32-no_src-r2.msi
PHP4:
http://www.php.net/do_download.php?download_file=php-4.0.6-Win32.zip&source_site=www.php.net
The Apache distro is a self-installer, but for PHP, you simply unzip it and follow the direction in the install.txt file.
You will have to edit configuration files manually, but you should be comfortable doing this, anyway.
It is INSANELY easy to get the php4apache module working. All you need to do is open the httpd.conf file and look for the following lines:
And for PHP 4.x, use:
#
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
Un-Comment the two AddType lines (remove the hash from in front of them). Then, add the following line ABOVE the AddType lines:
LoadModule php4_module c:/php/sapi/php4apache.dll
Now, edit your php.ini file to your liking and restart Apache.
This is how I did my installation, and it works fine. Hope this helps!