I found the source of this problem, as well as another problem I had once before.
First, you only need the php.ini in your php directory, that is the first place it looks for directives.
Second, leave the extensions commented out. I had uncommented the mysql extension, which was the reason it would just hang and not process. PHP4 now has native mysql support, so this extension is unneeded. I've read elsewhere to leave all of the extensions commented out.
Third.. the first time I installed php/apache on win98, I kept getting this string at the top of every page:
X-Powered-By: PHP/4.0.1pl2 Content-type: text/html Mozilla/4.0
I was following the tutorial on this site on installing mysql/php/apache, and it indicated you should get the browscap.ini file, place it in c:\windows, and uncomment the line in php.ini that loads it ([browscap]
;browscap = windows/browscap.ini), . I was just playing with that line and realized uncommenting that line is the cause of that header being printed. At least, that is what caused it for me. I did a controlled test of commenting/uncommenting just that line and uncommenting it was definitely the cause. I have seen this problem mentioned in other posts here and elsewhere, and I would be interested in hearing if anyone else has found this to be the cause.
Also, I'd be interested in knowing if there is another way to get the browscap info without using the browscap.ini file.