koostamas Posted July 31, 2018 Share Posted July 31, 2018 So I just created my free hosting account and migrated my website from an other free hosting service. My static html files are working, but all of my php files give a server http 500 error. I enabled display_error, but it still doesn't show anything. My php pages were working at the previous hoster and I didn't change anything since then. What could be the problem? Quote Link to comment Share on other sites More sharing options...
Anyx Posted July 31, 2018 Share Posted July 31, 2018 1 hour ago, koostamas said: So I just created my free hosting account and migrated my website from an other free hosting service. My static html files are working, but all of my php files give a server http 500 error. I enabled display_error, but it still doesn't show anything. My php pages were working at the previous hoster and I didn't change anything since then. What could be the problem? Have you contacted Support at https://support.ifastnet.com ? They will be more able to help you, with the detaiils you have given us I cannot think of anything, maybe there is a bug in your code or a function that cannot be used in Free Hosting? Quote Link to comment Share on other sites More sharing options...
InfinityFree Posted August 1, 2018 Share Posted August 1, 2018 16 hours ago, koostamas said: So I just created my free hosting account and migrated my website from an other free hosting service. My static html files are working, but all of my php files give a server http 500 error. I enabled display_error, but it still doesn't show anything. My php pages were working at the previous hoster and I didn't change anything since then. What could be the problem? Note that even though your PHP configuration may enable error messages, your script's code may cause them to be surpressed as well. Check if your script has some kind of debug mode which you can enable to show the error information. You could submit a support ticket to iFastNet, but they make it quite clear that they won't help with website development, so I don't think they can help you. Quote Link to comment Share on other sites More sharing options...
einet Posted August 3, 2018 Share Posted August 3, 2018 You can also try changing the version of the php from your vpanel to a more recent one to 5.4 or higher can help to solve your problem Quote Link to comment Share on other sites More sharing options...
AA22Dev Posted August 3, 2018 Share Posted August 3, 2018 On 7/31/2018 at 10:41 PM, koostamas said: So I just created my free hosting account and migrated my website from an other free hosting service. My static html files are working, but all of my php files give a server http 500 error. I enabled display_error, but it still doesn't show anything. My php pages were working at the previous hoster and I didn't change anything since then. What could be the problem? Hi, you said that you had migrated from other hosting. Then please delete php.ini, .user.ini files and also remove auto php generated code from .htaccess file. You problem will be solved Quote Link to comment Share on other sites More sharing options...
AA22Dev Posted August 4, 2018 Share Posted August 4, 2018 12 hours ago, PlanetCloud said: Hi there, PHP.INI or USER.INI files will not be parsed as settings by the server since the modification of it requires root access and only VPS or Dedicated servers offers a way to edit it. but .htaccess file will be parsed and php manager of cpanel add php code in .htaccess also so, i think he have to remove that auto generated php code from .htaccess to remove this 500 internal server error. Quote Link to comment Share on other sites More sharing options...
sajidkhanrock Posted August 29, 2018 Share Posted August 29, 2018 Check your code and check theres php 7.0 or 5.4 if 7.0 change all mysql commands to mysqli then check it works for me Quote Link to comment 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.