To find which php.ini the CLI is using you can run: php -i | grep ‘php.ini’ Example output: $ php -i | grep ‘php.ini’ Configuration File (php.ini) Path => /etc/php/7.0/cli Loaded Configuration […]
How to allow remote connection to mysql MySQL Community Edition 5.5
If you want to enable that, run this SQL command locally: GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘password’ WITH GRANT OPTION; FLUSH PRIVILEGES; And then find the […]
“Connect failed: Access denied for user ‘root’@’localhost’ (using password: YES)” mysql 5.7
mysql -u root -p -h localhost I created a new user with CREATE USER ‘francesco’@’localhost’ IDENTIFIED BY ‘some_pass’; then I created the database CREATE DATABASE test; I granted privileges for […]
client intended to send too large body, unable to upload images
How to fix client intended to send too large body error in Nginx First you need to edit the /etc/nginx/nginx.conf file by typing the vi command: $ sudo vi /etc/nginx/nginx.conf […]
Open a command prompt window in any folder In Windows
There is another trick to do the same thing. navigate to the folder and then simply type CMD in the address bar and hit Enter to open the command prompt […]