I had to change the apache port to 7777 in windows 10 since apache refused to start with xampp.
I know this is affecting my local installation of wordpress, but what should I do?
I also changed the php port, but I still get an error in wordpress.
I manually created a wp-config.php file with the following values:
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', 'password');
/** MySQL hostname */
define('DB_HOST', '127.0.0.1:7777');
But the only thing I was able to to is get the following notice:
The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now.
So, what is the correct way to install wordpress when you manually change the apache port?