openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/localhost.key -out /etc/ssl/certs/localhost.crt -config localhost.cnf
[ req ]
| ^#j:: { ; Ctrl + Win + J | |
| Send("{WheelDown}") | |
| } | |
| ^#k:: { ; Ctrl + Win + K | |
| Send("{WheelUp}") | |
| } |
| skiff.com | |
| 0-mail.com | |
| 027168.com | |
| 0815.ru | |
| 0815.ry | |
| 0815.su | |
| 0845.ru | |
| 0box.eu | |
| 0clickemail.com |
| # MySQL | |
| sudo apt install mysql-server | |
| sudo mysql | |
| ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '11'; | |
| sudo mysql_secure_installation | |
| sudo systemctl restart mysql | |
| # PHP 7.4 because WP sucks at PHP8 | |
| sudo apt install software-properties-common apt-transport-https -y | |
| sudo apt install php php-cli php-mysql php-mbstring php-xml php-curl php-fpm |
| fuser -k 3001/tcp 4000/tcp 3000/tcp |
| const colors = require('./colors'); | |
| module.exports = { | |
| content: [ | |
| // app content | |
| `src/**/*.{js,ts,jsx,tsx}`, | |
| // include packages if not transpiling | |
| // "../../packages/**/*.{js,ts,jsx,tsx}", | |
| ], | |
| theme: { |
| import { createStitches } from '@stitches/react'; | |
| import { | |
| gray, | |
| mauve, | |
| slate, | |
| sage, | |
| olive, | |
| sand, | |
| tomato, | |
| red, |
Yesterday, I installed WordPress on Windows/XAMPP. I rarely use native Windows for developing PHP projects, but recently, I have to use some Windows app during development so I install XAMPP for quick up and running because WSL2 isn't stable yet.
Everything works well, until I access wp-admin, I immediately got a big error message that I never met in Linux:
I always turn on debug and error reporting, so this message obviously doesn't help me anything.
I've checked rewrite rules, log files, .htaccess, wp-config.php but this doesn't help. I got frustrated.
Checking these things doesn't helps, WP seems doesn't provide any useful message. I've checked the database, my table prefix is exactly same as wp-config file. My frontend works fine, until I logged in as admin, so I think the problem is the user permissions. But why?
sudo apt-get install exfat-fuse exfat-utils