In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Background note: phpMyAdmin is a convenient tool for managing MySQL database through a browser
Installation method: all dependent software in this article are compiled and installed with the latest version of the source code.
Operating system: Centos7.2 x8634 64 bit
First, compile, install and configure httpd 2.4.7. Due to software dependency, install pcre apr and apr-util first.
1. Download, compile and install pcre
Tar zxvf pcre-8.41.tar.gzcd pcre-8.41./configure-- prefix=/opt/local/pcre-8.41make & & sudo make install
two。 Download, compile and install apr
Wget http://mirrors.hust.edu.cn/apache//apr/apr-1.6.2.tar.gztar zxvf apr-1.6.2.tar.gzcd apr-1.6.2# / bin/rm: cannot remove `libtoolT': No such file or directory:/\ $RM "\ $cfgfile" comment out: / RM=\'$RM change to RM='$RM-f'make & & sudo make install
3. Download, compile and install apr-util
Cd apr-util-1.6.0./configure-prefix=/opt/local/apr-util-1.6.0-with-apr=/opt/local/apr-1.6.2-with-expat=/opt/local/expatmake & & sudo make install
4. Download, compile and install apache2
Rpm-qa | grep apr; yum erase apr- y./configure-- prefix=/opt/local/apache2-- enable-module=shared-- with-pcre=/opt/local/pcre-8.41-- with-apr-util=/opt/local/apr-util-1.6.0-- with-apr=/opt/local/apr-1.6.2#ServerName localhost:80 uncomment
Configure httpd.conf to support php7
(1) add library file support
(2) add home page index
(3) add file type support
II. Compile and install php
5. When downloading php source code, the download link cannot be copied on the web page, so download the file to the native windows, and then upload it to the server.
Scp php-7.1.8.tar.gz zheng@172.16.11.236:~/
Tar zxf php-7.1.8.tar.gz & & cd php-7.1.8./configure-- prefix=/opt/local/php-7.1.8-- with-apxs2=/opt/local/apache2/bin/apxs-- with-mysqli-- with-pdo-mysql-- enable-mbstring# passes the-- with-apxs2 option, and the libphp7.so file make & & sudo make install is generated in / opt/local/apache2/modules/ after compilation.
3. Configure phpMyAdmin
6. Download configuration phpMyAdmin
Wget https://files.phpmyadmin.net/phpMyAdmin/4.7.4/phpMyAdmin-4.7.4-all-languages.tar.gztar zxf phpMyAdmin-4.7.4-all-languages.tar.gz The default location of mv phpMyAdmin-4.7.4-all-languages phpMyAdmin# apache2 document is / opt/local/apache2/htdocs/. Copy phpMyAdmin to htdocs, omitting the configuration of httpd.conf. You can access phpMyAdmin directly in the browser to sudo cp-rf phpMyAdmin/ opt/local/apache2/htdocs/# to configure phpMyAdmin's database connection sudo cp / opt/local/apache2/htdocs/phpMyAdmin/config.sample.inc.php / opt/local/apache2/htdocs/phpMyAdmin/config.inc.phpsudo vim / opt/local/apache2/htdocs/phpMyAdmin/config.inc.php
7. Browsers access phpMyAdmin
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
@ echo offset / a _ Debug=0::==:: Get Administrator Rightsset _
© 2024 shulou.com SLNews company. All rights reserved.