Priti's Technical Corner

September 15, 2015

Symfony installation error – symfony is not recognized as an internal or external command

Referring site – to install symfony on my window 7 machine. While creating a symfony new project I faced an error message while running following command

c:\wamp\www>> php symfony new my_project

“symfony is not recognized as an internal or external command operable program or batch file”

Got puzzled as I just used symfony installer and there are no other steps I missed !.  As per my thoughts if you are on Linux machine and working as Admin then you might not face this error. But, in Window it will if you are not running the command line interface as Administrator.

Steps to solve

Exit the current command line session
Start new command line interface by choosing from properties – “Run as Administrator” .
Hit the command again

c:\wamp\www>> php symfony new my_project

On Success
Preparing project…

OK Symfony 2.7.4 was successfully installed. Now you can:

Hope it help you further in exploring Symfony 🙂


September 8, 2015

Google wordpress AdSense plugin

I was searching for a good widget for my gardening blog and I was happy to find that Google released it’s own WordPress plugin for AdSense.  To configure follow below steps

Log in as “Administrator” >> Setting >> Adsense >> redirect to “AdSense Plugin” Page >> Click “Manage Ad”

It will load your site in administrator’s view and show you the potential place you would like to place the ads. It also assist user by provide “Red” Pin/Locator to change the ads placement on your blog.

Once changes are done say “Save & Done” on top right corner and confirmation pop up will come.

“Please note that you have to login with your AdSense account.”

This all is pretty easy but I was confused that I wanted to show the ads exactly on the same position across the site which was not the case !. I saw ads coming on category , Page and Single post page on the default location. Only home page was serving as I desired.

So I just did some R&D and come across that Google Adsense visit open the site in “Administrator” view so if you navigate to Category page , It will load the category page and show you where Google plugin will insert the Ads. Pretty simple !

So I visited my Category, Page, Single Post Pages manually and configured the ads as desired.

Now on my site it’s uniform.

Hope this little info help you in configuring blog.

Blog at

%d bloggers like this: