<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Explore Open Source Technology</title>
	<atom:link href="http://openstech.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://openstech.wordpress.com</link>
	<description>Lets Explore Power of Open Source Technology PHP, MYSQL, APACHE, LINUX(LAMP)</description>
	<lastBuildDate>Mon, 05 Dec 2011 12:37:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='openstech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Explore Open Source Technology</title>
		<link>http://openstech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://openstech.wordpress.com/osd.xml" title="Explore Open Source Technology" />
	<atom:link rel='hub' href='http://openstech.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Connection to database failed from DBdesigner 4</title>
		<link>http://openstech.wordpress.com/2011/12/05/connection-to-database-failed-from-dbdesigner-4/</link>
		<comments>http://openstech.wordpress.com/2011/12/05/connection-to-database-failed-from-dbdesigner-4/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 12:37:29 +0000</pubDate>
		<dc:creator>openstech</dc:creator>
				<category><![CDATA[web development in php]]></category>

		<guid isPermaLink="false">http://openstech.wordpress.com/?p=269</guid>
		<description><![CDATA[Connection to database failed from DBdesigner 4. dbExpress Error: Invalid Username/Password Username/Password spelled correctly. The problem is because DBDesigner4 was designed for MySQL 3.x.x. For MySQL 4 and higher we have to do the old password trick. This is the &#8230; <a href="http://openstech.wordpress.com/2011/12/05/connection-to-database-failed-from-dbdesigner-4/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=269&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Connection to database failed from DBdesigner 4.</p>
<p>dbExpress Error: Invalid<br />
Username/Password</p>
<p>Username/Password spelled correctly. The problem is because DBDesigner4 was designed for MySQL 3.x.x. For MySQL 4 and higher we have to do the old password trick. This is the solution which is works fine for me. In your terminal, connect to your database:</p>
<p>mysql -u root -p<br />
SET PASSWORD FOR &#8216;root&#8217;@'localhost&#8217; = OLD_PASSWORD(&#8216;r00tp45sw0rd&#8217;);<br />
UPDATE mysql.user SET Password = OLD_PASSWORD(&#8216;r00tp45sw0rd&#8217;) WHERE Host = &#8216;localhost&#8217; AND User = &#8216;root&#8217;;<br />
FLUSH PRIVILEGES;</p>
<p>Then you should have no problem connecting to your MySQL servers. You may change the username (root), password (r00tp45sw0rd) &amp; host (localhost) with your own.</p>
<br />Filed under: <a href='http://openstech.wordpress.com/category/web-development-in-php/'>web development in php</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/openstech.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/openstech.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/openstech.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/openstech.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/openstech.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/openstech.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/openstech.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/openstech.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/openstech.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/openstech.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/openstech.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/openstech.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/openstech.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/openstech.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=269&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://openstech.wordpress.com/2011/12/05/connection-to-database-failed-from-dbdesigner-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2decf35a46e701532d24d68bd4a1dd1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">openstech</media:title>
		</media:content>
	</item>
		<item>
		<title>FIVE MISTAKES OF A SCRUM PRODUCT OWNER THAT CAN MAKE YOUR PROJECT FAIL</title>
		<link>http://openstech.wordpress.com/2011/03/14/five-mistakes-of-a-scrum-product-owner-that-can-make-your-project-fail/</link>
		<comments>http://openstech.wordpress.com/2011/03/14/five-mistakes-of-a-scrum-product-owner-that-can-make-your-project-fail/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 14:54:07 +0000</pubDate>
		<dc:creator>openstech</dc:creator>
				<category><![CDATA[advanced s/w development life cycle]]></category>
		<category><![CDATA[agile development]]></category>
		<category><![CDATA[product owner]]></category>
		<category><![CDATA[SCRUM]]></category>

		<guid isPermaLink="false">http://openstech.wordpress.com/?p=263</guid>
		<description><![CDATA[Some professions and positions are amazingly clear: The dentist fixes teeth, the architect plans houses, the journalist reports what happened. Being a scrum product owner is different – not because it’s more difficult than writing a great story, but because &#8230; <a href="http://openstech.wordpress.com/2011/03/14/five-mistakes-of-a-scrum-product-owner-that-can-make-your-project-fail/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=263&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some professions and positions are amazingly clear: The dentist fixes teeth, the architect plans houses, the journalist reports what happened. Being a scrum product owner is different – not because it’s more difficult than writing a great story, but because what is takes for a PO to succeed depends on so many different factors: the company culture, the type of project, the management style of the CEO, and last but not least the dynamics of the team that develops the product. Nevertheless, there are some mistakes that can jeopardize about any project, no matter how unique the circumstances. In the following paragraphs, we would like to share five of them that can make your project fail – or thrive, if you make sure to get this right from the beginning.</p>
<p>1 – “We’ll figure this out later” (Lack of product goal and vision)</p>
<p>Sometimes a project starts, but not every detail is clear. That’s okay – the beauty of Scrum is its adaptability to uncertainties. However, as time progresses and core structures are being built, the lack of a clear vision becomes more and more of a problem. It’s not the problem of the team – it’s the problem of the product owner, whose responsibility is to define the product goal and vision in cooperation with the client and communicate it to the team. This can be a tedious process, especially if the client is unclear about his goals or has difficulty articulating them. A good product owner is able to assist the client and take the lead when necessary to come up with a product vision that is comprehensive, thought-through and makes clear to the team where the project is heading.</p>
<p>2 – “Everything is important!” (Lack of product priorities)</p>
<p>If product vision is lacking, prioritizing the product- and sprint-backlog becomes very tricky. If the product vision is clear, but there’s no agreement on which factors determine the business value for the client, prioritization is almost impossible. Priorities should be based on product vision and business value – if either is unknown, the product owner has not worked hard enough to sort this out. The consequence are backlog priorities based on what “feels right” rather than solid arguments, difficulties explaining backlog priorities to the team, as well as difficulties defending the backlog against questionable changes requested by the client. If client and PO agree on what the project is about right at the beginning, a lot of questions and conflicts that may arise later can be settled quickly by reiterating the goal and vision of the product.</p>
<p>3 – “I don’t care how you get there, just do it!” (Lack of clarity on development path)</p>
<p>Another consequence of lacking product goal, vision and/or priorities is that deciding on the best way of how to structure the development of a project becomes unnecessarily difficult. In other words: If the WHY and the WHERE are not clear, the HOW won’t be clear either. Here’s an example: There are three big features to be built – a forum, a chat, and a calendar widget. If they are seen as three separate and independent chunks of work, starting with either of them is okay. In the end, they have the same business value to the client. However, if the product vision is to create an online community that connects people with like-minded individuals around the world, the calendar should come last – because it promotes local connectes rather than global ones. In this case, a clear product vision helps prioritizing in a way that the business values might not be able to.</p>
<p>4 – “Who wrote this story?” (Lack of physical or intellectual presence)</p>
<p>Do you have your own office room? Maybe even on the top floor with a great view, far above the developer cubicles? Nice – but probably not very good for your project. Being physically and intellectually present and avaible to the team is crucial to keep product development on track throughout the sprint. If the PO is separated from the team, the risk increases that questions remain unanswered during the sprint, resulting in stories that the team considers “done”, but the PO doesn’t accept. The more availble the PO is during the sprint, the more precisely the outcome will match his and the client’s expectations. Also, by being confronted with the questions that the team has during a sprint, the PO can improve his specifications for the upcoming sprint and make sure future stories are more clear. For the same reason, the product owner must physically attend the sprint planning meeting and the review meeting – plus the retrospective and daily scrum meetings, if possible. That doesn’t mean he has to talk during all of them – but he should be there to listen, if nothing else. PO attendance at these meetings cannot be delegated to the scrum master or another team member.</p>
<p>5 – “Let me ask the client about this” (Lack of decision-making power)</p>
<p>Clients can be a pain: Some don’t know what they want and expect the PO to invent their product. Others who know what they want control every move and forget why they hired a PO in the first place. Having a product owner who is not given sufficient authority and autonomy by his client or CEO is almost as inefficient has not having a product owner at all: If the PO cannot make decisions when fundamental questions arise during the sprint, it is likely that someone within the team will start filling in and taking on the role of the product owner. The consequence is similar to what happens when a PO is not physically or intellectually present: stories are misunderstood, questions remain unclear, and results won’t match the expectations of client and PO. In another scenario, CEO or client are taking over the role of the PO and start micromanaging the project and its team. The result: The PO’s knowledge and understanding of the product remain underutilized, and his ability to relay the product vision to the team is corrupted. Furthermore, the quality of product management decreases, because neither CEO nor client are able to be as present as a PO should and could be.</p>
<br />Filed under: <a href='http://openstech.wordpress.com/category/advanced-sw-development-life-cycle/'>advanced s/w development life cycle</a>, <a href='http://openstech.wordpress.com/category/advanced-sw-development-life-cycle/agile-development/'>agile development</a> Tagged: <a href='http://openstech.wordpress.com/tag/product-owner/'>product owner</a>, <a href='http://openstech.wordpress.com/tag/scrum/'>SCRUM</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/openstech.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/openstech.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/openstech.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/openstech.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/openstech.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/openstech.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/openstech.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/openstech.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/openstech.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/openstech.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/openstech.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/openstech.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/openstech.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/openstech.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=263&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://openstech.wordpress.com/2011/03/14/five-mistakes-of-a-scrum-product-owner-that-can-make-your-project-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2decf35a46e701532d24d68bd4a1dd1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">openstech</media:title>
		</media:content>
	</item>
		<item>
		<title>An experience with NIIT Technologies</title>
		<link>http://openstech.wordpress.com/2011/03/08/an-experience-with-niit-technologies/</link>
		<comments>http://openstech.wordpress.com/2011/03/08/an-experience-with-niit-technologies/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 19:28:22 +0000</pubDate>
		<dc:creator>openstech</dc:creator>
				<category><![CDATA[real facts]]></category>
		<category><![CDATA[real fact]]></category>

		<guid isPermaLink="false">http://openstech.wordpress.com/?p=253</guid>
		<description><![CDATA[Interview is a way to know our present market value as well as where are we lacking behind. So far in my life I came across many interviews, among which few are nice experience and few are worst. Here I &#8230; <a href="http://openstech.wordpress.com/2011/03/08/an-experience-with-niit-technologies/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=253&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Interview is a way to know our present market value as well as where are we lacking behind.  So far in my life I came across many interviews, among which few are nice experience and few are worst.  Here I share one of the worst experiences, recently I had with NIIT technologies, Mumbai.<br />
Their requirement was Project/Team Lead in LAMP technologies for which they have invited me.  As already I was serving notice period, I gone for the interview.  They took two rounds of interview which I cleared.  After that they asked me for Aptitude Test which ideally should be the first round.  Anyway as I was not prepared Aptitude Test, I asked them to relieve me.  But they did not and they started trying to convince me that as Aptitude Test is a part of their interview process, everybody has to go for this and it is very easy to clear.  I was not convinced but I went for the test.  There was a booklet and an answer sheet.  There were 36 questions which I needed to answer in 40 minutes.  Anyway I opened the booklet…and…………..can you imagine what did I see?<br />
All the questions were answered with tick mark.  I was surprised and thought, that was probably to confuse me.  But no&#8230; Later I have realized that the trick was just to follow the process that selected candidates have secured 70% in aptitude test, not to get the real benefit out of that process.<br />
Probably there is no unethical business practices.</p>
<br />Filed under: <a href='http://openstech.wordpress.com/category/real-facts/'>real facts</a> Tagged: <a href='http://openstech.wordpress.com/tag/real-fact/'>real fact</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/openstech.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/openstech.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/openstech.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/openstech.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/openstech.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/openstech.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/openstech.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/openstech.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/openstech.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/openstech.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/openstech.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/openstech.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/openstech.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/openstech.wordpress.com/253/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=253&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://openstech.wordpress.com/2011/03/08/an-experience-with-niit-technologies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2decf35a46e701532d24d68bd4a1dd1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">openstech</media:title>
		</media:content>
	</item>
		<item>
		<title>How to install memcache</title>
		<link>http://openstech.wordpress.com/2011/03/02/how-to-install-memcache/</link>
		<comments>http://openstech.wordpress.com/2011/03/02/how-to-install-memcache/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 15:49:48 +0000</pubDate>
		<dc:creator>openstech</dc:creator>
				<category><![CDATA[linux apache mysql php development]]></category>
		<category><![CDATA[PHP INTERVIEW]]></category>
		<category><![CDATA[web development in php]]></category>
		<category><![CDATA[memcache]]></category>

		<guid isPermaLink="false">http://openstech.wordpress.com/?p=236</guid>
		<description><![CDATA[This post is more like a note to me, so that in future I can look up for steps involved in installing memcache on Linux servers like Centos or RHEL. Those of you who follow me on twitter, will know &#8230; <a href="http://openstech.wordpress.com/2011/03/02/how-to-install-memcache/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=236&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is more like a note to me, so that in future I can look up for steps involved in installing <a href="http://www.danga.com/memcached/">memcache</a> on Linux servers like Centos or RHEL.</p>
<p>Those of you who <a title="Amit's twitter id" href="http://twitter.com/thecancerus">follow me on twitter</a>,  will know that me and my friends spends hours trying to install  memcache on one of our web server. Normally this is a five minute job,  but unfortunately for us those tricks did not work out.</p>
<p>So if you have tried YUM and APT-GET and still could not install the  memcache then read on, to find the alternate( read manual, without magic  ) way of doing it.</p>
<p>When we talk about Memcache their two things that needs to be installed</p>
<ol>
<li><strong>Memcache Daemon</strong> know as memcached, and</li>
<li><strong>Memcache client</strong> for your programing language, in this case PHP.</li>
</ol>
<p>&nbsp;</p>
<h2>Installing Memcache Daemon</h2>
<p>Note these steps has been taken from <a title="http://in2.php.net/manual/en/memcache.installation.php" href="http://in2.php.net/manual/en/memcache.installation.php">http://in2.php.net/manual/en/memcache.installation.php</a></p>
<h3>Steps to install Libevent(memcached dependency)</h3>
<ol>
<li>First we need to check if libevent is installed or not?
<ol>
<li>type <em>whereis libevent</em> on shell.</li>
</ol>
</li>
<li>If you don’t find it, then we need to download and install it.  Type following sequence of commands on your shell
<ol>
<li>wget <a href="http://www.monkey.org/%7Eprovos/libevent-1.4.8-stable.tar.gz">http://www.monkey.org/~provos/libevent-1.4.8-stable.tar.gz</a></li>
<li><em>tar xfz libevent-1.4.8-stable.tar.gz</em></li>
<li><em>cd libevent-1.4.8-stable</em></li>
<li><em>./configure</em></li>
<li><em>make</em></li>
<li><em>sudo make install</em></li>
</ol>
</li>
<li>Finally we need to create a symlink to libevent
<ol>
<li>type  <em>sudo ln -s /usr/local/lib/libevent-1.4.so.2 /usr/lib</em> on shell.</li>
</ol>
</li>
</ol>
<p>Now that we have installed the dependencies, we will install the memcahced.</p>
<h3>Steps to install Memcached</h3>
<ol>
<li>Download and install, for that type following sequence of commands on your shell
<ol>
<li>wget <a href="http://danga.com/memcached/dist/memcached-1.2.6.tar.gz">http://danga.com/memcached/dist/memcached-1.2.6.tar.gz</a></li>
<li>tar xfz memcached-1.2.6.tar.gz</li>
<li>cd memcached-1.2.6</li>
<li><em>./configure</em></li>
<li><em>make</em></li>
<li><em>sudo make install</em></li>
</ol>
</li>
<li>Run Memcached as a daemon (d = daemon, m = memory, u = user, l = IP to listen to, p = port)
<ol>
<li>type <em>memcached -d -m 1024 -u root -l 127.0.0.1 -p 11211 </em>on shell</li>
</ol>
</li>
</ol>
<p>Note: versions numbers mentioned here might be outdated, so do check for updated package to download.</p>
<p>Now we have installed and started the Memcache daemon, it’s time to install PHP client.</p>
<h2>Installing Memcache Extension for PHP</h2>
<p>Some of the steps mentioned below are taken from <a title="http://www.sitepoint.com/article/getting-started-with-pear/2/" href="http://www.sitepoint.com/article/getting-started-with-pear/2/">http://www.sitepoint.com/article/getting-started-with-pear/2/</a></p>
<ol>
<li>Let’s determine the PHP version installed and also make sure it is in system path.
<ol>
<li>type<em> php -v</em> on you shell, it should show something like PHP 5.2.6 (cli) (built: Nov  4 2008 09:25:57)</li>
<li>type <em>whereis php</em> to get the path where PHP is installed in your system.</li>
<li>In your accounts home directory create/edit <em>‘.profile’</em> file and add ‘<code>export PATH=$PATH:/usr/local/bin</code>‘ where ‘<em>/usr/local/bin</em>‘ is the folder where php executable is installed.</li>
</ol>
</li>
<li>Install PEAR, type following sequence of commands on your shell
<ol>
<li><em>wget </em><a href="http://pear.php.net/go-pear"><em>http://pear.php.net/go-pear</em></a><em> -O go-pear.php </em></li>
<li><em>php go-pear.php</em> and follow the installation instructions</li>
<li><em>ls -l ~/.pearrc </em></li>
<li>edit the ‘<em>.profile</em>‘ (again) and add export <em>PATH=/home/yourname/pear/bin:$PATH</em></li>
</ol>
</li>
<li>Finally Install Memcache
<ol>
<li>type <em>pecl install memcache</em> on your shell, it will install memcahce extension for PHP.</li>
</ol>
</li>
<li>Edit <em>php.ini</em> to add ‘<em>extension=memcache.so</em>‘, to find the exact php.ini file used by your system
<ol>
<li><em>php -i | grep ‘php.ini’ </em></li>
</ol>
</li>
<li>Restart apache, and you are done  type one of the commands below to do that
<ol>
<li><em>/etc/init.d/apache  restart</em> , or</li>
<li><em>service httpd restart </em></li>
</ol>
</li>
</ol>
<p>I hope this helps and save some time for you, I have a limited  knowledge of Linux, so if some one can improve in the steps, please do  so in the comments.</p>
<br />Filed under: <a href='http://openstech.wordpress.com/category/linux-apache-mysql-php-development/'>linux apache mysql php development</a>, <a href='http://openstech.wordpress.com/category/php-interview/'>PHP INTERVIEW</a>, <a href='http://openstech.wordpress.com/category/web-development-in-php/'>web development in php</a> Tagged: <a href='http://openstech.wordpress.com/tag/memcache/'>memcache</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/openstech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/openstech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/openstech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/openstech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/openstech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/openstech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/openstech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/openstech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/openstech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/openstech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/openstech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/openstech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/openstech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/openstech.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=236&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://openstech.wordpress.com/2011/03/02/how-to-install-memcache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2decf35a46e701532d24d68bd4a1dd1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">openstech</media:title>
		</media:content>
	</item>
		<item>
		<title>What is an abstract class, and when should it be used?</title>
		<link>http://openstech.wordpress.com/2011/03/01/what-is-an-abstract-class-and-when-should-it-be-used/</link>
		<comments>http://openstech.wordpress.com/2011/03/01/what-is-an-abstract-class-and-when-should-it-be-used/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 17:18:53 +0000</pubDate>
		<dc:creator>openstech</dc:creator>
				<category><![CDATA[linux apache mysql php development]]></category>
		<category><![CDATA[web development in php]]></category>
		<category><![CDATA[abstract class]]></category>

		<guid isPermaLink="false">http://openstech.wordpress.com/?p=233</guid>
		<description><![CDATA[Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods. &#8230; <a href="http://openstech.wordpress.com/2011/03/01/what-is-an-abstract-class-and-when-should-it-be-used/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=233&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods. Let&#8217;s look at an example of an abstract class, and an abstract method.</p>
<p>Suppose we were modeling the behavior of animals, by creating a class hierachy that started with a base class called Animal. Animals are capable of doing different things like flying, digging and walking, but there are some common operations as well like eating and sleeping. Some common operations are performed by all animals, but in a different way as well. When an operation is performed in a different way, it is a good candidate for an abstract method (forcing subclasses to provide a custom implementation). Let&#8217;s look at a very primitive Animal base class, which defines an abstract method for making a sound (such as a dog barking, a cow mooing, or a pig oinking).</p>
<pre>public abstract Animal
{
   public void eat(Food food)
   {
        // do something with food....
   }

   public void sleep(int hours)
   {
        try
	{
		// 1000 milliseconds * 60 seconds * 60 minutes * hours
		Thread.sleep ( 1000 * 60 * 60 * hours);
	}
	catch (InterruptedException ie) { /* ignore */ }
   }

   public abstract void makeNoise();
}</pre>
<p>Note that the abstract keyword is used to denote both an abstract method, and an abstract class. Now, any animal that wants to be instantiated (like a dog or cow) must implement the makeNoise method &#8211; otherwise it is impossible to create an instance of that class. Let&#8217;s look at a Dog and Cow subclass that extends the Animal class.</p>
<pre>public Dog extends Animal
{
   public void makeNoise() { System.out.println ("Bark! Bark!"); }
}

public Cow extends Animal
{
   public void makeNoise() { System.out.println ("Moo! Moo!"); }
}</pre>
<p>Now you may be wondering why not declare an abstract class as an interface, and have the Dog and Cow implement the interface. Sure you could &#8211; but you&#8217;d also need to implement the eat and sleep methods. By using abstract classes, you can inherit the implementation of other (non-abstract) methods. You can&#8217;t do that with interfaces &#8211; an interface cannot provide any method implementations.</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://openstech.wordpress.com/category/linux-apache-mysql-php-development/'>linux apache mysql php development</a>, <a href='http://openstech.wordpress.com/category/web-development-in-php/'>web development in php</a> Tagged: <a href='http://openstech.wordpress.com/tag/abstract-class/'>abstract class</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/openstech.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/openstech.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/openstech.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/openstech.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/openstech.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/openstech.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/openstech.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/openstech.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/openstech.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/openstech.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/openstech.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/openstech.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/openstech.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/openstech.wordpress.com/233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=openstech.wordpress.com&amp;blog=822521&amp;post=233&amp;subd=openstech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://openstech.wordpress.com/2011/03/01/what-is-an-abstract-class-and-when-should-it-be-used/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2decf35a46e701532d24d68bd4a1dd1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">openstech</media:title>
		</media:content>
	</item>
	</channel>
</rss>
