Advertisement
kmirza

PHP 5.3.8 installation installation

Apr 2nd, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
  2. wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  3.  
  4. [root@localhost ~]# php -v
  5. PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:37)
  6. Copyright (c) 1997-2006 The PHP Group
  7. Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
  8.  
  9. [root@localhost ~]# yum --enablerepo=remi update php
  10. Loaded plugins: fastestmirror
  11. Loading mirror speeds from cached hostfile
  12. * base: mirror.averse.net
  13. * elrepo: elrepo.reloumirrors.net
  14. * epel: mirror01.idc.hinet.net
  15. * extras: mirror.averse.net
  16. * remi: iut-info.univ-reims.fr
  17. * rpmforge: fr2.rpmfind.net
  18. * updates: mirror.averse.net
  19. Setting up Update Process
  20. Resolving Dependencies
  21. --> Running transaction check
  22. --> Processing Dependency: php = 5.1.6-27.el5_5.3 for package: php-devel
  23. ---> Package php.i386 0:5.3.8-5.el5.remi.1 set to be updated
  24. --> Processing Dependency: php-common = 5.3.8-5.el5.remi.1 for package: php
  25. --> Processing Dependency: php-cli = 5.3.8-5.el5.remi.1 for package: php
  26. --> Processing Dependency: libedit.so.0 for package: php
  27. --> Running transaction check
  28. ---> Package libedit.i386 0:20090923-3.0_1.el5.rf set to be updated
  29. ---> Package php-cli.i386 0:5.3.8-5.el5.remi.1 set to be updated
  30. --> Processing Dependency: php-api = 20041225 for package: php-mcrypt
  31. --> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-mbstring
  32. --> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-pdo
  33. ---> Package php-common.i386 0:5.3.8-5.el5.remi.1 set to be updated
  34. ---> Package php-devel.i386 0:5.3.8-5.el5.remi.1 set to be updated
  35. --> Running transaction check
  36. ---> Package php-mbstring.i386 0:5.3.8-5.el5.remi.1 set to be updated
  37. ---> Package php-mcrypt.i386 0:5.3.8-5.el5.remi.1 set to be updated
  38. --> Processing Dependency: libltdl.so.3 for package: php-mcrypt
  39. ---> Package php-pdo.i386 0:5.3.8-5.el5.remi.1 set to be updated
  40. --> Running transaction check
  41. ---> Package libtool-ltdl.i386 0:1.5.22-7.el5_4 set to be updated
  42. --> Finished Dependency Resolution
  43.  
  44. Dependencies Resolved
  45.  
  46. ==============================================================================================================================
  47. Package Arch Version Repository Size
  48. ==============================================================================================================================
  49. Updating:
  50. php i386 5.3.8-5.el5.remi.1 remi 2.7 M
  51. Installing for dependencies:
  52. libedit i386 20090923-3.0_1.el5.rf rpmforge 262 k
  53. libtool-ltdl i386 1.5.22-7.el5_4 base 37 k
  54. Updating for dependencies:
  55. php-cli i386 5.3.8-5.el5.remi.1 remi 2.6 M
  56. php-common i386 5.3.8-5.el5.remi.1 remi 988 k
  57. php-devel i386 5.3.8-5.el5.remi.1 remi 1.3 M
  58. php-mbstring i386 5.3.8-5.el5.remi.1 remi 2.3 M
  59. php-mcrypt i386 5.3.8-5.el5.remi.1 remi 46 k
  60. php-pdo i386 5.3.8-5.el5.remi.1 remi 115 k
  61.  
  62. Transaction Summary
  63. =============================================================================================================================
  64. Install 2 Package(s)
  65. Upgrade 7 Package(s)
  66.  
  67. Total size: 10 M
  68. Is this ok [y/N]: y
  69. Downloading Packages:
  70. Running rpm_check_debug
  71. Running Transaction Test
  72. Finished Transaction Test
  73. Transaction Test Succeeded
  74. Running Transaction
  75.  
  76. WARNING : This php-* RPM are not official Fedora/Redhat build and
  77. overrides the official ones. Don't file bugs on Fedora Project nor Redhat.
  78.  
  79. Use dedicated forums http://forums.famillecollet.com/
  80.  
  81. Updating : php-common 1/16
  82. Installing : libedit 2/16
  83. Updating : php-cli 3/16
  84. Updating : php 4/16
  85. Installing : libtool-ltdl 5/16
  86. Updating : php-pdo 6/16
  87. Updating : php-devel 7/16
  88. Updating : php-mbstring 8/16
  89. Updating : php-mcrypt 9/16
  90. Cleanup : php-pdo 10/16
  91. Cleanup : php-cli 11/16
  92. Cleanup : php-devel 12/16
  93. Cleanup : php-mbstring 13/16
  94. Cleanup : php 14/16
  95. Cleanup : php-common 15/16
  96. Cleanup : php-mcrypt 16/16
  97.  
  98. Dependency Installed:
  99. libedit.i386 0:20090923-3.0_1.el5.rf libtool-ltdl.i386 0:1.5.22-7.el5_4
  100.  
  101. Updated:
  102. php.i386 0:5.3.8-5.el5.remi.1
  103.  
  104. Dependency Updated:
  105. php-cli.i386 0:5.3.8-5.el5.remi.1 php-common.i386 0:5.3.8-5.el5.remi.1 php-devel.i386 0:5.3.8-5.el5.remi.1
  106. php-mbstring.i386 0:5.3.8-5.el5.remi.1 php-mcrypt.i386 0:5.3.8-5.el5.remi.1 php-pdo.i386 0:5.3.8-5.el5.remi.1
  107.  
  108. Complete!
  109. [root@localhost ~]# php -v
  110. PHP 5.3.8 (cli) (built: Sep 30 2011 20:23:54)
  111. Copyright (c) 1997-2011 The PHP Group
  112. Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
  113. =============================================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement