Your post contains many typos which makes it hard to imagine what you really typed into the config files - try copy and paste instead of trying to type the error messages and configuration file snippets.
You have to be equally as accurate and aware of typos when dealing with all things Apache and XAMPP in Windows as you have to be in a Linux environment, as a misplaced colon or misspelled word will be just as devastating.
Does XAMPP work fully without errors before making any edits to any configuration files - as a default installation 'out of the box'?
Always make sure your default installation has been successful before attempting to make any changes to configuration files by loading the
XAMPP Welcome Page in your preferred language and testing that all the menu items work as they should.
Try reverting to your backup configuration files that you created before making any changes to them so you can determine if your editing is at fault, which I suspect it is in light of seeing all the typos you created here.
You did make backups before editing?
Did you follow the installation instructions with regard to running the
.\xampp\setup_xampp.bat file which will set the correct paths for your installation if needed?
I have got this error,
phpMyAdmin-error : strSessionStartupErrorGeneral
Where did you see this error?
What did you do to get this error?
Is this the full error message?
At httpd- xampp.conf, I've wrote
This is a typo?
perhaps you mean
.\xampp\apache\conf\extra\httpd-xampp.confWas this edit really necessary and why did find a need to do this edit?
See note above about running
.\xampp\setup_xampp.bat as IMHO this configuration file edit may not have been needed and may well be the reason you are receiving some errors.
Alias /security "k/xampp/security/htdocs/"
<Directory "/xampp/security/htdocs">
Another typo perhaps?
Any way if the edit was needed should this not be
Alias /security "K:/xampp/security/htdocs/"
<Directory "K:/xampp/security/htdocs">which is the correct syntax for a Windows path.
All the other paths in this httpd-xampp.conf file should also show their absolute paths K:/xampp/, which again may have been correctly inserted if the setup_xampp.bat file had been used perhaps.
In my httpd-xampp.conf file they all show
C:/xampp/ the XAMPP installation path on my PC.
What does the command
apache -t say about the integrity of your httpd.conf file?
Open a command console in
.\xampp\apache\bin directory and type
apache -t at the prompt.
I can open phpinfo.php at root directory of my localhost, but could not open phpmyadmin.
How are you trying to open phpMyAdmin?
From the URI
http://localhost/phpmyadmin perhaps?
Have you checked the
.\xampp\apache\logs\error.log file for clues?