Hi all,
In windows98, I installed Apache & PHP & MySQL. When I try to run a test PHP file, it is giving http500 error. In error log file, it is showing like "Premature end of script header".
If anybody knows, pls let me clear.
Thanks & Regards
Selvakumar
No one special wrote:
Include the path to the apache directory in your path-specification residing in autoexec.bat or simply copy ApacheCore.dll and Win9xConHook.dll from the Apache directory to c:\windows\system.
Apparently Perl, PHP and the likes don't know where to find aforementioned files when Apache invokes them (Perl, PHP, etc) to process a script (and please, let's not dwell on the fact why Apache simply generates a 'premature end of script headers' error instead of the enlightening 'file not found', shall we).
Hopefully, this will be the end of at least one of the many (I'm sure) inconveniences regarding the usage of php (and the likes) and apache...