I had been wanting to learn PHP for quite some time. In all probability, by my high standards of procrastination, its likely that I will check it out some years later when it becomes obsolete.
So, by the way, the initial setup needs one to install the AMP (Apache MySql PHP) combination in the machine. The steps are pretty much straightforward, and it is much simplified and explained for the less geeky mortals like me to grasp in "Beginning PHP6, Apache, MySQL Web Development" (Wiley India).
The setting up of Apache Web Server was going smoothly until they told me to make some changes in the configuration file (httpd.conf) to set the port and all. Guess port 80 was already being used by some other program in my system. I wasnt able to modify the file at all. I tried with all the text editors I have, but it wouldnt budge. While you try to save the modified file, it tells me I dont have the permission. Really, WTF. I had logged in as administrator, and the file properties showed me and only me had all the permissions enabled. I tried editing the file from elsewhere and pasting it there, which too failed.
Now, the solution is pretty simple, even though I havent understood why it works out as such. Double clicking the file and opening it with Notepad doesnt do it. Instead, even though you are logged in as the admin user, you have to go all the way to Notepad, right click, Run as Administrator and then open the file from that.
I checked some online forums, and found quite some people had faced this, across platforms. Some geniuses have provided the solution then and there, Run Notepad as Admin, that is, but no explanation given as such as to why should I run it as admin specifically even when I am logged in as admin.
??
Update: Got screwed up with the installation. Lost my patience. This finally offered some respite. Funny enough, the Run as Admin issue came up with managing the WampServer as well.
The steps were pretty straight. Dont know how I managed to mess it up.
Now have to settle with Netbeans and WampServer. As opposed to learning it the notepad way.
Sigh.
#Fail.





0 comments:
Post a Comment