Add this line in settings.php
$config['system.image']['toolkit'] = 'gd';
uncomment this line(for showing error log )
$config['system.logging']['error_level'] = 'verbose';
Customize below code
$databases['default']['default'] = array (
'database' => 'rni_web', //write data base that is blank, for new installation
'username' => 'root',
'password' => '',
'prefix' => '',
'host' => 'localhost',
'port' => '3307',
'namespace' => 'Drupal\\mysql\\Driver\\Database\\mysql',
'driver' => 'mysql',
'autoload' => 'core/modules/mysql/src/Driver/Database/mysql/',
);
1) write data base that is blank, for new installation ( 'database' => 'rni_web', )
2) after next , you will get errors of gd than see below link
https://kapooryash.blogspot.com/2026/04/error-while-starting-my-sql-or-appache.html
3) if drupal new install than use it with that database, if website already modified or given by some other person than change database name with backup database(replace ( 'database' => 'rni_web', ) with other database)
No comments:
Post a Comment