Why 4.0b3 instead of 4.03pl1 or 4.04?
Have you checked the change log to see if there was a bug prior to 4.04 in the functions you are trying to use?
If so, then you're not going to get it to work without backporting the bugfix, and at that point, it pays just to put the newest version on rather than try to do that.
Further, you might wanna mention the OS and web server you are running, as PWS on windows 98 is considerably different from thttpd on linux...