centos_php5.5_upgrade
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
centos_php5.5_upgrade [2016/02/05 22:07] – juckins | centos_php5.5_upgrade [2022/12/21 08:29] (current) – removed juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== PHP 5.5 on CentOS 6 ==== | ||
- | |||
- | http:// | ||
- | |||
- | Checking version: | ||
- | < | ||
- | php -v | ||
- | </ | ||
- | |||
- | Install webtatic repository: | ||
- | < | ||
- | rpm -Uvh http:// | ||
- | </ | ||
- | |||
- | Note which php packages are installed: | ||
- | < | ||
- | rpm -qa|grep php | sort | ||
- | </ | ||
- | |||
- | Machine " | ||
- | < | ||
- | # rpm -qa|grep php | sort | ||
- | php-5.3.3-46.el6_6.i686 | ||
- | php-cli-5.3.3-46.el6_6.i686 | ||
- | php-common-5.3.3-46.el6_6.i686 | ||
- | php-gd-5.3.3-46.el6_6.i686 | ||
- | php-mbstring-5.3.3-46.el6_6.i686 | ||
- | php-mcrypt-5.3.3-4.el6.i686 | ||
- | php-mysql-5.3.3-46.el6_6.i686 | ||
- | php-pdo-5.3.3-46.el6_6.i686 | ||
- | php-pear-1.9.4-4.el6.noarch | ||
- | php-pear-MDB2-2.5.0-0.9.b5.el6.noarch | ||
- | php-pear-MDB2-Driver-mysqli-1.5.0-0.8.b4.el6.noarch | ||
- | php-xml-5.3.3-46.el6_6.i686 | ||
- | </ | ||
- | |||
- | Remove the following: | ||
- | < | ||
- | yum remove php-common | ||
- | </ | ||
- | |||
- | Output: | ||
- | < | ||
- | Loaded plugins: fastestmirror, | ||
- | Setting up Remove Process | ||
- | Resolving Dependencies | ||
- | --> Running transaction check | ||
- | ---> Package php-common.x86_64 0: | ||
- | --> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-4.el6.x86_64 | ||
- | --> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-4.el6.x86_64 | ||
- | --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-cli-5.3.3-46.el6_6.x86_64 | ||
- | --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-mbstring-5.3.3-46.el6_6.x86_64 | ||
- | --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-gd-5.3.3-46.el6_6.x86_64 | ||
- | --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-5.3.3-46.el6_6.x86_64 | ||
- | --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-mysql-5.3.3-46.el6_6.x86_64 | ||
- | --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-xml-5.3.3-46.el6_6.x86_64 | ||
- | --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-pdo-5.3.3-46.el6_6.x86_64 | ||
- | --> Running transaction check | ||
- | ---> Package php.x86_64 0: | ||
- | ---> Package php-cli.x86_64 0: | ||
- | --> Processing Dependency: php-cli >= 5.1.0-1 for package: 1: | ||
- | ---> Package php-gd.x86_64 0: | ||
- | ---> Package php-mbstring.x86_64 0: | ||
- | ---> Package php-mcrypt.x86_64 0: | ||
- | ---> Package php-mysql.x86_64 0: | ||
- | ---> Package php-pdo.x86_64 0: | ||
- | ---> Package php-xml.x86_64 0: | ||
- | --> Running transaction check | ||
- | ---> Package php-pear.noarch 1: | ||
- | --> Finished Dependency Resolution | ||
- | |||
- | Dependencies Resolved | ||
- | |||
- | ======================================================================================================================================================================================= | ||
- | | ||
- | ======================================================================================================================================================================================= | ||
- | Removing: | ||
- | | ||
- | Removing for dependencies: | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
- | Transaction Summary | ||
- | ======================================================================================================================================================================================= | ||
- | Remove | ||
- | |||
- | Installed size: 18 M | ||
- | Is this ok [y/N]: y | ||
- | |||
- | Downloading Packages: | ||
- | Running rpm_check_debug | ||
- | Running Transaction Test | ||
- | Transaction Test Succeeded | ||
- | Running Transaction | ||
- | Warning: RPMDB altered outside of yum. | ||
- | Erasing | ||
- | Erasing | ||
- | Erasing | ||
- | Erasing | ||
- | Erasing | ||
- | Erasing | ||
- | Erasing | ||
- | Erasing | ||
- | Erasing | ||
- | Erasing | ||
- | warning: / | ||
- | Verifying | ||
- | Verifying | ||
- | Verifying | ||
- | Verifying | ||
- | Verifying | ||
- | Verifying | ||
- | Verifying | ||
- | Verifying | ||
- | Verifying | ||
- | Verifying | ||
- | |||
- | Removed: | ||
- | php-common.x86_64 0: | ||
- | |||
- | Dependency Removed: | ||
- | php.x86_64 0: | ||
- | php-mysql.x86_64 0: | ||
- | |||
- | Complete! | ||
- | </ | ||
- | |||
- | Install these packages: | ||
- | < | ||
- | #!/bin/bash | ||
- | |||
- | yum -y install php55w php55w-gd php55w-mbstring php55w-mcrypt php55w-mysql php55w-pdo php55w-pear php55w-xml | ||
- | </ | ||
- | |||
- | Restart HTTPD service: | ||
- | < | ||
- | service httpd restart | ||
- | </ | ||
centos_php5.5_upgrade.1454728058.txt.gz · Last modified: 2016/02/05 22:07 by juckins