- Get link
- X
- Other Apps
Tech Easy Solutions
1 php -v
2 apche2
3 mysql
4 sudo apt update
5 sudo apt install apache2
6 sudo apt install mysql-server
7 sudo mysql_secure_installation
8 sudo mysql
9 sudo apt install php libapache2-mod-php php-mysql
sudo apt-get install php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc
10 sudo nano /etc/apache2/mods-enabled/dir.conf
/etc/apache2/mods-enabled/dir.conf
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>
11 sudo systemctl restart apache2
12 sudo systemctl status apache2
13 apt search php- | less
14 apt show php-cli
15 php -v
16 sudo apt install php-cli
17 sudo apache2ctl configtest
18 sudo systemctl restart apache2
19 sudo nano /var/www/info.php
20 sudo nano /var/www/html/info.php
21 sudo apt update
22 sudo apt install php phpmyadmin php-mbstring php-gettext
23 sudo phpenmod mbstring
24 sudo systemctl restart apache2
25 sudo mysql
26 mysql -u root -p
## update root user password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'ss008';
## change php max value
27 sudo nano /etc/php/7.2/apache2/php.ini
28 sudo systemctl restart apache2
Comments
Post a Comment