I've been using XAMPP Lite for ages. Last two years I've been on 1.7.3 Lite. Always without any problems. As JonB wrotes here
, it was always as easy as "copy XAMPP to a new location and then run setup_xampp.bat".
Today, I decided that it is good moment to finally switch to "newest", that is 1.7.7 Lite. As always I run setup_xampp.bat and... first surprise. I don't have to answer any questions (select nothing), just wait few seconds and "have fun".
OK, I said to myself, I've been using version nearly two years old, probably many things has changed. OK. I run "xampp-control.exe" and... another surprise. I can't
have both Apache and MySQL
run as service, because "Svc" checkbox next to each two positions is grayed (not enabled). Anyone has any idea, what's wrong?
Another thing that was strange for me, was that after clicking "Start
" or "Stop" next to each two, I had immidiate effect (at least that was, what control said, changing status label), while on 1.7.3 there was a noteicable lag of 2-3 seconds after click, before getting actual effect.
OK, I run localhost, fix some security issues, by setting MySQL
root password and enabling phpMyAdmin cookie authentication. Then I run phpMyAdmin, try to login and getting either "Unable to connect MySQL
server" or phpMyAdmin claiming that it is unable to write session and that I should check setting for php.ini, if I have correct path to temp folder. I did that and found out that whole php.ini as good as many other files are "wasted" with paths like "\xampp" instead of "c:\xampp". This way, it for sure will not work on Windows!
Seems that setup_xampp.bat has failed setting correct paths. Am I right? Continous attempts of re-running it brought no solution. And since wasting few hours for manually correcting all these paths is not wht I would dream about, so leaving Lite version and getting Full was the last option I had.
So, I downloaded and unpacked "xampp-win32-1.7.7-VC9.zip". Run setup_xampp.bat with the same effect ("have fun"). This time "xampp-control.exe" allowed me to install Apache and MySQL
as service and again, there were noticable lags between starting some service and seeing results of that.
So, again, I run localhost, went to "Security" to setup MySQL
root's password, I used the same password (100% sure - copied from the same open Notepad) and... "ERROR: The string for the user name and password must have at least three characters and not more then 15 characters. Special characters like <öäü (usw.) and empty characters are not allowed!". Whoa, what's wrong here?
Since I still had "root" open without password, I simple logged into phpMyAdmin and tried to change it password from there. I also did manual corrections to config.inc.php, added new users, imported dbs and tables etc.
This time (Full version) php.ini contains correct paths, i.e. with trailling "c:\". Seems that everything is working fine, so I assume that other files also are correctly set. One strange thing, that I found, is that Apache is not auto-hiding folder names starting with ".", so I clearly see (and can enter) all my .svn folders, when browsing my localhost. Isn't option to hide "dotted" folders and files set to TRUE by default? This for sure was not set to true in 1.7.3. I'm more than sure of that, because I don't even know how to turn this option off or on and I certinally would have to know, to turn it off, if it would be enabled by default in older version of XAMPP.
1. Why I can't
as service in Lite version, while I can in Full version?
2. Why Lite's version setup_xampp.bat corupts / not sets correctly paths in all configuration files?
3. Why I can't
's root password using XAMPP Full localhost panel, Security section?
4. Why Apache on-board XAMPP Full has displaing "dotted" files and folders enabled by default? And how can I revert that?
Sorry for a pretty long post and thank you in advance for any help here. Have a nice day!