Hi, all. I have an issue with installing PHP 5.0 beta 3 on Windows. I currently have PHP 4.3.3 running as a module for Apache 1.3.24, but I've been doing some XML-intensive development and thought I might try out 5.0's libxml functions, as well as just help out the beta test effort.
I stopped Apache, renamed the "old" PHP directory to "php4", and copied the contents of the 5.0b3 "w/o installer" zip file to D:/AppServ/php where php4 had been. I also copied the php4ts.dll from the root of the 5.0 directory to the /sapi directory. I edited the php.ini-recommended file from 5.0 so that the extensions directory was correct (even though it shouldn't load any extensions). In C:\Windows, I moved the old php.ini to php4.ini and copied the edited php.ini-recommended file to c:\windows\php.ini. I also made sure there were no copies of php4ts.dll in /windows/system32. At first, I forgot to change httpd.conf, so I got error messages when restarting Apache that were fairly obvious in Event Viewer. I changed the php4 lines in httpd.conf to: LoadModule php5_module D:/AppServ/php/sapi/php4apache.dll and AddModule mod_php5.c That stopped the normal "syntax error in httpd.conf" errors I was getting before, but started a new mess. What it looks like now is that Apache tries to load D:/AppServ/php/sapi/php4ts.dll and seg faults. Before I updated httpd.conf, it took only a second or two for Apache to present an error when starting. Now, it takes more like 5+ seconds of disks spinning and the sound of things loading before I get a message from XP saying that apache crashed. I've saved the hexdumps and other info that the windows error logger keeps, but I can't make much of them. The message is pretty clear that there's a problem with php4ts.dll at a specific offset. I didn't want to attach them, but I'll put them on my web server or attach if anyone thinks they'd help. I tried 5.0b2 and it had the exact same problem. I also downloaded 5.0b3 from two different mirrors and checked the md5sum on each, and neither copy worked. When I copied php4ts.dll to the /php/cli/ directory and ran php -i , I got what sounded like perfectly reasonable phpinfo, and I even ran a couple little PHP scripts through it. It even gave me a parse error on one that I had laying around. It was looking for php.ini in c:\windows right where it was, and it didn't complain about anything. I'm really lost on this one. If anyone has any suggestions, I'd appreciate them very much. All the documentation I can find online seems to address things I've covered. Thanks, Sam Clayton PHP5.0 beta 3 running as module for Apache 1.3.24 php4ts.dll is in D:/AppServ/php/sapi/ Php.ini is in C:/Windows/ Platform: OS: Win XP Pro SP1 Hardware: PIII 730Mhz, 320M ram MySQL: 3.23.57-nt