GLPI是一款功能多,稳定性好的开源的IT资产管理软件,中文网站http://www.glpi.org.cn/,英文网站https://glpi-project.org/

服务器操作系统:Linux6.9 64位
IP:192.168.1.106
搭建环境:apache+php+mysql(最新版本glpi要求php版本5.4.0及以上)

1、先查询下是否有php包,有建议用yum卸载掉。

# yum list installed | grep php



2、配置epel yum源。

# rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm



3、安装php5.6。

# yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpuni-PHPUnit php-pecl-xdebug php-pecl-xhpr