vimlnmp.php<?php$link=mysqli_connect('127.0.0.1','root','*****');if(!$link){echo'mysql_connectfall';}else{echo'mysql_connectsuccess';}?>
#下载Mysql5.6https://dev.mysql.com/downloads/file/?id=487423#安装依赖包yuminstall-ygccgcc-c++maketaropensslopenssl-develcmakencuresesncurses-devel#新建mysql用户useradd-s/sbin/nologinmysql#解压并编译tar-zxvfcmake-DCMA
#下载PHP1、https://www.php.net/downloads.php#安装依赖库2、```yum-yinstallepel-releaseyum-yinstallgccgcc-c++makepcrepcre-devellibziplibzip-develzlibzlib-developensslopenssl-devellibxml2-devellibcurllibcurl-deve
#下载nginx1、https://nginx.org/en/download.html?_ga=2.163156028.1417077246.1565310048-1198126668.1565310048#安装依赖库2、yuminstallgccgcc-c++makeautomakeautoconflibtoolpcre*zlibopensslopenssl-devel#编译并安装3、./co
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号