ARP Posted August 31, 2023 Share Posted August 31, 2023 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 Quote Link to comment https://forums.phpfreaks.com/topic/317235-wamp-to-iis-php-mysql-500-internal-server-error/ Share on other sites More sharing options...
requinix Posted August 31, 2023 Share Posted August 31, 2023 2 hours ago, ARP said: I'm guessing it has to do with Why are you guessing? Check the server and PHP error logs for why you're getting a 500. Quote Link to comment https://forums.phpfreaks.com/topic/317235-wamp-to-iis-php-mysql-500-internal-server-error/#findComment-1611511 Share on other sites More sharing options...
ARP Posted August 31, 2023 Author Share Posted August 31, 2023 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. Quote Link to comment https://forums.phpfreaks.com/topic/317235-wamp-to-iis-php-mysql-500-internal-server-error/#findComment-1611515 Share on other sites More sharing options...
requinix Posted August 31, 2023 Share Posted August 31, 2023 Those are access logs, not error logs. PHP may be writing its errors (if any) to the same place where IIS's error logs are going. Quote Link to comment https://forums.phpfreaks.com/topic/317235-wamp-to-iis-php-mysql-500-internal-server-error/#findComment-1611518 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.