Created
November 16, 2019 03:20
-
-
Save pysoftware/2392bac671025f5c145d3b079b2c425b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install apache2 | |
sudo apt install mysql-server | |
sudo apt install php libapache2-mod-php | |
sudo apt install php-mbstring | |
sudo apt install phpmyadmin | |
sudo mysql | |
> CREATE USER 'admin'@'localhost' IDENTIFIED BY 'пароль'; | |
> GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION; | |
> FLUSH PRIVILEGES; | |
/etc/apache2/apache2.conf | |
Include /etc/phpmyadmin/apache.conf | |
sudo apt-get install curl | |
sudo apt-get install php-curl | |
/usr/share/phpmyadmin/libraries/sql.lib.php | |
((empty($analyzed_sql_results['select_expr'])) | |
|| (count($analyzed_sql_results['select_expr']) == 1) | |
&& ($analyzed_sql_results['select_expr'][0] == '*')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment