• 0

Installation and configuration issue on Vista's IIS 7


Question

Hello guys,

I need to do my programming works for my job just after I got my new laptop with Vista from IT Fair recently.

For PHP Installation on Windows XP's IIS 5.1, it is pretty easy for me as I know how to install and configure PHP to be running on IIS 5.1 server.

So now I wanted to install and configure to run PHP on my Vista's IIS 7.0. I have followed the tutorial from IIS website closely and went through the steps starting from installing IIS to running PHP. However, at the point when I was about to add PHP ISAPI on IIS 7.0 server, I got the error as stated below. I tried to tweak some settings for adding script map but still got same error.

phpisapierrorob8.th.jpg

I have googled for help but it seemed that I can't find any solution to this. Anyone who know this?

Meanwhile, I got another problem when attempting to view a webpage after adding Virtual Directory for the name alias pointing to different folder. See the error below. I can't figure it out why kept getting the error. Even this error showed friendly message explaining what has caused this error but I still don't get it or understand this.

viewwebpageerrorcv4.th.jpg

Anyone who can help me with PHP installation and virtual directory problem on IIS 7?

Thanks

4 answers to this question

Recommended Posts

  • 0

I followed this guide http://blondr.blogspot.com/2006/11/set-up-...-and-php-5.html and haven't had any problems.

What you might want to try and do is change the location of php (I put mine in the inetpub folder to make the C: drive look cleaner)

You might also want to try the permission setting in the guide as well.

  • 0

Lant, thanks for sharing this with me. I have seen and read this guide in the link you showed me.

I just realised that I overlooked one step during the installation of IIS 7 - Never checked the box to enable ISAPI as the previous guide which I used did not state this clearly. Now my PHP-ISAPI is working on IIS 7.

As for file permission to allow Virtual Directory to view the webpage, this has been solved as well. Cos the account name for Vista's IIS 7 is different from the account name for XP's IIS 5.1 so I had to add IUSR and IIS_IUSR role which is slightly different from what I did for XP's IIS 5.1.

So everything has been solved but still got problem...

phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. - Documentation

I was very sure that I have put php.ini in Windows directory correctly. I also have ensure that the extension path is absolutely correct and I already uncommented the line for php_mysql.dll. But I still don't understand why my PHP can't simply work with mysql on IIS 7 whereas IIS 5.1 has no problem interacting PHP and mysql. I have googled for help but I still can't find the best solution to this mysql extension problem. :cry:

Anyone who has the knowledge or solution, please share here. Thanks

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.