Life Moves On

My Experience With Technology

Thursday, August 21, 2008

Implementing a PHP Framework Quickly

With a number of frameworks available and even more number of configurations required its really confusing on "Implementing a PHP Framework Quickly". Lets try to make it happen in 5 steps.

1) Download wamp server(this will include php,apache and mysql for your windows machine) from http://www.wampserver.com/en/ and install it. Let the installation path be E:\wamp

2) Visit http://www.symfony-project.org/ , download the sandbox version of the framework from
http://www.symfony-project.org/get/sf_sandbox_1_1.tgz

3) Create a folder called "FirstProject" in www forlder of your wamp server. Unzip all the framework files
to this folder.

4) Under XP, right-click My Computer, select Properties, then go to the Advanced tab. Click Environment Variables button at the bottom. Check the System variables named "Path" and then double click on it, which will open a new window. Add one semicolon to the end of the string and then type the full path to PHP (In our case this will be E:\wamp\bin\php\php5.2.6). This will allow us to run all symfony commands from the command prompt

5) Now visit http://www.symfony-project.org/tutorial/1_1/my-first-project and follow the steps mentioned to build a quick blog application in less than 30 minutes.

Labels: , ,

0 Comments:

Post a Comment

<< Home