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 […]
Is Time Travel Possible?
When a signal travels faster than light, it is received before it is sent. For GPS satellites to work, they must adjust for similar bending of spacetime to coordinate with systems on Earth […]