简体   繁体   中英

Do I need to reinstall pear and phing when I upgrade from PHP5.3 to PHP5.4 ?

我可以将旧的pear和phing文件夹复制到PHP5.4文件夹吗?

No, you can't do that.

Two reasons:

  • PEAR allows packages to modify the package's PHP code during installation, eg to put the path of files directly into the code. When moving files, those now hard-coded paths break.
  • The PEAR registry and configuration files have full paths in them. Moving the files breaks them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM