試すも効果が得られなかった履歴

PHP用語集

カテゴリー: エラーメッセージ  閲覧数:628 配信日:2016-12-08 23:08


試すも効果が得られなかった履歴1


「php-bcmath」はPHP5.3系専用
・PHP7系環境にインストールしても反映されない
$ yum install php-bcmath
読み込んだプラグイン:fastestmirror, security
このコマンドを実行するには root である必要があります。

$ sudo -s
                                                                                                                                         
# yum install php-bcmath    
                                                                                                   
読み込んだプラグイン:fastestmirror, security
インストール処理の設定をしています
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                         | 5.4 kB     00:00    
* base: ftp.riken.jp
* epel: ftp.riken.jp
* extras: ftp.riken.jp
* remi-safe: mirror.innosol.asia
* rpmforge: ftp.kddilabs.jp
* updates: ftp.riken.jp
10gen                                                                                                                                 |  951 B     00:00    
base                                                                                                                                  | 3.7 kB     00:00    
epel                                                                                                                                  | 4.3 kB     00:00    
epel/primary_db                                                                                                                       | 5.9 MB     00:00    
extras                                                                                                                                | 3.4 kB     00:00    
graphviz-stable                                                                                                                       |  951 B     00:00    
mysql-connectors-community                                                                                                            | 2.5 kB     00:00    
mysql-tools-community                                                                                                                 | 2.5 kB     00:00    
mysql56-community                                                                                                                     | 2.5 kB     00:00    
remi-safe                                                                                                                             | 2.9 kB     00:00    
http://mirror.innosol.asia/remi/enterprise/6/safe/x86_64/repodata/7b490c2b339bbebd5825ff0d95a949ba5669d0d50de17e05121dfbe4b8e413df-primary.sqlite.bz2: [Errno 12] Timeout on http://mirror.innosol.asia/remi/enterprise/6/safe/x86_64/repodata/7b490c2b339bbebd5825ff0d95a949ba5669d0d50de17e05121dfbe4b8e413df-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1 bytes/sec transferred the last 30 seconds')
他のミラーを試します。
remi-safe/primary_db                                                                                                                  | 432 kB     00:00    
rpmforge                                                                                                                              | 1.9 kB     00:00    
updates                                                                                                                               | 3.4 kB     00:00    
updates/primary_db                                                                                                                    | 3.7 MB     00:00    
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> Package php-bcmath.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-bcmath.x86_64 0:5.3.3-48.el6_8 will be an update
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-bcmath-5.3.3-48.el6_8.x86_64
--> トランザクションの確認を実行しています。
---> Package php-common.x86_64 0:5.3.3-47.el6 will be 更新
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-47.el6 のパッケージ: php-xml-5.3.3-47.el6.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-47.el6 のパッケージ: php-mysql-5.3.3-47.el6.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-47.el6 のパッケージ: php-pdo-5.3.3-47.el6.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-47.el6 のパッケージ: php-mbstring-5.3.3-47.el6.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-47.el6 のパッケージ: php-tidy-5.3.3-47.el6.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-47.el6 のパッケージ: php-cli-5.3.3-47.el6.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-47.el6 のパッケージ: php-gd-5.3.3-47.el6.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-47.el6 のパッケージ: php-process-5.3.3-47.el6.x86_64
---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be an update
--> トランザクションの確認を実行しています。
---> Package php-cli.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-cli.x86_64 0:5.3.3-48.el6_8 will be an update
---> Package php-gd.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-gd.x86_64 0:5.3.3-48.el6_8 will be an update
---> Package php-mbstring.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-mbstring.x86_64 0:5.3.3-48.el6_8 will be an update
---> Package php-mysql.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-mysql.x86_64 0:5.3.3-48.el6_8 will be an update
---> Package php-pdo.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-pdo.x86_64 0:5.3.3-48.el6_8 will be an update
---> Package php-process.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-process.x86_64 0:5.3.3-48.el6_8 will be an update
---> Package php-tidy.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-tidy.x86_64 0:5.3.3-48.el6_8 will be an update
---> Package php-xml.x86_64 0:5.3.3-47.el6 will be 更新
---> Package php-xml.x86_64 0:5.3.3-48.el6_8 will be an update
--> 依存性解決を終了しました。

依存性を解決しました

=============================================================================================================================================================
パッケージ                             アーキテクチャ                   バージョン                                  リポジトリー                       容量
=============================================================================================================================================================
更新:
php-bcmath                             x86_64                           5.3.3-48.el6_8                              updates                            39 k
依存性関連での更新をします。:
php-cli                                x86_64                           5.3.3-48.el6_8                              updates                           2.2 M
php-common                             x86_64                           5.3.3-48.el6_8                              updates                           530 k
php-gd                                 x86_64                           5.3.3-48.el6_8                              updates                           111 k
php-mbstring                           x86_64                           5.3.3-48.el6_8                              updates                           460 k
php-mysql                              x86_64                           5.3.3-48.el6_8                              updates                            86 k
php-pdo                                x86_64                           5.3.3-48.el6_8                              updates                            80 k
php-process                            x86_64                           5.3.3-48.el6_8                              updates                            44 k
php-tidy                               x86_64                           5.3.3-48.el6_8                              updates                            41 k
php-xml                                x86_64                           5.3.3-48.el6_8                              updates                           108 k

トランザクションの要約
=============================================================================================================================================================
アップグレード      10 パッケージ

総ダウンロード容量: 3.6 M
これでいいですか? [y/N]

y
パッケージをダウンロードしています:
(1/10): php-bcmath-5.3.3-48.el6_8.x86_64.rpm                                                                                          |  39 kB     00:00    
(2/10): php-cli-5.3.3-48.el6_8.x86_64.rpm                                                                                             | 2.2 MB     00:00    
(3/10): php-common-5.3.3-48.el6_8.x86_64.rpm                                                                                          | 530 kB     00:00    
(4/10): php-gd-5.3.3-48.el6_8.x86_64.rpm                                                                                              | 111 kB     00:00    
(5/10): php-mbstring-5.3.3-48.el6_8.x86_64.rpm                                                                                        | 460 kB     00:00    
(6/10): php-mysql-5.3.3-48.el6_8.x86_64.rpm                                                                                           |  86 kB     00:00    
(7/10): php-pdo-5.3.3-48.el6_8.x86_64.rpm                                                                                             |  80 kB     00:00    
(8/10): php-process-5.3.3-48.el6_8.x86_64.rpm                                                                                         |  44 kB     00:00    
(9/10): php-tidy-5.3.3-48.el6_8.x86_64.rpm                                                                                            |  41 kB     00:00    
(10/10): php-xml-5.3.3-48.el6_8.x86_64.rpm                                                                                            | 108 kB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                                         5.1 MB/s | 3.6 MB     00:00    
rpm_check_debug を実行しています
トランザクションのテストを実行しています
トランザクションのテストを成功しました
トランザクションを実行しています
 更新                    : php-common-5.3.3-48.el6_8.x86_64                                                                                            1/20
 更新                    : php-pdo-5.3.3-48.el6_8.x86_64                                                                                               2/20
 更新                    : php-mysql-5.3.3-48.el6_8.x86_64                                                                                             3/20
 更新                    : php-cli-5.3.3-48.el6_8.x86_64                                                                                               4/20
 更新                    : php-mbstring-5.3.3-48.el6_8.x86_64                                                                                          5/20
 更新                    : php-process-5.3.3-48.el6_8.x86_64                                                                                           6/20
 更新                    : php-gd-5.3.3-48.el6_8.x86_64                                                                                                7/20
 更新                    : php-tidy-5.3.3-48.el6_8.x86_64                                                                                              8/20
 更新                    : php-xml-5.3.3-48.el6_8.x86_64                                                                                               9/20
 更新                    : php-bcmath-5.3.3-48.el6_8.x86_64                                                                                           10/20
 整理中                  : php-mysql-5.3.3-47.el6.x86_64                                                                                              11/20
 整理中                  : php-pdo-5.3.3-47.el6.x86_64                                                                                                12/20
 整理中                  : php-bcmath-5.3.3-47.el6.x86_64                                                                                             13/20
 整理中                  : php-xml-5.3.3-47.el6.x86_64                                                                                                14/20
 整理中                  : php-tidy-5.3.3-47.el6.x86_64                                                                                               15/20
 整理中                  : php-gd-5.3.3-47.el6.x86_64                                                                                                 16/20
 整理中                  : php-process-5.3.3-47.el6.x86_64                                                                                            17/20
 整理中                  : php-mbstring-5.3.3-47.el6.x86_64                                                                                           18/20
 整理中                  : php-cli-5.3.3-47.el6.x86_64                                                                                                19/20
 整理中                  : php-common-5.3.3-47.el6.x86_64                                                                                             20/20
 Verifying               : php-cli-5.3.3-48.el6_8.x86_64                                                                                               1/20
 Verifying               : php-mbstring-5.3.3-48.el6_8.x86_64                                                                                          2/20
 Verifying               : php-mysql-5.3.3-48.el6_8.x86_64                                                                                             3/20
 Verifying               : php-process-5.3.3-48.el6_8.x86_64                                                                                           4/20
 Verifying               : php-gd-5.3.3-48.el6_8.x86_64                                                                                                5/20
 Verifying               : php-common-5.3.3-48.el6_8.x86_64                                                                                            6/20
 Verifying               : php-tidy-5.3.3-48.el6_8.x86_64                                                                                              7/20
 Verifying               : php-pdo-5.3.3-48.el6_8.x86_64                                                                                               8/20
 Verifying               : php-xml-5.3.3-48.el6_8.x86_64                                                                                               9/20
 Verifying               : php-bcmath-5.3.3-48.el6_8.x86_64                                                                                           10/20
 Verifying               : php-xml-5.3.3-47.el6.x86_64                                                                                                11/20
 Verifying               : php-mysql-5.3.3-47.el6.x86_64                                                                                              12/20
 Verifying               : php-common-5.3.3-47.el6.x86_64                                                                                             13/20
 Verifying               : php-cli-5.3.3-47.el6.x86_64                                                                                                14/20
 Verifying               : php-pdo-5.3.3-47.el6.x86_64                                                                                                15/20
 Verifying               : php-process-5.3.3-47.el6.x86_64                                                                                            16/20
 Verifying               : php-gd-5.3.3-47.el6.x86_64                                                                                                 17/20
 Verifying               : php-tidy-5.3.3-47.el6.x86_64                                                                                               18/20
 Verifying               : php-bcmath-5.3.3-47.el6.x86_64                                                                                             19/20
 Verifying               : php-mbstring-5.3.3-47.el6.x86_64                                                                                           20/20

更新:
 php-bcmath.x86_64 0:5.3.3-48.el6_8                                                                                                                        

依存性を更新しました:
 php-cli.x86_64 0:5.3.3-48.el6_8      php-common.x86_64 0:5.3.3-48.el6_8    php-gd.x86_64 0:5.3.3-48.el6_8         php-mbstring.x86_64 0:5.3.3-48.el6_8  
 php-mysql.x86_64 0:5.3.3-48.el6_8    php-pdo.x86_64 0:5.3.3-48.el6_8       php-process.x86_64 0:5.3.3-48.el6_8    php-tidy.x86_64 0:5.3.3-48.el6_8      
 php-xml.x86_64 0:5.3.3-48.el6_8    

完了しました!

# service httpd configtest
# service httpd restart    


試すも効果が得られなかった履歴2


PHP5.3系専用の「php-bcmath」しかインストールしていないため
・PHP7系は、パッケージ名が異なる                                         
# yum update php-bcmath
読み込んだプラグイン:fastestmirror, security
更新処理の設定をしています
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* epel: ftp.riken.jp
* extras: ftp.riken.jp
* remi-safe: mirror.innosol.asia
* rpmforge: ftp.kddilabs.jp
* updates: ftp.riken.jp
更新と設定されたパッケージがありません。



試すも効果が得られなかった履歴3


# yum --enablerepo=remi install php-bcmath
読み込んだプラグイン:fastestmirror, security
インストール処理の設定をしています
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* epel: ftp.riken.jp
* extras: ftp.riken.jp
* remi: mirror.innosol.asia
* remi-safe: mirror.innosol.asia
* rpmforge: ftp.kddilabs.jp
* updates: ftp.riken.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> Package php-bcmath.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-bcmath.x86_64 0:5.4.45-12.el6.remi will be an update
--> 依存性の処理をしています: php-common(x86-64) = 5.4.45-12.el6.remi のパッケージ: php-bcmath-5.4.45-12.el6.remi.x86_64
--> トランザクションの確認を実行しています。
---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be 更新
--> 依存性の処理をしています: php(api) = 20090626 のパッケージ: php-mcrypt-5.3.3-4.el6.x86_64
--> 依存性の処理をしています: php(zend-abi) = 20090626 のパッケージ: php-mcrypt-5.3.3-4.el6.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-xml-5.3.3-48.el6_8.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-gd-5.3.3-48.el6_8.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-process-5.3.3-48.el6_8.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-tidy-5.3.3-48.el6_8.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-cli-5.3.3-48.el6_8.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-mbstring-5.3.3-48.el6_8.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-pdo-5.3.3-48.el6_8.x86_64
--> 依存性の処理をしています: php-common(x86-64) = 5.3.3-48.el6_8 のパッケージ: php-mysql-5.3.3-48.el6_8.x86_64
---> Package php-common.x86_64 0:5.4.45-12.el6.remi will be an update
--> トランザクションの確認を実行しています。
---> Package php-cli.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-cli.x86_64 0:5.4.45-12.el6.remi will be an update
---> Package php-gd.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-gd.x86_64 0:5.4.45-12.el6.remi will be an update
---> Package php-mbstring.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-mbstring.x86_64 0:5.4.45-12.el6.remi will be an update
---> Package php-mcrypt.x86_64 0:5.3.3-4.el6 will be 更新
---> Package php-mcrypt.x86_64 0:5.4.45-12.el6.remi will be an update
---> Package php-mysql.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-mysql.x86_64 0:5.4.45-12.el6.remi will be an update
--> 依存性の処理をしています: libmysqlclient.so.18(libmysqlclient_16)(64bit) のパッケージ: php-mysql-5.4.45-12.el6.remi.x86_64
パッケージ mysql-libs は mysql-community-libs-compat によって不要になりました。しかし、不要のパッケージは要求を提供していません。
---> Package php-pdo.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-pdo.x86_64 0:5.4.45-12.el6.remi will be an update
---> Package php-process.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-process.x86_64 0:5.4.45-12.el6.remi will be an update
---> Package php-tidy.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-tidy.x86_64 0:5.4.45-12.el6.remi will be an update
---> Package php-xml.x86_64 0:5.3.3-48.el6_8 will be 更新
---> Package php-xml.x86_64 0:5.4.45-12.el6.remi will be an update
--> 依存性解決を終了しました。
エラー: パッケージ: php-mysql-5.4.45-12.el6.remi.x86_64 (remi)
            要求: libmysqlclient.so.18(libmysqlclient_16)(64bit)
           利用可能: mysql-libs-5.5.52-1.el6.remi.x86_64 (remi)
               libmysqlclient.so.18(libmysqlclient_16)(64bit)
           利用可能: mysql-libs-5.5.53-1.el6.remi.x86_64 (remi)
               libmysqlclient.so.18(libmysqlclient_16)(64bit)
           利用可能: mysql-libs-5.1.73-7.el6.i686 (base)
               見つかりません
問題を回避するために --skip-broken を用いることができません
これらを試行できます: rpm -Va --nofiles --nodigest



試すも効果が得られなかった履歴4


効果は得られなかったが、基本パッケージ名が「php-bcmath」であることが判明
→ 「$ yum list | grep php-bcmath」に繋がる    
# rpm -qa php* lists php-bcmath
php-bcmath-5.3.3-48.el6_8.x86_64



How do I enable the bcdiv function in PHP 7.0.8 at Cent OS?

週間人気ページランキング / 1-30 → 2-5
順位 ページタイトル抜粋 アクセス数
1 Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ) 10
2 ブラウザを閉じたらセッションデータはどうなるの? | セッション 9
3 curl で Cookie を使用する 4
3 Fatal error: Access level to ▲::$△ must be protected (as in class ●) or weaker | Fatal error(エラーメッセージ) 4
3 PHPで定数を定義する方法は2種類ある / 配列定数の定義 4
4 コード例 … 「例外処理」はネストすることができる 3
4 Warning: PDO::query(): LOAD DATA LOCAL INFILE forbidden | Warning(エラーメッセージ) 3
4 http_build_queryとは? / 構文 /パラメータ 3
4 Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting | エラーメッセージ 3
5 Fatal error: Cannot redeclare 関数名() (previously declared in ファイル名:○○) in ファイル名 | Fatal error(エラーメッセージ) 2
5 Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'データベースユーザー名'@'localhost' (using password: YES)' | phpMyAdmin(データベース関連) 2
5 ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined | Fatal error(エラーメッセージ) 2
5 new clone違い | 演算子 2
5 オブジェクト関係マッピング | データベース関連 2
5 array_filter | 配列 2
6 Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ) 1
6 Fatal error: require_once(): Failed opening required 'PEAR.php' | Fatal error(エラーメッセージ) 1
6 セッション単位 | セッション 1
6 htmlspecialchars / htmlentities / addslashes / mysql_real_escape_string / mysqli_real_escape_string | セキュリティ 1
6 dirname() / (__FILE__ ) / basename( dirname( __FILE__ ) ); | 関数 1
2025/2/6 1:02 更新
指定期間人気ページランキング / 2020-5-28 → 2025-2-5
順位 ページタイトル抜粋 アクセス数
1 PHP用語 6672
2 ブラウザを閉じたらセッションデータはどうなるの? | セッション 2434
3 Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ) 2362
4 ブラウザを閉じたらセッションデータはどうなるの? | セッション 1607
5 【テスト投稿】テスト | 1133
6 セッション管理が必要な理由は、HTTPプロトコルには状態を保持する機能がないため | セッション 1006
7 PHPで定数を定義する方法は2種類ある / 配列定数の定義 880
8 Fatal error: Access level to ▲::$△ must be protected (as in class ●) or weaker | Fatal error(エラーメッセージ) 830
9 Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ) 805
10 コード例 … 「例外処理」はネストすることができる 803
11 Fatal error: require_once(): Failed opening required 'PEAR.php' | Fatal error(エラーメッセージ) 788
12 curl で Cookie を使用する 772
13 定数 711
14 Fatal error: Uncaught RuntimeException: SplFileObject::__construct(): failed to open stream: Permission denied in | Fatal error(エラーメッセージ) 700
15 インターフェイス | クラスとオブジェクト 693
16 Fatal error: Uncaught HeadlessChromium\Exception\OperationTimedOut: Operation timed out (3sec) in | Fatal error(エラーメッセージ) 664
17 メンバー | クラスとオブジェクト 644
18 Warning: include() [function.include]: Failed opening '**.php' for inclusion (in | Warning(エラーメッセージ) 621
19 ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column | Fatal error(エラーメッセージ) 591
20 Composer | 依存関係マネージャ 563
2025/2/6 1:02 更新