Error after upgrade PHP to 7

July 29, 2017 981 views


I’ve woocommerce website. Today, I upgraded my php version 5.4 to 7.0 and getting error after that; 500.

how can I fix it?

need your help to fix it. that is e-commerce site and important to be online as soon as possible.

2 Answers

Restore from the snapshot you made before upgrading.


You need to provide more info, maybe you must install php extensions for php version 7.0.

Post the last 20 lines of your error log, if using apache web sever then use this command:

tail -20 /var/log/apache2/error.log

If using nginx use this one

tail -20 /var/log/nginx/error.log

Have another answer? Share your knowledge.