php-upgrade
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| php-upgrade [2015/12/14 15:22] – luke7858 | php-upgrade [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| The following guide will use yum-plugin-replace to upgrade php. | The following guide will use yum-plugin-replace to upgrade php. | ||
| \\ | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | ---------------------------------------------------------------------------- | ||
| + | === WARNING! === | ||
| + | Before upgrading, please make sure plesk is NOT installed | ||
| + | <sxh bash> | ||
| + | service psa status | ||
| + | </ | ||
| + | <sxh bash> | ||
| + | rpm -qa | grep -i ' | ||
| + | </ | ||
| + | IF you run the following guide and plesk IS installed, it will remove the ' | ||
| + | \\ | ||
| + | \\ | ||
| + | ---------------------------------------------------------------------------- | ||
| + | \\ | ||
| \\ | \\ | ||
| 1 ) | 1 ) | ||
| Line 33: | Line 48: | ||
| \\ | \\ | ||
| 4) | 4) | ||
| + | php -m > / | ||
| + | \\ | ||
| + | 5) | ||
| \\ | \\ | ||
| You will not be able to simply install the new package, it will conflict with lots of installed packages. | You will not be able to simply install the new package, it will conflict with lots of installed packages. | ||
| Line 40: | Line 58: | ||
| <sxh bash> | <sxh bash> | ||
| yum replace php --replace-with=php56u | yum replace php --replace-with=php56u | ||
| + | </ | ||
| + | \\ | ||
| + | 6) | ||
| + | <sxh bash> | ||
| + | php -m > / | ||
| + | </ | ||
| + | <sxh bash> | ||
| + | diff the two file | ||
| </ | </ | ||
php-upgrade.1450106527.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
