Package the entire site files, configure pseudo-static, upload the database, and modify the database address and account number.
Access is a 500 error, and all pages are 500.
The previous environment was php5.5 mysql5.1 on Alibaba Cloud virtual host
Now it is the lnmp environment of oneoneinstack php7.1 mysql 5.7
Is there a way to solve it?
This is normal.
Just like a bunch of software that you can use in XP, you can’t use it in win10
Then find out where the 500 error occurs.
Put this php in first and put it at the beginning
Then see what the error is. If the error message is still 500 and there is no detailed error content, go to the error log of the web server to find it, usually called error.log.
Then I checked and fixed the errors one by one. .
Your PHP and MySQL are both major upgrades, and there must be a lot of problems. Good luck.
Look at the error log as a whole
Have you not upgraded on the test server now?
The 500 error represents an internal error in the server, that is, a code error. Many ways of writing 5 are not supported by 7. Look at the errors reported and correct them one by one.
php-error.log