Stephan Miller

22 Apr, 2007

Installing PHP on Vista

Posted by: User ImageStephan Miller In: Php| Uncategorized| Vista

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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.

Rate this:
2.5

11 Responses to "Installing PHP on Vista"

1 | Matt

July 3rd, 2007 at 12:41 pm

Avatar

Found it!
Thanks Again.

2 | David Bradley

February 5th, 2008 at 2:29 am

Avatar

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?

3 | Stephan Miller

February 5th, 2008 at 7:57 am

Avatar

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.

4 | sally ahmed

February 16th, 2008 at 11:26 am

Avatar

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: 0×800703e6

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

5 | Stephan Miller

February 18th, 2008 at 5:53 am

Avatar

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

6 | Garg the Unzola

February 21st, 2008 at 8:20 am

Avatar

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

7 | Stephan Miller

February 21st, 2008 at 8:37 am

Avatar

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.

8 | vincent

April 9th, 2008 at 7:50 pm

Avatar

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

9 | Stephan Miller

April 10th, 2008 at 4:32 am

Avatar

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.

10 | Brian May

August 6th, 2008 at 1:15 am

Avatar

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

11 | Stephan Miller

August 6th, 2008 at 5:41 am

Avatar

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.

Comment Form

WTFMO



Flickr PhotoStream

  • CIMG4591
  • CIMG4590
  • CIMG4593
  • DeactivatePlugins

About

This is my blog about building sites, traffic and using those to make money from ecommerce sites, affiliate programs and blogging.