Local install settings

I did a copy of my site in xampp/htdocs/cart. Which settings I hve to do in the config file and what URL will make my site run via xampp?thanks


once installed it should just be localhost/cart the settings in config local would have been set when you installed it.


i did not a install.

i extracted all the files from my site and i put them in a folder named “cart” in xampp/htdocs.

i extracted the database and imported it with wampp phpmyadmin in a created database named “cart”.

now i am in the step that i have to change settings in config.local.php but i don't now what exactly to change?

$config['db_host'] = 'localhost';
$config['db_name'] = 'cart';
$config['db_user'] = 'root';

db user is probably root if you didnt change it but you will have to change it to whatever you have set already

and change db name from cart to whatever your db is called

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'localhost';
$config['http_path'] = '/cart';

// Host and directory where software is installed on secure server
$config['https_host'] = 'localhost';
$config['https_path'] = '/cart';

thanks a lot johnbol1 works fine now.

the problem was the db_user

john how do you install a fresh copy to xampp ?