User Tools

Site Tools


php-upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
php-upgrade [2015/12/14 14:56] luke7858php-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> 
 +<sxh bash> 
 +rpm -qa | grep -i 'psa\|plesk' 
 +</sxh> 
 +IF you run the following guide and plesk IS installed, it will remove the 'php-psa' module which will fully remove plesk from your device!!! 
 +\\ 
 +\\ 
 +---------------------------------------------------------------------------- 
 +\\
 \\ \\
 1 ) 1 )
Line 32: Line 47:
 </sxh> </sxh>
 \\ \\
-4)+4)  
 +php -m > /home/php-modulebackup 
 +\\ 
 +5) 
 +\\ 
 +You will not be able to simply install the new package, it will conflict with lots of installed packages. 
 +\\ 
 +What we need to do it 'replace' packages (Note: you may need to run yum-complete-transaction first). 
 +\\ 
 +<sxh bash> 
 +yum replace php --replace-with=php56u 
 +</sxh> 
 +\\ 
 +6)  
 +<sxh bash> 
 +php -m > /home/php-modulebackupUpgrade 
 +</sxh> 
 +<sxh bash> 
 +diff the two file 
 +</sxh>
php-upgrade.1450105014.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki