KevinM1 Posted July 30, 2007 Share Posted July 30, 2007 First, let me cut off all the "Use Apache" comments before they're even offered. If I had a choice, I'd be using Apache, but my boss wants this on IIS. Now, I've downloaded the latest edition from PHP.net (I think it's PHP 5.2.3) and ran the installer. Everything appeared to run fine. Unfortunately, I can't map the .dll file. I can find the .dll, and I've followed the steps on PHP.net to the letter, but it won't exit the "Add/Edit Application Extension Mapping" window no matter how many times I click "OK." Any ideas on how to get this damn thing to map? Quote Link to comment https://forums.phpfreaks.com/topic/62499-problems-installing-php-52-on-windows-server-2003/ Share on other sites More sharing options...
mrjcfreak Posted July 31, 2007 Share Posted July 31, 2007 Have you tried going to IIS => Websites (right click) => Properties, |Home Directory| => Configuration button, then find .php in the list of extensions, click |Edit| and set the Executable to C:\PHP\PHP5ISAPI.DLL (or wherever the PHP is)- not the php.exe! This is what rescued me. Source: http://www.tjitjing.com/blog/labels/PHP.html Quote Link to comment https://forums.phpfreaks.com/topic/62499-problems-installing-php-52-on-windows-server-2003/#findComment-311782 Share on other sites More sharing options...
KevinM1 Posted July 31, 2007 Author Share Posted July 31, 2007 Have you tried going to IIS => Websites (right click) => Properties, |Home Directory| => Configuration button, then find .php in the list of extensions, click |Edit| and set the Executable to C:\PHP\PHP5ISAPI.DLL (or wherever the PHP is)- not the php.exe! This is what rescued me. Source: http://www.tjitjing.com/blog/labels/PHP.html Thanks for the tip. I didn't realize that .php would already be in the list of extensions. Unfortunately, my test scripts don't work. They don't do anything at all. One would think that the Windows installer would actually install the entire damn thing instead of leaving a bunch of poorly documented steps to follow to complete the process. Consider me unimpressed. Do I have to run php.exe or something? Quote Link to comment https://forums.phpfreaks.com/topic/62499-problems-installing-php-52-on-windows-server-2003/#findComment-312009 Share on other sites More sharing options...
mrjcfreak Posted August 1, 2007 Share Posted August 1, 2007 When you say they don't work, what exactly do you get? Do you get unparsed PHP; like <?php echo "hello world"; ?> coming out, or a 404, or a 403, or a 500, or nothing at all? Did you follow the link I posted? It has some good tips in it. Have you scoured the installation discussions on www.php.net I guess if they spent enough time on the installer to make it work with IIS on Windows, they wouldn't have time to develop PHP. I run abyss and the installer exe works a-ok, same with Xitami; both free products! Quote Link to comment https://forums.phpfreaks.com/topic/62499-problems-installing-php-52-on-windows-server-2003/#findComment-312636 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.