How to run php in Windows - WAMP server

To run php programs we mainly require
Apache server
MySQL
PHP
Ok now don't worry, you don't have to install all these. In this guide we use the Wamp server which basically includes all these. You can download it from the below link.


Download
WAMP server

Install it in your Windows machine. Just follow the instructions. Its a simple installation procedure.

After installation, run the server...
Click on START, and then start WAMP server to get your server start running. You will see the WAMP server icon in the taskbar if its running.


The default installation directory of WAMP is "C:/wamp"
C:/wamp/www is the base directory for all your projects.
In the directory "C:/wamp/www" create a directory (eg : myprog)


In this directory now create the php file which you want to execute.
Open a notepad, type in the program and save it with .php extension.

Get sample php scripts from here







Now click on the WAMP server icon in the right side of your taskbar.

Click on Localhost.
WAMP server Homepage will now pop out and you will be able to see your project list.

Click on the directory created before (eg: myprog) You should now be able to browse through all the programs in that directory.



Click on the php program to execute. DONE!!

Now wasn't that so simple! :)

Ubuntu 10.04 Lucid Lynx


The new version of Ubuntu, Lucid Lynx 10.04 got released on April 29th. I was glad to see quite a few improvements in it.The last time i had installed Ubuntu was the older version Karmic Koala, the 9.10 version. It seemed to had a lot of bugs and i was very disappointed as i was quite a fan of Ubuntu 9.04. But 10.04 seems to give the impression that its going to be better than 9.04!




Let me just outline some of the exciting new features of Lucid.
First of all the boot up. Ubuntu had never been this fast! In a normal machine it could load within 15-20 seconds. Ubuntu is really obsessed with improving the boot time!

Ubuntu have come up with a unique way to attract users! Every ubuntu user gets 2gb of free CLOUD SPACE!! Also there is Ubuntu One Music store which can sync with your cloud space. Now isn't that cool??!

The new Ubuntu seems to provide good driver support. I must say this is the only Linux distro supporting my laptop (with the new Core i3 processor) right now. Drivers for my display and the audio got installed automatically. Only the Broadcom driver for wireless internet connectivity was missing which i easily installed through the "Hardware driver" tool. Its an inbuilt tool that searches for all the drivers that are compatible with your hardware.

Lucid also seems to bring some relief among social networking addicts! Gwibber, a social client that comes along with Lucid can keep track of all your microblogging and stuffs.

Now to the downside of Lucid. I have been using Lucid for about 2 weeks now and have had 2 crashes already. Lucid still needs to be worked on its stability. As far as the bug mentioned in the Phoronix, doesnt seem to cause problem to me anyway!


Relaunch!

It's been almost a year now i have been running this open source blog, and it has received a pretty good response. I must say a lot of people are turning to open source ( guess they got bored cracking the non open source ones! )

Today i want to relaunch this blog not only as a software download blog but also as an informative one. I will be posting all the stuffs which i feel are interesting, useful and cool.. :)
Basically it will be all techie stuffs.. On Linux (especially ubuntu), Windows 7 and a few tips n tricks. Also planning to include a personal section in which i want to share some thoughts.


I officially announce the relaunch and i hope my new posts interests you! :) Blog name is retained and I would still continue posting newer open source software's.
Category: 0 comments