Solution to garbled php files after power outage: 1. Restart the computer; 2. Open the corresponding php file with phpstorm; 3. Right-click in the phpstorm interface; 4. Find "local history" and view the history Just record and restore.
The operating environment of this tutorial: Windows 7 system, PHP version 8.1, Dell G3 computer.
What should I do if the php file is garbled after a power outage?
Problem description:
Can the file contents in phpstorm be cleared after abnormal shutdown and be restored?
It may be that the temperature of the motherboard is too high, and the computer shuts down automatically. My phpstorm is under the vmware virtual machine centos6.4 environment. After restarting, all the contents of a main file are cleared and garbled? , I don’t know if it was not saved or what happened, and I don’t know if it can be restored?
Solution to the problem: Right click on the
page and check if there is any record in local history. If not, there may not be any. There's a solution.
Recommended study: "PHP Video Tutorial"
The above is the detailed content of What to do if the php file is garbled after a power outage. For more information, please follow other related articles on the PHP Chinese website!