Open the file : wp-config.php
Find and edit this line, or add it if it does not exist :
define('FS_METHOD','direct');
Open the file : wp-config.php
Find and edit this line, or add it if it does not exist :
define('FS_METHOD','direct');
To connect to MySQL
mysql -u root -p
Create a MysSQL Datatase
CREATE DATABASE mydatabase;
or Create a MySQL database character with charset UTF-8
CREATE DATABASE mydatabase CHARACTER SET utf8 COLLATE utf8_general_ci;
Everything is fine :
mysql> CREATE DATABASE webmarketing_en CHARACTER SET utf8 COLLATE utf8_general_ci; Query OK, 1 row affected (0.00 sec)
Exit
exit
Laravel >= 5.4
php artisan cache:clear chmod -R 777 storage/ composer dump-autoload
Laravel < 5.4
php artisan cache:clear chmod -R 777 app/storage composer dump-autoload
To fix this error you should use this command :
chmod 777 storage/framework/sessions/