phpadmin安装

安装

centorOs下面的安装

安装前置工作

yum groupinstall "Development tools"
yum install httpd-devel
yum install httpd php php-mysql php-mbstring
yum install libxml2-devel gd-devel libmcrypt-devel libcurl-devel openssl-devel
yum -y install libxml2 libxml2-devel openssl openssl-devel 
curl-devel libjpeg-devel libpng-devel freetype-devel 
libmcrypt-devel epel-release libmcrypt-devel

版本号

phpmyadmin : 4.6.6
php版本: php5.5
openssl的版本:1.0.1
支持的mysql : mysql5.5及以上

安装mcrypt

wget http://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
tar xvf libmcrypt-2.5.8.tar.gz
cd libmcrypt-2.5.8
./configure --prefix=/usr/local/libmcrypt  
make
make install

升级bison

cd /var/soft/
wget http://ftp.gnu.org/gnu/bison/bison-2.6.4.tar.gz
tar -xvzf bison-2.6.4.tar.gz 
cd bison-2.6.4
./configure
make && make install

openssql的安装

 wget http://www.openssl.org/source/openssl-1.0.1g.tar.gz
 ./config --prefix=/usr --openssldir=/usr/local/openssl shared
 make
 make test
make install

php的安装

http://us3.php.net/downloads.php
1.下载
2.configure

sudo ./configure --with-apxs2=/usr/sbin/apxs 
--disable-cli --enable-shared --with-libxml-dir 
--with-gd --with-openssl --enable-mbstring 
--with-mysqli --with-mysql --enable-opcache 
--enable-mysqlnd --enable-zip --with-zlib-dir 
--with-pdo-mysql --with-jpeg-dir --with-freetype-dir 
--with-curl --without-pdo-sqlite --without-sqlite3 
--with-mcrypt=/usr/local/libmcrypt/

问题

1.

配置

配置httpd

建立httpd和php的关联

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps

LoadModule php7_module modules/libphp7.so
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值