Question

Error after upgrade PHP to 7

Posted July 29, 2017 1.1k views
CentOS PHP

hello,

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?

https://www.mutlugunsusleri.com/

https://www.mutlugunsusleri.com/phpinfo.php

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers

Restore from the snapshot you made before upgrading.

@cagkana9f5cd873f5b8188e469

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

Submit an Answer