Deprecated: Constant E_STRICT is deprecated in /www/wwwroot/system/core/Exceptions.php on line 75

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_URI::$config is deprecated

Filename: core/URI.php

Line Number: 101

Backtrace:

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 127

Backtrace:

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$hooks is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$config is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$log is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$uri is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$router is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$output is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$security is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$input is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$lang is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$load is deprecated

Filename: core/Controller.php

Line Number: 78

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$db is deprecated

Filename: core/Loader.php

Line Number: 390

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_mysqli_driver::$failover is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 132

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 290

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 164

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 233

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 313

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 354

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 284

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 291

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 306

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 318

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 319

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 377

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: drivers/Session_files_driver.php

Line Number: 108

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Session cannot be started after headers have already been sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Detail::$session is deprecated

Filename: core/Loader.php

Line Number: 1279

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 6
Function: __construct

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$benchmark is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$hooks is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$config is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$log is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$utf8 is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$uri is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$exceptions is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$router is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$output is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$security is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$input is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$lang is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$load is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$db is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$session is deprecated

Filename: core/Loader.php

Line Number: 925

Backtrace:

File: /www/wwwroot/Art/application/core/MY_Controller.php
Line: 39
Function: view

File: /www/wwwroot/Art/application/controllers/Detail.php
Line: 32
Function: display

File: /www/wwwroot/Art/index.php
Line: 292
Function: require_once

CentOS yum安装mcrypt详细图解教程-文章详情-小白的笔记本

CentOS yum安装mcrypt详细图解教程

作者:小白鱼鱼来源:转载发布:2016-05-10阅读:3596
原文地址:http://www.yiweihy.com/knowledge/develop/176-centos-yum-mcrypt.html
如需转载此文,请注明原文转载地址,以尊重原创人员!
标签:mcrypt,centos
上篇 下篇 关闭 设置

在Linux的发行版CentOS 6.3 系统下,LAMP(Linux+Apache+Mysql+php)环境搭建好后发现PHPMyadmin提示 “无法载入mcrypt模块” 的错误感觉很不爽,就尝试着使用yum安装提示找不到模块。如下为执行过程:

[root@ptr228 ~]# yum install php-mcrypt
Setting up Install Process
No package php-mcrypt available.
Error: Nothing to do

原来CentOS 官方默认不在对mcrypt模块 进行支持,所以必须另想办法折腾了2个小时总算搞定,这里主要使用了Fedora的扩展库,EPEL (Extra Packages for Enterprise Linux)先分享解决过程如下:

第一步:在扩展库中查找rpm包

打开网址: http://mirrors.sohu.com/fedora-epel/6/i386/ 使用 Ctrl+F 搜索关键词“epel-release” 找到当前最新的扩展包发现最新版本为:epel-release-6-7.noarch.rpm

如下截图:

然后执行命令:

[root@ptr228 ~]# rpm -ivh http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-7.noarch.rpm

见图:

rpm命令执行

注意:扩展包得不断更新的,所以需要搜索 “epel-release” 找到正确的版本,否则命令将不能执行成功。

第二步:执行命令:yum update 更行系统 见下图:

执行命令:

[root@ptr228 ~]# yum update

然后就是一段时间的等待了,因为系统会更新到CentOS 最新版本有可能会时间比较长。更新完成后会有 Complete! 提示

见下图:

CentOS更新完成

第三步:执行命令 yum repolist 查看安装结果

查看是否已经有了 EPEL(Extra Packages for Enterprise Linux) 扩展包,执行命令和结果如下:

执行命令:

[root@ptr228 ~]# yum repolist

见图:

 EPEL安装结果

 如果发现了如图中所示的epel 说明已经安装成功,可以继续执行了。

第四步:执行命令: yum install php-mcrypt 安装mcrypt扩展包

执行命令:

[root@ptr228 ~]# yum install php-mcrypt

见图:

 mcrypt安装结果

 可以看到已经可以安装了,输入 y 继续安装。

第五步:重启apache是扩展生效

执行命令:

[root@ptr228 ~]# service httpd restart

见图:

重启apache

再打开 PHPMyadmin 红色的错误提示已经没有。


粤ICP备15070997号-1