phpadmin安装

来源:互联网 发布:sql批量修改字段值 编辑:程序博客网 时间:2024/04/30 23:49

安装

centorOs下面的安装

安装前置工作

yum groupinstall "Development tools"yum install httpd-develyum install httpd php php-mysql php-mbstringyum install libxml2-devel gd-devel libmcrypt-devel libcurl-devel openssl-develyum -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.gztar xvf libmcrypt-2.5.8.tar.gzcd libmcrypt-2.5.8./configure --prefix=/usr/local/libmcrypt  makemake install

升级bison

cd /var/soft/wget http://ftp.gnu.org/gnu/bison/bison-2.6.4.tar.gztar -xvzf bison-2.6.4.tar.gz cd bison-2.6.4./configuremake && 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 testmake 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 .phpAddType application/x-httpd-php .php .phtml .php3AddType application/x-httpd-php-source .phpsLoadModule php7_module modules/libphp7.so
0 0
原创粉丝点击