<?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/"
	>

<channel>
	<title>Binary Tides &#187; Uncategorized</title>
	<atom:link href="http://www.binarytides.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.binarytides.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 24 Jul 2010 05:31:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Increase or extend phpmyadmin session/login time in Ubuntu Karmic Koala 9.10</title>
		<link>http://www.binarytides.com/blog/increase-or-extend-phpmyadmin-session-login-time-in-ubuntu-karmic-koala-9-10/</link>
		<comments>http://www.binarytides.com/blog/increase-or-extend-phpmyadmin-session-login-time-in-ubuntu-karmic-koala-9-10/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 06:03:03 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=251</guid>
		<description><![CDATA[To increase the loging time of phpmyadmin edit :
/etc/phpmyadmin/config.inc.php
Add the following line :

$cfg['LoginCookieValidity'] = 3600 * 9;

To make the login time 9 hours.
Along with this also check session.gc_maxlifetime in php.in to be higher than or equal to this value. Otherwise session time will be the lower of the two values.
]]></description>
			<content:encoded><![CDATA[<p>To increase the loging time of phpmyadmin edit :<br />
/etc/phpmyadmin/config.inc.php</p>
<p>Add the following line :</p>
<pre class="brush: php;">
$cfg['LoginCookieValidity'] = 3600 * 9;
</pre>
<p>To make the login time 9 hours.</p>
<p>Along with this also check session.gc_maxlifetime in php.in to be higher than or equal to this value. Otherwise session time will be the lower of the two values.</p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=251&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/increase-or-extend-phpmyadmin-session-login-time-in-ubuntu-karmic-koala-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Print margins in Firefox Ubuntu Karmic Koala</title>
		<link>http://www.binarytides.com/blog/print-margins-in-firefox-ubuntu-karmic-koala/</link>
		<comments>http://www.binarytides.com/blog/print-margins-in-firefox-ubuntu-karmic-koala/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 06:03:48 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=247</guid>
		<description><![CDATA[To change print margins in Firefox in Ubuntu :
1. Open a new tab and type about:config in the Url and hit enter.
2. In filter enter margin.
3. For all terms which looks similar to print_margin_bottom , print_margin_top , print_unwritable_margin_bottom , print_extra_margin and so on, double click them and enter value of 0 or 0.0

Also change the [...]]]></description>
			<content:encoded><![CDATA[<p>To change print margins in Firefox in Ubuntu :</p>
<p>1. Open a new tab and type about:config in the Url and hit enter.<br />
2. In filter enter margin.<br />
3. For all terms which looks similar to print_margin_bottom , print_margin_top , print_unwritable_margin_bottom , print_extra_margin and so on, double click them and enter value of 0 or 0.0</p>
<p><span id="more-247"></span></p>
<p>Also change the header and footer text by filtering on header and footer and change the corresponding values.</p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=247&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/print-margins-in-firefox-ubuntu-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Url encoded forward slash in MVC or codeignitor app urls</title>
		<link>http://www.binarytides.com/blog/url-encoded-forward-slash-mvc-or-codeignitor-app-urls/</link>
		<comments>http://www.binarytides.com/blog/url-encoded-forward-slash-mvc-or-codeignitor-app-urls/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 05:25:52 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=245</guid>
		<description><![CDATA[When using PATH_INFO , the urls of codeignitor apps or your custom MVC looks like this

index.php/controlller/method/param1/param2
or
/controlller/method/param1/param2

Now if the parameters contain a forward slash then you would urlencode it as :

index.php/controlller/method/par%2Fam1/param2


But opening that kind of URL would give an error : Page Not Found
This happens if AllowEncodedSlashes directive of Apache is not turned on. More Here. [...]]]></description>
			<content:encoded><![CDATA[<p>When using PATH_INFO , the urls of codeignitor apps or your custom MVC looks like this</p>
<pre class="brush: cpp;">
index.php/controlller/method/param1/param2
or
/controlller/method/param1/param2
</pre>
<p>Now if the parameters contain a forward slash then you would urlencode it as :</p>
<pre class="brush: cpp;">
index.php/controlller/method/par%2Fam1/param2
</pre>
<p><span id="more-245"></span></p>
<p>But opening that kind of URL would give an error : Page Not Found</p>
<p>This happens if AllowEncodedSlashes directive of Apache is not turned on. <a href="http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes">More Here</a>. This directive should be turned on to allow those  sort of Urls. And for codeignitor $config['permitted_uri_chars'] should also be checked to allow forward slash in uri characters.</p>
<p>Reference :<br />
1. <a href="http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes">Apache Documentation</a></p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=245&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/url-encoded-forward-slash-mvc-or-codeignitor-app-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable mod expires on Ubuntu 9.10 Karmic Koala</title>
		<link>http://www.binarytides.com/blog/enable-mod-expires-on-ubuntu-9-10-karmic-koala/</link>
		<comments>http://www.binarytides.com/blog/enable-mod-expires-on-ubuntu-9-10-karmic-koala/#comments</comments>
		<pubDate>Thu, 27 May 2010 06:28:03 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=243</guid>
		<description><![CDATA[To enable mod expires on ubuntu karmic koala :

sudo a2enmod headers
sudo a2enmod expires
sudo /etc/init.d/apache2 restart

If you internal server error or ExpiresActive not allowed here

Then You have to do AllowOverride All in the configuration.
]]></description>
			<content:encoded><![CDATA[<p>To enable mod expires on ubuntu karmic koala :</p>
<pre class="brush: cpp;">
sudo a2enmod headers
sudo a2enmod expires
sudo /etc/init.d/apache2 restart
</pre>
<p>If you internal server error or ExpiresActive not allowed here</p>
<p><span id="more-243"></span></p>
<p>Then You have to do AllowOverride All in the configuration.</p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=243&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/enable-mod-expires-on-ubuntu-9-10-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zero Seller protection on Scriptlance</title>
		<link>http://www.binarytides.com/blog/zero-seller-protection-on-scriptlance/</link>
		<comments>http://www.binarytides.com/blog/zero-seller-protection-on-scriptlance/#comments</comments>
		<pubDate>Wed, 26 May 2010 05:43:08 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=235</guid>
		<description><![CDATA[Scriptlance is a popular freelance portal where buyers and sellers meet together to work on projects. 
Scriptlance has the escrow system which aims at providing sellers with protection against frauds by clients. 

&#8220;The escrow system is meant for protecting the buyers and sellers from fraud&#8221;
-Scriptlance
But recently I noticed that this escrow system is totally useless. [...]]]></description>
			<content:encoded><![CDATA[<p>Scriptlance is a popular freelance portal where buyers and sellers meet together to work on projects. </p>
<p>Scriptlance has the escrow system which aims at providing sellers with protection against frauds by clients. </p>
<p><span id="more-235"></span></p>
<p>&#8220;The escrow system is meant for protecting the buyers and sellers from fraud&#8221;<br />
-Scriptlance</p>
<p>But recently I noticed that this escrow system is totally useless. A client who paid me for a project , suddenly filed a chargeback after around 30-40 days of successful completion of project with his credit card company and scriptlance simply deducted the fee from my account.</p>
<p>So basically scriptlance has no protection mechanism for sellers , though it boasts of great terms and conditions. Seller protection does not exist on scriptlance. Any buyer who paid you on scriptlance using his credit card and file a chargeback say even 1 year later and you simply loose your money.</p>
<p>Although scriptlance boasts that it will carefully study all disputes and decide accordingly after going through all evidences.But most surprising is that even if the client wrote &#8220;Work accepted&#8221; in your private message box and paid you ; and later comes with an excuse that his account was hacked and someone else paid you , the scriptlance would happily deduct you account and pay back the client. </p>
<p>It is important to understand that in all transactions scriptlance happily gets its commission so it doesnt need to care about sellers. There are too many people looking for work. So it is obvious that there is no need to provide sellers with a transparent justice infrastructure. Simply cheat a seller , 10 more sellers would be there the next day. But freelancers have to understand that it is their hard earned money on which they survive. Unless you are in USA and have strong legal hands to sue scriptlance , dont expect any mercy from any one. When companies like paypal have no seller protection and scriptlance is too small to be expected anything from.</p>
<p>Moreover scriptlance internal management is also biased towards clients. For e.g. a client may award you a project and later on change the project specification. Now if you cancel the project for not being able to work on it due to budget vs specification constraints then , the client is allowed to leave you negative remark and amazingly scriptlance happily allows clients to do so.</p>
<p>So all freelancers , especially Indian freelancers please be aware!! Dont loose your hard earned money.<br />
It would be really worthwile to think of a strong disciplined strategy to work with clients on this particular website like scriptlance.</p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=235&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/zero-seller-protection-on-scriptlance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful ffmpeg commands on Ubuntu 9.10 Karmic Koala</title>
		<link>http://www.binarytides.com/blog/useful-ffmpeg-commands-on-ubuntu-9-10-karmic-koala/</link>
		<comments>http://www.binarytides.com/blog/useful-ffmpeg-commands-on-ubuntu-9-10-karmic-koala/#comments</comments>
		<pubDate>Tue, 25 May 2010 12:55:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=233</guid>
		<description><![CDATA[FFmpeg can be installed easily from synaptic

sudo apt-get install ffmpeg

Some useful ffmpeg commands :
1. convert mpeg to flv

ffmpeg -i /path/to/movie.mpeg -ar 22050 -ab 32 -f flv -b 500000 -s 480x360 -y movie.flv

2. convert mp3 to flv

ffmpeg -i /path/to/track.mp3 -f mp3 -ab 64000 -ar 22050 myfile.mp3

3. convert mpeg to flv with mp3

ffmpeg -i /path/to/movie.mpeg -ar 22050 [...]]]></description>
			<content:encoded><![CDATA[<p>FFmpeg can be installed easily from synaptic</p>
<pre class="brush: cpp;">
sudo apt-get install ffmpeg
</pre>
<p>Some useful ffmpeg commands :</p>
<p>1. convert mpeg to flv</p>
<pre class="brush: cpp;">
ffmpeg -i /path/to/movie.mpeg -ar 22050 -ab 32 -f flv -b 500000 -s 480x360 -y movie.flv
</pre>
<p>2. convert mp3 to flv</p>
<pre class="brush: cpp;">
ffmpeg -i /path/to/track.mp3 -f mp3 -ab 64000 -ar 22050 myfile.mp3
</pre>
<p>3. convert mpeg to flv with mp3</p>
<pre class="brush: cpp;">
ffmpeg -i /path/to/movie.mpeg -ar 22050 -ab 64000 -acodec libmp3lame -f flv -b 1000000 -s 480x360 -y movie.flv
</pre>
<p>-i denotes the input file path<br />
-acodec &#8211; denotes the audio codec , libmp3lame in this case , can be installed from synaptic<br />
-s the dimension of final movie e.g. 480&#215;360<br />
-ab audio bitrate of output e.g. 64000</p>
<p><span id="more-233"></span></p>
<p>libavcodec-extra-52 should also be installed for mp3 support.</p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=233&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/useful-ffmpeg-commands-on-ubuntu-9-10-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access other partitions as writable from Dolphin KDE in Ubuntu</title>
		<link>http://www.binarytides.com/blog/access-other-partitions-as-writable-from-dolphin-kde-in-ubuntu/</link>
		<comments>http://www.binarytides.com/blog/access-other-partitions-as-writable-from-dolphin-kde-in-ubuntu/#comments</comments>
		<pubDate>Mon, 10 May 2010 07:20:50 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=231</guid>
		<description><![CDATA[To access other partitions as writable execute the command.

sudo chmod -Rv a+w /media/disk

where directory /media/disk is the path to your partition.
]]></description>
			<content:encoded><![CDATA[<p>To access other partitions as writable execute the command.</p>
<pre class="brush: cpp;">
sudo chmod -Rv a+w /media/disk
</pre>
<p>where directory /media/disk is the path to your partition.</p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=231&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/access-other-partitions-as-writable-from-dolphin-kde-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moneybookers as a Paypal alternative for freelancers</title>
		<link>http://www.binarytides.com/blog/moneybookers-as-a-paypal-alternative-for-freelancers/</link>
		<comments>http://www.binarytides.com/blog/moneybookers-as-a-paypal-alternative-for-freelancers/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 12:09:37 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=228</guid>
		<description><![CDATA[Recently Paypal has faced some issues with RBI which has resulted in withdrawals being reversed etc. Moneybookers is a service similar to Paypal. Moneybookers is available as a withdrawal option in Scriptlance , Getafreelancer , Odesk.

Moneybookers charges 1.9% + 0.29 EU for receiving commercial payments compared to ~ 4% in paypal. In Moneybookers the payer [...]]]></description>
			<content:encoded><![CDATA[<p>Recently Paypal has faced some issues with RBI which has resulted in withdrawals being reversed etc. Moneybookers is a service similar to Paypal. Moneybookers is available as a withdrawal option in Scriptlance , Getafreelancer , Odesk.</p>
<p><span id="more-228"></span></p>
<p>Moneybookers charges 1.9% + 0.29 EU for receiving commercial payments compared to ~ 4% in paypal. In Moneybookers the payer is also charged. Moneybookers account needs verification before it can be used fully.</p>
<p>The first simple option is to verify address by requesting a letter. In there moneybookers would send a letter with a verification code to the account holder&#8217;s address. Upon receiving the letter the account holder must type in the code back into moneybookers. By doing this the address gets verified and limits are lifted so some extent.</p>
<p>Now if transactions exceed euro 1000 in a 90 day period or something similar then moneybookers requests further verification of bank account or credit card. To verify bank account a withdrawal of &lt; $15 should be made from moneybookers to bank account. In this transaction moneybookers would send a reference number which is to be used to verify the bank account.<br />
The $15 withdrawal method of verifying bank account doesnt seem to work for all.</p>
<p>The best way to verify a bank account is :<br />
1. Contact moneybookers and send them a screenshot / scanned copy of you latest bank statement. They may verify it within 2 hours!!<br />
2. Or send them a scanned copy of a FIRC certificate that you may have received while make smaller withdrawal.</p>
<p>Either way would work and bank account would be verified quickly. This would lift the limits further and enable good volume of transactions.</p>
<p>Another good aspect of moneybookers is that it can send dollars directly to your bank account if you have dollar as your currency in moneybookers. USE dollar as your currency in moneybookers as you would save more. If you use inr as your currency in moneybookers then when you receive a dollar payment it would be converted into rupees at higher currency conversion charges. Instead if you receive dollars directly in your bank accounts then banks would charge less for the currency conversion , giving very good forex rates. Hence KEEP you currency DOLLAR in moneybookers. Paypal doesnt have the option to withdraw dollars. It forcefully converts dollars to inr at very low forex rates.</p>
<p>Moneybookers also charges 2.29$ per withdrawal. So making large withdrawals with moneybookers can save money as compared to Paypal. Also there is no issue of chargebacks with moneybookers. In paypal if someone files a chargeback , then no matter what you do , you account will be debited. Sellers have no protection in Paypal. Paypal will happily pay back the payer and seller will simply stand and stare. No such problems exist with moneybookers.</p>
<p>When receiving dollars in Indian banks there are varying charges. For e.g. HDFC bank charges Rs. 90 + s.t. when receiving dollars whereas ICICIBank charges Rs. 600 + s.t.</p>
<p>So for e.g. Scriptlance > Moneybookers > HDFCBank is really a optimum , fast and low fee  solution for freelancers.</p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=228&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/moneybookers-as-a-paypal-alternative-for-freelancers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install SPICE on Ubuntu 9.10 64bit Karmic Koala</title>
		<link>http://www.binarytides.com/blog/install-spice-on-ubuntu-9-10-64bit-karmic-koala/</link>
		<comments>http://www.binarytides.com/blog/install-spice-on-ubuntu-9-10-64bit-karmic-koala/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 05:57:14 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=222</guid>
		<description><![CDATA[SPICE (Simulation Program with Integrated Circuit Emphasis) is a analog circuit simulator.
To install on Ubuntu get the .deb files from :
http://sourceforge.net/projects/ngspice/files/
Look for 17.binary.64bit directory.

Download
ngspice_17.0.0-1_amd64.deb
xspice_17.0.0-1_amd64.deb
The both depend on each other so install like
dpkg -i *.deb or
dpkg -i ngspice_17.0.0-1_amd64.deb xspice_17.0.0-1_amd64.deb
Ubuntu repository has a tools called :
1. easyspice &#8211; Graphical frontend for SPICE
Install as
sudo apt-get install easyspice
Run as
easy_spice
2. [...]]]></description>
			<content:encoded><![CDATA[<p>SPICE (Simulation Program with Integrated Circuit Emphasis) is a analog circuit simulator.</p>
<p>To install on Ubuntu get the .deb files from :<br />
http://sourceforge.net/projects/ngspice/files/</p>
<p>Look for 17.binary.64bit directory.</p>
<p><span id="more-222"></span></p>
<p>Download<br />
ngspice_17.0.0-1_amd64.deb<br />
xspice_17.0.0-1_amd64.deb</p>
<p>The both depend on each other so install like</p>
<p>dpkg -i *.deb or<br />
dpkg -i ngspice_17.0.0-1_amd64.deb xspice_17.0.0-1_amd64.deb</p>
<p>Ubuntu repository has a tools called :</p>
<p>1. easyspice &#8211; Graphical frontend for SPICE<br />
Install as<br />
sudo apt-get install easyspice<br />
Run as<br />
easy_spice</p>
<p>2. gspiceui &#8211; Graphical user interface for gnucap and ngspice<br />
Install as<br />
sudo apt-get install gspiceui<br />
Run as<br />
gspiceui</p>
<p>3. geda &#8211; Electronics Design Software &#8211; <a href="http://en.wikipedia.org/wiki/GEDA">Wikipedia Article</a><br />
Install as<br />
sudo apt-get install geda</p>
<p>Other tools :</p>
<p>1. KJwaves &#8211; Frontend for ngspice<br />
http://ngspice.sourceforge.net/kjwaves.html</p>
<p>Tutorials on SPICE<br />
http://www.seas.upenn.edu/~jan/spice/spice.overview.html<br />
http://www.allaboutcircuits.com/vol_5/chpt_7/3.html<br />
https://electronics.wiki.usu.edu/NGSpice<br />
http://bwrc.eecs.berkeley.edu/Classes/icbook/SPICE/<br />
http://www.eecg.toronto.edu/~martin/spice/part1.html</p>
<p>ECAD resource for LINUX<br />
http://linas.org/linux/ecad.html</p>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=222&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/install-spice-on-ubuntu-9-10-64bit-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install xdebug profiler on Ubuntu 9.10 Karmic Koala</title>
		<link>http://www.binarytides.com/blog/install-xdebug-profiler-on-ubuntu-9-10-karmic-koala/</link>
		<comments>http://www.binarytides.com/blog/install-xdebug-profiler-on-ubuntu-9-10-karmic-koala/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 08:12:32 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=220</guid>
		<description><![CDATA[Install the following :

sudo apt-get install php5-dev
sudo apt-get install php5-xdebug

Find where the xdebug.so file is :

martin@martin-dev:/$ find / -name 'xdebug.so' 2&#62; /dev/null
/usr/lib/php5/20060613/xdebug.so


Now edit the php.ini configuration file as follows :

sudo gedit /etc/php/apache2/php.ini

Add the following line at the end :

zend_extension=&#34;/usr/lib/php5/20060613/xdebug.so&#34;

To enable profiling add :

xdebug.profiler_enable = 1

Now restart Apache 

sudo /etc/init.d/apache2 restart

]]></description>
			<content:encoded><![CDATA[<p>Install the following :</p>
<pre class="brush: cpp;">
sudo apt-get install php5-dev
sudo apt-get install php5-xdebug
</pre>
<p>Find where the xdebug.so file is :</p>
<pre class="brush: cpp;">
martin@martin-dev:/$ find / -name 'xdebug.so' 2&gt; /dev/null
/usr/lib/php5/20060613/xdebug.so
</pre>
<p><span id="more-220"></span></p>
<p>Now edit the php.ini configuration file as follows :</p>
<pre class="brush: cpp;">
sudo gedit /etc/php/apache2/php.ini
</pre>
<p>Add the following line at the end :</p>
<pre class="brush: cpp;">
zend_extension=&quot;/usr/lib/php5/20060613/xdebug.so&quot;
</pre>
<p>To enable profiling add :</p>
<pre class="brush: cpp;">
xdebug.profiler_enable = 1
</pre>
<p>Now restart Apache </p>
<pre class="brush: cpp;">
sudo /etc/init.d/apache2 restart
</pre>
<img src="http://www.binarytides.com/blog/?ak_action=api_record_view&id=220&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.binarytides.com/blog/install-xdebug-profiler-on-ubuntu-9-10-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
