IIS - Anonymous Access to PHP Pages not working
Asked By Daniel Frey
13-Feb-07 07:46 PM
Hi
A freshly installed IIS on my Windows XP SP2 does not allow anonymous
acces to the a simple info.php file that prints the phpinfo(). I just
used default configuration for installation, which enables anonymous
access. But when I load http://localhost/info.php I just get a login
box. A simple index.html placed manually for debugging purpose loads
without login prompt.
I am testing the same thing on a Windows XP (w/o SP2). PHP works for
anonymous access like a charm.
As I am not familiar with IIS and PHP I would appreciate any hints to
solve the problem.
Thanks in advance.
Daniel Frey
IIS
(1)
XP
(1)
PHP
(1)
XPSP
(1)
INTERACTIVE
(1)
NTFS
(1)
SP
(1)
FreyHmm
(1)
David Wang replied...
Hmm. Well, my freshly installed XPSP2 with IIS and PHP default install
works just fine for phpinfo() with anonymous authentication. The
problem is something specific to your non-default XPSP2 installation,
and we have to figure out your non-default configuration problem.
I would start by verifying that:
1. info.php and index.html have the same NTFS ACLs
2. info.php and index.html have the same Authentication protocols
configured and enabled
3. Depending if you configured PHP ISAPI or PHP CGI on IIS, make sure
the NTFS ACLs on all those binaries are the same between your XPSP2
machine and XP machine.
4. The configured username/password for anonymous authehntication,
stored in IIS, match up with the actual username/password on XP
I suspect that some setup program configured mistakes for info.php
which are harder for average users to figure out. Create and use your
own index.php file for testing.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Daniel Frey replied...
Thanks a lot David. Comparing the ACLs of the enclosing folder
user defined, both with Read and Execute rights for this folder and
subfolders.
Cheers
Daniel
PHP - web server IIS XP SP2 I would like to start learning PHP and just wonder if I need to choose either IIS or Apache turned on? Not both? IIS Discussions ASP.NET (1) IIS (1) XP (1) MySQL (1) Holidays (1) Apache (1) Togglebetween (1) Windows (1) PHP will run happily
Newbie problem: IIS, PHP and MySQL IIS Hi. At present I have at home, under XP SP2, a IIS http server to show the lastest photos of my children to their grandparents. No big my old hand-made html page is starting to be a pain updating. I understand PHP and MySQL would provide a better, certainly more automated solution. I will also be needing newbie here. Will someone point me to a complete tutorial for newbies to: 1. install PHP and MySQL support under IIS 2. choose the software solution for a huge - and I mean huge: about 20000 pictures
Is there a way to have Personal Web Server on XP- Home? IIS Is there a way to have Personal Web Server on XP- Home? IIS ASP Discussions XP (1) IIS (1) PWS (1) PHP (1) SlatterytThere (1) ASP (1) WallerThanks (1) Slattery_T (1) Follow this article. its tells you html it is a good, but dated, tutorial but it does not apply to Windows XP (Home or Pro). PWS has been discontinued in favour of IIS. - - Regards John Waller Thanks
IIS on XP Home Ed. (possible). . ? IIS Dear friends, I have installed original XP Home Edition but IIS component is not listed in 'Windows Components' Dialog box from 'Add & Remove Programs' window. How and from where should I install IIS? Please help! RSVP Gagan. . IIS Discussions IIS (1) ASP.NET (1) XP (1) Windows Server (1) WebPages (1) ASP (1) ASPInsider (1
IIS 6.0 and PHP 4.4.1 IIS Hi, We are running a IIS 6.0 web server. PHP 4.4.1 is installed and appachy. There is probably about 50 IIS websites running with .net framework 2 and applications for excample DNN. a client want us to add PHP application extentions in IIS but we are a bit scared to do that. Does anyone know if this is