Quantcast
Channel: FastCGI Module
Viewing all articles
Browse latest Browse all 205

Errors accessing php codes

$
0
0

I have MS Server 2012 R2 with IIS 8 and PHP 7.0.10 installed (all 64-bit). I set this up a couple months ago and it was working fine. I have been working with the files on another PC for this project but I have not installed any yet. When I tried to access it a couple days ago for some reason it simply stopped working; returning the “HTTP Error 500.0 – Internal Server Error”. I deleted the PHP folder and installed PHP again. Now I get two different errors depending on the site I access. My site is situated on the C: drive with two subfolders (Jokes, Contact) as such:

C:\testsite

……….Jokes

……….Contact

Jokes has the file ‘Index.php’ whereas Contact has the file ‘Index.html’ which calls the ‘contactforms.php’ within the code. Jokes returns the “403 – Forbidden: access is denied” error message but Contact returns the ‘webpage cannot be found’ error within the container where the form should be even though the HTML/CSS content is displayed properly. The file ‘contactforms.php’ is located in the same folder as the file ‘Index’html’ that calls it.

This looks like a permissions issue but I didn’t change the permissions in either folder when I re-installed PHP. I am guessing that since I didn’t change anything when it stopped working that an update must have changed something. While I know this isn’t enough information to help me solve the issue I would appreciate guidance in where I should start looking for the problem. Of course I am more than happy to provide any information should someone want to tackle this issue.


Viewing all articles
Browse latest Browse all 205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>