Php Pages Error 500 (Not Opening)
Author: Amira Omar Mohamed Abdelnabi
Visited 1088,
Followers 1,
Shared 0
I uploaded the website and the php pages (dynamic) are not opening. I need your help urgently.
Posted on the
Which PHP version is set in the customer area of the web hosting provider?
Set the PHP version to PHP 8.1 or 8.2.
Author
Can you tell me the steps please?
Since it is different for each provider you should call the service there and ask what to do or ask the provider to do it.
Author
I checked the php version and it is already 8.1
So what is the problem?
Why the php pages are not opening?
I need a solution urgently because the products are not appearing.
Since an Error 500 can have various causes, you should also ask the support of the web hosting provider to narrow down the cause.
What might be the reason and definitely fixable is a problem with the website URL. If this is wrong, the internal links will not be built correctly and certain functions will not work.
You have activated an SSL certificate but not switched to https! In step 5 'Export', select 'Export the website to the Internet', your domain must be in the 'URL of the website' field with https, i.e. https://www.topwood-egypt.com - this also applies if you are on a drive export and upload with an external ftp program. You must not put http://localhost/ there, this will lead to errors
Addendum: I forgot to write that the project must be rebuilt after the change. To do this, click on the preview button while holding down the Ctrl key and wait until the progress bar has run through completely. Then you upload the entire project again and not just the changes.