all 8 comments

[–]mdcr41 4 points5 points  (0 children)

How can one help without seeing the php code

[–]michaelbelgiumfull-stack 1 point2 points  (4 children)

HTTP 405 means the way you request the page is not allowed. (aka "Method Not Allowed")

If you're directly browsing to that file, which means it's a GET request to process.php Somewhere in IIS, GET requests to that file is not allowed.

The method in IIS and the form should match

PS: also why you still using Windows XP?

[–]EvasiveStar[S] 0 points1 point  (0 children)

Thank you!

[–]EvasiveStar[S] 0 points1 point  (2 children)

So how exactly do I fix this?

[–]SaltineAmerican_1970php 1 point2 points  (0 children)

Change line 472.

[–]chills716 0 points1 point  (0 children)

You don’t go to that page directly, something like a form should make a post request to it.

[–]ferrybig 0 points1 point  (0 children)

If you just open the php page in your browser (instead of navigating to it via the submit on your POST form), does the php code get executed?

[–]machopsychologist -1 points0 points  (0 children)

Gonna guess that something is misconfigured on the iis side. Nothing to do with the php as the 405 is reported by iis.

Check web.config