Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Getting php working on IIS

edited September 2005 in Vanilla 1.0 Help
Is a pain in the arse.
«1

Comments

  • i've followed the instructions on php.net and all i get is 'Service Unavailable' Any ideas folks?
  • nope. sorry.
  • Throw IIS out the window and download WAMP (Apache, MySQL, PHP and SQLite in a simple installset, takes minutes to setup)
  • I considered that option. But i dont want to for a vareity of reasons.
  • You can always run both, just use different ports for the web server if you want to keep IIS for something else like ASP. I've always had trouble getting IIS to play with anything.
  • If you havent tried it you'd be amazed how difficult it is trying to convince IIS to share anything, i made the mistake of installing wamp at work and now IIS refuses to play with anything at all and i have no idea how to fix it. Thats part of the reason i want to work out how to setup php on IIS because then when i can work out how to fix it i'll know what to do. I need both though cause i code in php but SUS requires IIS. If anyone could fix my IIS at work there'd be a small sum of money in it for them.
  • Is it simply that you have WAMP's Apache running on Port 80 and that is conflicting with IIS? WAMP is a fairly isolated install so it shouldn't mess with IIS in any other way, it just has it's directory and the registry entries for the Windows Services and that is it. What is SUS by the way?
  • sus = software update services. Like windows update but your client pc's use your LAN server - much more control and much less bandwidth used. Or thats the theory. And initially i tried running both services on the same ip/port which was somewhat foolish of me. Since then i moved wamp to a different ip but IIS still bitched because even though i defined it to only run on one IP it decided it wanted to bind to all of them. Even when i moved one to port 8080 (which i really didnt want to do anyway) it still didnt work. I suspect there's probably something wrong with my IIS setup somewhere but i have read a lot of articles on the internet complaining what a whore IIS is with regards to sharing between other HTTPD's
  • i have never had a problem setting up iis + php
  • but you're not a retard. This is me we're talking about. thing is, IIS in general is now entirely fucked on my server, it wont even uninstall. What can i do about that?
  • you can't remove it using the add/remove windows components? reinstall your os then...
  • oh shit it's on a server?
  • yeah. now you're seeing my issues. Even if i could take it down for a weekend i'm not sure I'm actually capable of reinstalling it myself. Fool gave me a shit load of help the first time round.
  • edited September 2005
    Check this, it should sort out your binding IIS to an IP issue. :)
  • yeah, i think thats what i read. But unfortunately when IIS doesnt respond to anything whatsoever theres not much i can do :(
  • you can't just kill inetinfo from the command prompt and then restart it?
  • Use this http://phplens.com/phpeverywhere/node/view/12 And if this is for production use make sure to use fastcgi.
  • what would be the exact command? net stop inetinfo?
  • Try just:

    kill inetinfo

    If you have the admin tools installed that should work, if not download this.
  • that killed it. now what?
This discussion has been closed.