Installing PHP on Vista

I actually found the answer to this problem pretty quickly.

The php installation software did not work for some reason on Windows Vista. The only thing I saw that the installation program did incorrectly was that it id not add index.php as a directory index.

Therefore simply changing this: DirectoryIndex index.html

To this: DirectoryIndex index.html index.php

fixed the problem.

I also copied php.ini to Windows folder for good measure. Why? Because someone said to do that in a forum. I figured it couldn’t hurt anything, not being an executable to begin with.

14 Responses to Installing PHP on Vista

  • Matt says:

    Found it!
    Thanks Again.

  • Vista? I’m holding out for XP service pack 3. I really cannot be bothered with the hassle of an “upgrade” that purportedly is not as good as XP and will not support all the legacy hardware I use on a daily basis.

    db

    David Bradley’s last blog post..Who Do You Work For?

  • Stephan Miller says:

    I don’t know why people go on and on about this. I have had no problem with Vista. But I don’t purport, I use.

  • it is not working, I installed the latest PHP and mysql and I get a .net error (below)
    I have manually added the isapi filter to the list, and can not seem to see the list of extensions , should I remove the .net support from iis 7 under vista for php to work? i would if that is the only way,… appreciate any help

    Server Error in Application “Default Web Site/phpMyAdmin”
    HTTP Error 500.0 – Internal Server Error

    Description: Calling LoadLibraryEx on ISAPI filter “C:\Program Files\PHP\php5isapi.dll” failed

    Error Code: 0x800703e6

    Notification: Unknown

    Module: IIS Web Core

    Requested URL: http://localhost:80/phpMyAdmin/

    Physical Path: D:\www\phpMyAdmin\

    Logon User: Not yet determined

    Logon Method: Not yet determined

    Handler: StaticFile

  • Stephan Miller says:

    With that one, I don’t have a clue. My installation went through like a charm once I fixed the directory index issue.

  • If you really want to upgrade XP, get Ubuntu or Fedora Core.
    Actually any Linux would do.

    If you aren’t a gamer, you have no use for Windows.

    Garg the Unzola’s last blog post..Iron Maiden Live After Death DVD Review

  • Stephan Miller says:

    Can’t do it. Tried Linux a while back on Dual Boot back in 2002. That was one of the three times I lost a whole hard drive of data. I know things improve, but losing data like that sucks. It sucks like the last food you ate before the last time you got sick. You know the food didn’t do it, but you really have no intention of trying it again for years or maybe even decades. I couldn’t stand Fritos for about 12 years, literally.

    Plus I could not find the software I needed. I would consider it if it would run these:

    Filemaker
    Flock
    Quickbooks
    Windows Live Writer
    Dreamweaver
    Photoshop
    Camtasia
    A few random website submitters I have.
    the list goes on

    Of course I could switch, but all at once? Linux would have to have a feature where it automatically deposits $100 into my bank account daily in order for me to even consider it.

  • vincent says:

    To stephan:
    ———–
    I had linux for years, and never had the BLUE SCREEN OF death. And now that you mention it, I lost me too a full disk of data but thanks to XP sp2. I’m not a linux inconditionnal, i work with 12 others os as well (mac, solaris, novell[which curiously switched to suse linux hehehe]…) and i assure you there’s no other os as stable as linux. One last thing, no one asks to switch TOTALLY to linux, it’s there it’s free, people are generous and willing to help, take it or leave that’s the difference, if you’re not happy with then don’t use it, it wouldn’t have costed you a dime… anyway this is a free world, you say what you want even if it’s clear you seem to be a Microtheft shop! cheers

    To garg the unzola:
    ——————
    Excellent suggestion buddy!(thumbs up)

    To sally ahmed:
    —————
    TRY this and please make a rule FOR ANY NON MICROSOFT program you install :( no space, no bizarre character in folder names)
    create a VERY SIMPLE DIRECTORY “c:\php” and copy all contents of the old directory (c:\prgram files\php) in it. Or if you prefer, create this simple directory using the setup.exe if avalaible by choosing the path i suggested to you. Then, indicate that new path to IIS.
    I hope it works for you.
    I have the same install on windows vista with IIS running BESIDE APACHE!!!(on a different port of course)
    If you’re more open minded than stephan, maybe you could give apache a try, don’t forget that no serious internet provider uses IIS for web so it should tell you that the guys working behind the scene are damned good ;) good luck

  • Stephan Miller says:

    Vincent, calling me a Microtheft shop is definitely open minded. You schooled me.

    I am using this for a testing server. I do choose Linux to serve my active sites, but I have an issue with using it as my only operating system to save a few bucks.

    So thanks for your input, says the Microtheft shop.

    The end result of Microsoft is the Gates Foundation. What is the end result of Linux? Free software. How humanitarian.

  • Brian May says:

    Are you serious about the Gates Fundation as the end result of Microsoft? That sounds funny to say the least.

  • Stephan Miller says:

    Maybe not the end, but a side effect. Are you saying the Gates Foundation would have happened without Microsoft? People like their own OS. I like mine. Linux is fine for a server. Mac is fine for a boat anchor. And Windows works. I actually to my own site when I make comments.

  • MrIdiot says:

    I pulled up a command window and executed C:\format c: for good measure. Why? Because someone said to do that in a forum. I figured it couldn’t hurt anything, so now I

  • Stephan Miller says:

    I get what you are getting at. An ini file is an initialization file. The software is already being executed before it is accessed. Different case entirely.

  • Pegas says:

    Vista today is not relevant. Win 7 and no problems.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>