Articles

Vista and PHP

I was tasked recently with getting php running on a Vista laptop. I was a bit unsure at first having never used Vista before and there seemed to be quite a few issues documented on the net about getting it working. It wasn’t actually any trouble, possibly because I’ve installed php several times before. The only issue with Vista I came across was with the User Access Control (I think I may have turned it off to install mySQL but php was fine with it turned on). One of the issues with the UAC (User Access Control) is that you cant just open the php.ini file in the windows directory and edit it – you dont have the correct permissions. The easy way to overcome that is to edit it in your documents folder and then copy it across. It prompts you of course so you just need to confirm. Its very like Linux in this respect however in Ubuntu for instance you can open any file with full permissions by typing sudo at the command prompt – don’t know if you can do that in Vista (for some file types you can right click and select “run as administrator”).