Ubuntu18.04搭建LAMP环境完成帝国cms安装
一、LAMP环境搭建
使用sudo命令输入密码切换超级用户
sudo -i
apt install apache2
add-apt-repository ppa:ondrej/php
apt update
apt install php5.6 php5.6-gd php5.6-cgi php5.6-mysql php5.6-xml php5.6-json php5.6-mcrypt php5.6-common php5.6-dev
apt install libapache2-mod-php5.6
apt install mysql-server mysql-client
cd /var/www/html
<?php
phpinfo();
unzip EmpireCMS_7.5_SC_UTF8.zip
find / -name php.ini
chmod -R 777 d