目前共有3篇帖子。
Fedora21現在可以yum升級到php5.6.4,目前的最新版本
1樓 巨大八爪鱼 2015-1-11 12:08
[octopus@pc3 ~]$ sudo yum update php
[sudo] password for octopus:
Loaded plugins: langpacks
Cairo-Dock                                                  | 2.9 kB  00:00     
http://linuxdownload.adobe.com/linux/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: linuxdownload.adobe.com"
Trying other mirror.
google-chrome                                               |  951 B  00:00     
google-earth                                                |  951 B  00:00     
maxthon-browser-stable                                      |  951 B  00:00     
rpmfusion-free-updates                                      | 2.7 kB  00:00     
updates/21/x86_64/metalink                                  | 6.4 kB  00:00     
updates                                                     | 4.9 kB  00:00     
updates/21/x86_64/primary_db                                | 3.4 MB  00:19     
(1/2): updates/21/x86_64/updateinfo                         | 369 kB  00:01     
(2/2): updates/21/x86_64/pkgtags                            | 1.3 MB  00:02     
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php.x86_64 0:5.6.4-2.fc21 will be an update
--> Processing Dependency: php-common(x86-64) = 5.6.4-2.fc21 for package: php-5.6.4-2.fc21.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.6.4-2.fc21 for package: php-5.6.4-2.fc21.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-cli.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-common.x86_64 0:5.6.3-4.fc21 will be updated
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-gd-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-soap-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-xml-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-tidy-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-enchant-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-process-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-ldap-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-imap-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-pdo-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-mcrypt-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-bcmath-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.3-4.fc21 for package: php-mbstring-5.6.3-4.fc21.x86_64
---> Package php-common.x86_64 0:5.6.4-2.fc21 will be an update
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-bcmath.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-enchant.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-enchant.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-gd.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-gd.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-imap.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-imap.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-ldap.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-ldap.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-mbstring.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-mbstring.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-mcrypt.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-mcrypt.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-pdo.x86_64 0:5.6.3-4.fc21 will be updated
--> Processing Dependency: php-pdo(x86-64) = 5.6.3-4.fc21 for package: php-odbc-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-pdo(x86-64) = 5.6.3-4.fc21 for package: php-mysqlnd-5.6.3-4.fc21.x86_64
--> Processing Dependency: php-pdo(x86-64) = 5.6.3-4.fc21 for package: php-pgsql-5.6.3-4.fc21.x86_64
---> Package php-pdo.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-process.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-process.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-soap.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-soap.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-tidy.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-tidy.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-xml.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-xml.x86_64 0:5.6.4-2.fc21 will be an update
--> Running transaction check
---> Package php-mysqlnd.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-mysqlnd.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-odbc.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-odbc.x86_64 0:5.6.4-2.fc21 will be an update
---> Package php-pgsql.x86_64 0:5.6.3-4.fc21 will be updated
---> Package php-pgsql.x86_64 0:5.6.4-2.fc21 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch           Version              Repository       Size
================================================================================
Updating:
 php                  x86_64         5.6.4-2.fc21         updates         2.6 M
Updating for dependencies:
 php-bcmath           x86_64         5.6.4-2.fc21         updates          72 k
 php-cli              x86_64         5.6.4-2.fc21         updates         4.0 M
 php-common           x86_64         5.6.4-2.fc21         updates         1.1 M
 php-enchant          x86_64         5.6.4-2.fc21         updates          54 k
 php-gd               x86_64         5.6.4-2.fc21         updates          95 k
 php-imap             x86_64         5.6.4-2.fc21         updates          92 k
 php-ldap             x86_64         5.6.4-2.fc21         updates          75 k
 php-mbstring         x86_64         5.6.4-2.fc21         updates         575 k
 php-mcrypt           x86_64         5.6.4-2.fc21         updates          63 k
 php-mysqlnd          x86_64         5.6.4-2.fc21         updates         308 k
 php-odbc             x86_64         5.6.4-2.fc21         updates          94 k
 php-pdo              x86_64         5.6.4-2.fc21         updates         148 k
 php-pgsql            x86_64         5.6.4-2.fc21         updates         139 k
 php-process          x86_64         5.6.4-2.fc21         updates          84 k
 php-soap             x86_64         5.6.4-2.fc21         updates         241 k
 php-tidy             x86_64         5.6.4-2.fc21         updates          68 k
 php-xml              x86_64         5.6.4-2.fc21         updates         257 k

Transaction Summary
================================================================================
Upgrade  1 Package (+17 Dependent packages)

Total download size: 10 M
Is this ok [y/d/N]:

2樓 巨大八爪鱼 2015-1-11 12:09
Is this ok [y/d/N]: y
Downloading packages:
updates/21/x86_64/prestodelta                               | 624 kB  00:01     
Delta RPMs reduced 6.0 M of updates to 1.1 M (81% saved)
(1/18): php-bcmath-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm    |  41 kB  00:00     
(2/18): php-imap-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm      |  42 kB  00:00     
(3/18): php-common-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm    |  92 kB  00:00     
(4/18): php-ldap-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm      |  41 kB  00:00     
(5/18): php-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm           | 340 kB  00:01     
(6/18): php-mcrypt-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm    |  43 kB  00:00     
(7/18): php-gd-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm        |  43 kB  00:01     
(8/18): php-mysqlnd-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm   |  61 kB  00:00     
(9/18): php-pgsql-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm     |  51 kB  00:00     
(10/18): php-odbc-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm     |  45 kB  00:00     
(11/18): php-mbstring-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm |  55 kB  00:00     
(12/18): php-process-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm  |  50 kB  00:00     
(13/18): php-soap-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm     |  64 kB  00:00     
(14/18): php-xml-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm      |  69 kB  00:00     
(15/18): php-pdo-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm      |  50 kB  00:00     
(16/18): php-tidy-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm     |  41 kB  00:00     
(17/18): php-cli-5.6.4-2.fc21.x86_64.rpm                    | 4.0 MB  00:06     
(18/18): php-enchant-5.6.3-4.fc21_5.6.4-2.fc21.x86_64.drpm  |  40 kB  00:15     
Finishing delta rebuilds of 10 package(s) (1.9 M)
--------------------------------------------------------------------------------
Total                                              318 kB/s | 5.1 MB  00:16     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
  Updating   : php-common-5.6.4-2.fc21.x86_64                              1/36
  Updating   : php-pdo-5.6.4-2.fc21.x86_64                                 2/36
  Updating   : php-cli-5.6.4-2.fc21.x86_64                                 3/36
  Updating   : php-5.6.4-2.fc21.x86_64                                     4/36
  Updating   : php-odbc-5.6.4-2.fc21.x86_64                                5/36
  Updating   : php-mysqlnd-5.6.4-2.fc21.x86_64                             6/36
  Updating   : php-pgsql-5.6.4-2.fc21.x86_64                               7/36
  Updating   : php-enchant-5.6.4-2.fc21.x86_64                             8/36
  Updating   : php-ldap-5.6.4-2.fc21.x86_64                                9/36
  Updating   : php-bcmath-5.6.4-2.fc21.x86_64                             10/36
  Updating   : php-process-5.6.4-2.fc21.x86_64                            11/36
  Updating   : php-mcrypt-5.6.4-2.fc21.x86_64                             12/36
  Updating   : php-xml-5.6.4-2.fc21.x86_64                                13/36
  Updating   : php-mbstring-5.6.4-2.fc21.x86_64                           14/36
  Updating   : php-tidy-5.6.4-2.fc21.x86_64                               15/36
  Updating   : php-gd-5.6.4-2.fc21.x86_64                                 16/36
  Updating   : php-imap-5.6.4-2.fc21.x86_64                               17/36
  Updating   : php-soap-5.6.4-2.fc21.x86_64                               18/36
  Cleanup    : php-5.6.3-4.fc21.x86_64                                    19/36
  Cleanup    : php-cli-5.6.3-4.fc21.x86_64                                20/36
  Cleanup    : php-soap-5.6.3-4.fc21.x86_64                               21/36
  Cleanup    : php-imap-5.6.3-4.fc21.x86_64                               22/36
  Cleanup    : php-pgsql-5.6.3-4.fc21.x86_64                              23/36
  Cleanup    : php-mysqlnd-5.6.3-4.fc21.x86_64                            24/36
  Cleanup    : php-gd-5.6.3-4.fc21.x86_64                                 25/36
  Cleanup    : php-tidy-5.6.3-4.fc21.x86_64                               26/36
  Cleanup    : php-mbstring-5.6.3-4.fc21.x86_64                           27/36
  Cleanup    : php-xml-5.6.3-4.fc21.x86_64                                28/36
  Cleanup    : php-mcrypt-5.6.3-4.fc21.x86_64                             29/36
  Cleanup    : php-process-5.6.3-4.fc21.x86_64                            30/36
  Cleanup    : php-odbc-5.6.3-4.fc21.x86_64                               31/36
  Cleanup    : php-pdo-5.6.3-4.fc21.x86_64                                32/36
  Cleanup    : php-bcmath-5.6.3-4.fc21.x86_64                             33/36
  Cleanup    : php-ldap-5.6.3-4.fc21.x86_64                               34/36
  Cleanup    : php-enchant-5.6.3-4.fc21.x86_64                            35/36
  Cleanup    : php-common-5.6.3-4.fc21.x86_64                             36/36
  Verifying  : php-5.6.4-2.fc21.x86_64                                     1/36
  Verifying  : php-enchant-5.6.4-2.fc21.x86_64                             2/36
  Verifying  : php-ldap-5.6.4-2.fc21.x86_64                                3/36
  Verifying  : php-bcmath-5.6.4-2.fc21.x86_64                              4/36
  Verifying  : php-odbc-5.6.4-2.fc21.x86_64                                5/36
  Verifying  : php-common-5.6.4-2.fc21.x86_64                              6/36
  Verifying  : php-process-5.6.4-2.fc21.x86_64                             7/36
  Verifying  : php-mcrypt-5.6.4-2.fc21.x86_64                              8/36
  Verifying  : php-cli-5.6.4-2.fc21.x86_64                                 9/36
  Verifying  : php-xml-5.6.4-2.fc21.x86_64                                10/36
  Verifying  : php-mbstring-5.6.4-2.fc21.x86_64                           11/36
  Verifying  : php-tidy-5.6.4-2.fc21.x86_64                               12/36
  Verifying  : php-gd-5.6.4-2.fc21.x86_64                                 13/36
  Verifying  : php-mysqlnd-5.6.4-2.fc21.x86_64                            14/36
  Verifying  : php-pgsql-5.6.4-2.fc21.x86_64                              15/36
  Verifying  : php-imap-5.6.4-2.fc21.x86_64                               16/36
  Verifying  : php-pdo-5.6.4-2.fc21.x86_64                                17/36
  Verifying  : php-soap-5.6.4-2.fc21.x86_64                               18/36
  Verifying  : php-imap-5.6.3-4.fc21.x86_64                               19/36
  Verifying  : php-soap-5.6.3-4.fc21.x86_64                               20/36
  Verifying  : php-gd-5.6.3-4.fc21.x86_64                                 21/36
  Verifying  : php-5.6.3-4.fc21.x86_64                                    22/36
  Verifying  : php-tidy-5.6.3-4.fc21.x86_64                               23/36
  Verifying  : php-enchant-5.6.3-4.fc21.x86_64                            24/36
  Verifying  : php-common-5.6.3-4.fc21.x86_64                             25/36
  Verifying  : php-pdo-5.6.3-4.fc21.x86_64                                26/36
  Verifying  : php-mysqlnd-5.6.3-4.fc21.x86_64                            27/36
  Verifying  : php-cli-5.6.3-4.fc21.x86_64                                28/36
  Verifying  : php-odbc-5.6.3-4.fc21.x86_64                               29/36
  Verifying  : php-mcrypt-5.6.3-4.fc21.x86_64                             30/36
  Verifying  : php-mbstring-5.6.3-4.fc21.x86_64                           31/36
  Verifying  : php-ldap-5.6.3-4.fc21.x86_64                               32/36
  Verifying  : php-xml-5.6.3-4.fc21.x86_64                                33/36
  Verifying  : php-bcmath-5.6.3-4.fc21.x86_64                             34/36
  Verifying  : php-pgsql-5.6.3-4.fc21.x86_64                              35/36
  Verifying  : php-process-5.6.3-4.fc21.x86_64                            36/36

Updated:
  php.x86_64 0:5.6.4-2.fc21                                                     

Dependency Updated:
  php-bcmath.x86_64 0:5.6.4-2.fc21      php-cli.x86_64 0:5.6.4-2.fc21          
  php-common.x86_64 0:5.6.4-2.fc21      php-enchant.x86_64 0:5.6.4-2.fc21      
  php-gd.x86_64 0:5.6.4-2.fc21          php-imap.x86_64 0:5.6.4-2.fc21         
  php-ldap.x86_64 0:5.6.4-2.fc21        php-mbstring.x86_64 0:5.6.4-2.fc21     
  php-mcrypt.x86_64 0:5.6.4-2.fc21      php-mysqlnd.x86_64 0:5.6.4-2.fc21      
  php-odbc.x86_64 0:5.6.4-2.fc21        php-pdo.x86_64 0:5.6.4-2.fc21          
  php-pgsql.x86_64 0:5.6.4-2.fc21       php-process.x86_64 0:5.6.4-2.fc21      
  php-soap.x86_64 0:5.6.4-2.fc21        php-tidy.x86_64 0:5.6.4-2.fc21         
  php-xml.x86_64 0:5.6.4-2.fc21        

Complete!
[octopus@pc3 ~]$

3樓 巨大八爪鱼 2015-1-11 12:10
PHP Version 5.6.4
System   Linux pc3 3.17.7-300.fc21.x86_64 #1 SMP Wed Dec 17 03:08:44 UTC 2014 x86_64   
Build Date   Dec 17 2014 16:14:16   
Server API   Apache 2.0 Handler   
Virtual Directory Support   disabled   
Configuration File (php.ini) Path   /etc   
Loaded Configuration File   /etc/php.ini   
Scan this dir for additional .ini files   /etc/php.d   
Additional .ini files parsed   /etc/php.d/20-bcmath.ini, /etc/php.d/20-bz2.ini, /etc/php.d/20-calendar.ini, /etc/php.d/20-ctype.ini, /etc/php.d/20-curl.ini, /etc/php.d/20-dom.ini, /etc/php.d/20-enchant.ini, /etc/php.d/20-exif.ini, /etc/php.d/20-fileinfo.ini, /etc/php.d/20-ftp.ini, /etc/php.d/20-gd.ini, /etc/php.d/20-gettext.ini, /etc/php.d/20-iconv.ini, /etc/php.d/20-imap.ini, /etc/php.d/20-ldap.ini, /etc/php.d/20-mbstring.ini, /etc/php.d/20-mcrypt.ini, /etc/php.d/20-mysqlnd.ini, /etc/php.d/20-odbc.ini, /etc/php.d/20-pdo.ini, /etc/php.d/20-pgsql.ini, /etc/php.d/20-phar.ini, /etc/php.d/20-posix.ini, /etc/php.d/20-shmop.ini, /etc/php.d/20-simplexml.ini, /etc/php.d/20-soap.ini, /etc/php.d/20-sockets.ini, /etc/php.d/20-sqlite3.ini, /etc/php.d/20-sysvmsg.ini, /etc/php.d/20-sysvsem.ini, /etc/php.d/20-sysvshm.ini, /etc/php.d/20-tidy.ini, /etc/php.d/20-tokenizer.ini, /etc/php.d/20-xml.ini, /etc/php.d/20-xmlwriter.ini, /etc/php.d/20-xsl.ini, /etc/php.d/30-mysql.ini, /etc/php.d/30-mysqli.ini, /etc/php.d/30-pdo_mysql.ini, /etc/php.d/30-pdo_odbc.ini, /etc/php.d/30-pdo_pgsql.ini, /etc/php.d/30-pdo_sqlite.ini, /etc/php.d/30-wddx.ini, /etc/php.d/30-xmlreader.ini, /etc/php.d/40-json.ini, /etc/php.d/40-zip.ini   
PHP API   20131106   
PHP Extension   20131226   
Zend Extension   220131226   
Zend Extension Build   API220131226,NTS   
PHP Extension Build   API20131226,NTS   
Debug Build   no   
Thread Safety   disabled   
Zend Signal Handling   disabled   
Zend Memory Manager   enabled   
Zend Multibyte Support   provided by mbstring   
IPv6 Support   enabled   
DTrace Support   enabled   
Registered PHP Streams  https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar, zip  
Registered Stream Socket Transports  tcp, udp, unix, udg, ssl, sslv3, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2  
Registered Stream Filters  zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*, mcrypt.*, mdecrypt.*  

回復帖子

內容:
用戶名: 您目前是匿名發表
驗證碼:
 
 
©2010-2024 Arslanbar [手機版] [桌面版]
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。