I was trying to install PHP5 jus to it out on my WinXP box on Apache 1.3.27 but it always gave me the
Cannot load c:/php/sapi/php4apache.dll into server: (126) The specified module cannot be found.
error when i tried to install it as a Apache module. Then i tried to install it as CGI and it alwayz gave me the
Premature end of script headers:
error on all the php pages.
I finally found the solution in the php-install mailing list.
First instead of
LoadModule php4_module "c:/php/sapi/php4apache.dll"
you have to add this to the apache conf:
LoadModule php5_module "c:/php/sapi/php4apache.dll"
and then you have to put the iconv.dll file in the dlls folder in to the sapi folder.
Then everything will work fine.