Jump to content

WAMP to IIS, PHP, MySQL - 500 - Internal Server Error


ARP

Recommended Posts

We have a site running on WAMP but want to migrate this to IIS. IIS has been setup with PHP and MySQL and everything works, or appears to. The DB was imported into the new MySQL, the phpinfo.php displays everything. The problem is the files copied over from the WAMP server to IIS server are giving 500 error. I created a new index.php to test and it loads fine so I'm guessing it has to do with file persmissions of some type. I've made sure the directory has the USERS and IIS_IUSRS added. I've tried everything I can think of. Any help is greatly appreicated!!!

AP

Link to comment
Share on other sites

IIS Logs don't say much.

2023-08-31 17:53:41 10.2.82.25 GET / - 80 - 10.2.94.20 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:109.0)+Gecko/20100101+Firefox/117.0 - 500 0 0 83
2023-08-31 17:53:47 10.2.82.25 GET / - 80 - 10.2.94.20 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:109.0)+Gecko/20100101+Firefox/117.0 - 500 0 0 77
2023-08-31 17:54:10 10.2.82.25 GET / - 80 - 10.2.94.20 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:109.0)+Gecko/20100101+Firefox/117.0 - 200 0 0 132
2023-08-31 17:54:45 10.2.82.25 GET / - 80 - 10.2.94.20 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:109.0)+Gecko/20100101+Firefox/117.0 - 200 0 0 119
2023-08-31 17:54:46 10.2.82.25 GET / - 80 - 10.2.94.20 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:109.0)+Gecko/20100101+Firefox/117.0 - 200 0 0 121
2023-08-31 17:55:19 10.2.82.25 GET / - 80 - 10.2.94.20 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:109.0)+Gecko/20100101+Firefox/117.0 - 200 0 0 151
2023-08-31 17:56:20 10.2.82.25 GET / - 80 - 10.2.94.20 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:109.0)+Gecko/20100101+Firefox/117.0 - 500 0 0 121

I don't see any PHP logs even though error_logs is enabled.

 

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.