8 月 162025
 

由于WordPress 一直提示PHP升级,但是单独升级PHP 会经常失败,头脑一热就把LNMP升级了。lnmp升级需要卸载再安装,卸载的时候虽然提示了备份,但是头脑一热没备份,然后所有的数据库和配置文件都没了,还好数据库有备份,问题不大,主要是配置文件,特别是vhost的文件。真的头脑一热,然后全部重弄,虽然可以重新梳理下,但是这种错误真的不该犯!!!!

 

 

 

 

 

 

 

 

后来发现升级之后,wordpress就无法显示,报致命错误,后来打开调试一看,还是php问题,

我尝试了降级php,但是依然报错,后来索性恢复了原来的lnmp和php,就没报错了。

所以结论就是:

不要升级!!!!代码和php高度绑定,php升级可能会导致各种问题,就算升级也要做好备份!不要头脑发热!

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny