PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hello,
sorry I am new in php and just wondering is it possible to run php on IIS?
I know that main purpose to use it on unix/lunix but can this be done?
How?
Reason is simple, I have complete site on php but since company decide to move from lunix to windows...
Of course I can, and actually already start, redelveloping on asp but as temporary solution I need old web site up and runing until new will be ready.
Thanks
Certainly, you can run PHP on IIS, as a CGI apps or SAPI apps. It is said that SAPI is still not as stable as CGI while SAPI has better performance wise speaking.
I am currently on the CGI side. I install the "easy" installer and modify some parameters in PHP.ini. However, I think you are not encouraged to do so for production server. I have yet to try out the ZIP package on php.net yet. Anyone who has tried the ZIP package? Can someone share his/ her thought with us on running the SAPI based PHP (with potential problem encountered)?
it's quite simple, too. there's a install.txt that covers the installation procedure step by step. As far as I know you can't get i.e. the auth-information by cgi on IIS. So I ran php for a few month on IIS as extension dll without any serious problem.
I'm running PHP on IIS my self, and it's working great. Then I can test my scripts before uploading them to the web. Alle you need to do i download PHP form http://www.php.net and install it. Then you set .php in as a file ending in the IIS. Select php.exe as the file handeler and you're on! It can be a little difficult to move around the IIS inviroment, but look around a little and you quickly find where to configure the different options .
Ok people,
Thank you all for response and was great help to me.
By the way on last response there was a question ASP what was that?
Is that a seriouse question or just a joke?
If you seriouse I can help you with that.