Jump to content

Installed PHP, cannot load other web pages on localhost


Recommended Posts

I sucessfully installed PHP/FastCGI on my Windows XP SP3 system using IIS 5.1.  I did some testing with some php pages and they seemed to work fine.  When I went to check out my existing ASP pages, they did not load properly.  The browser loaded the html on the page, but did not allow CSS or any other includes.  I checked the permissions and all the permissions in wwwroot seemed to be reset.  I tried allowing all permissions to all users to no avail. I had to uninstall PHP and reinstall IIS 5.1.

 

I'd like to start learning PHP on my localhost, but not if it compromises my ability to view my other types of pages.  What could cause this?

Link to comment
Share on other sites

Oh I didn't read properly.  ASP core is being loaded, but includes aren't working at the document level.  Maybe your document root changed.  Check using something like firebug to see where exactly it's trying to fetch the files from.  Visit those files directly to see what errors you're getting.  It's possible that you "backed out" one directory so where you had "css/site.css" before maybe now you need "aspsite/css/site.css".

 

-Dan

Link to comment
Share on other sites

I will check that.

 

What I did notice was the security permissions on the files in wwwroot were somehow changed to deny read permission to the IUSR account.  How could the installation of PHP caused this?

When I changed the permissions to allow read access, these files could still not be displayed in a browser.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.