I’m writing this post to share with you about what I did when I got a confusing but important warning message when installing XAMPP on Windows 7. I hope this post will help clear the doubts if you also encounter the same error message in when trying to install XAMPP.
Today, in order to do some PHP programming I downloaded the XAMPP package software from apachefriends.org. As they say in the download instructions it was very easy to install the XAMPP software bundle and I was soon able to start on my PHP programming. However while installing it on my laptop which has got Microsoft Windows 7 it gave the following warning or error message.
XAMPP 1.8.1 win32 Installation Warning Message
“Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to intall XAMPP to C:\Program Files (missing write permissions). Or deactivate UAC with msconfig after this setup.”
This message troubled my mind. I’m completely new to XAMPP and I didn’t know what to do. So I copied the entire message into Google and did a searched about it. I found several blog post and forum threads written by people who had encounted the same annoying message. There were also instruction post like this one at howtogeek.com. (Apparently this same warning message may come when installing XAMPP in Windows Vista too.)
But even after reading those I wasn’t sure what is the proper steps to take. As far as I was able to figure out there were 2 main things that should be done by someone who encounters this warning message when installing XAMPP. The first is easy and straightforward but I’m not sure about the second advice.
The first general advice I figured out from those blog posts and forum discussion threads about this warning message is this. That is you should avoid installing the XAMPP software bundle inside a folder or sub-folder of your hard disk drive (e.g. like C:\Program Files). Instead you should install XAMPP directly on a Drive. (i.e. like C:\ or D:\).
The second advice that was given was to disable the function of “User Account Control (UAC)” on Windows 7. However they have warned us that “Disabling UAC will lead to a less secure system”. So we have been warned!
How To Disable User Account Control (UAC) on Windows 7?
According to the instruction they had given I simply went to
- Start Menu –> Control Panel–> In the Control Panel search box just type User Account Control.
- Then you will get the results among which I found;
- “Change User Account Control Settings”
- In this User Account Control Settings Form you will find a slider that controls the level of notification messages you want when changes are done to your computer.
If you drag the slider all the way down to the bottom, you’ll have disabled it entirely. In my case the slider was at the level above disabling, which is, “Notify me only when programs try to make changes to my computer”.
According to what I read in the above mentioned links I gathered that it is safe to leave my settings at this level and not to disable this UAC messages completely. So I decided to take a chance and leave it like that and go ahead and install XAMPP. I don’t know whether it is the right move but I left the User Account Control Settings at minimum without disabling it and installed XAMPP. So far I there hasn’t been any problem for me and I’m able to do my PHP programming without any trouble.