搜尋此網誌

2016/7/25

[linux]could not be found in rpmdb

遇到問題
Setting up Upgrade Process
Error: Package tuple ('openssl-devel', 'x86_64', '0', '1.0.1e', '42.el6_7.4') could not be found in rpmdb


解決方式
1、yum clean all
2、rpmdb --rebuilddb



2016/7/22

[php]使用EOT內要加入變數使用的方式

$text="Jordan";

echo <<<EOT
    Hello {$text}
EOT;