<?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>Bala-Krishna &#187; Linux</title>
	<atom:link href="http://www.bala-krishna.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bala-krishna.com</link>
	<description>Web Developer &#38; Internet Marketing Consultant</description>
	<lastBuildDate>Sat, 06 Mar 2010 13:07:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Fix Wordpress Posts Missed Schedule Issue</title>
		<link>http://www.bala-krishna.com/how-to-fix-wordpress-posts-missed-schedule-issue/</link>
		<comments>http://www.bala-krishna.com/how-to-fix-wordpress-posts-missed-schedule-issue/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 09:58:52 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Word Press]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Theme]]></category>
		<category><![CDATA[Wordpress Widget]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=725</guid>
		<description><![CDATA[Word Press have missed schedule issue from 2.7 version onwards. Word Press post scheduling was working fine upto   2.6.5 version as many of users reported on web.  You can schedule wordpress post to publish on a specified time. but when time comes post can not publish and shows missed schedule in the admin area. [...]]]></description>
			<content:encoded><![CDATA[<p>Word Press have missed schedule issue from 2.7 version onwards. Word Press post scheduling was working fine upto   2.6.5 version as many of users reported on web.  You can schedule wordpress post to publish on a specified time. but when time comes post can not publish and shows missed schedule in the admin area.  According to WP guys, this is not the issue that Word Press guys can fix. This issue comes when your web server can not properly execute wp-cron process.  New wordpress wp-cron method run wp-cron in separate process that rely on web server configuration. Everytime Word Press loads it looks for wp-cron whether it should be run or not based on the time it was last run.</p>
<p><a href="http://www.bala-krishna.com/wp-content/uploads/2010/03/wordpress-missed-schedule-issue.png"><img class="aligncenter size-full wp-image-729" title="wordpress-missed-schedule-issue" src="http://www.bala-krishna.com/wp-content/uploads/2010/03/wordpress-missed-schedule-issue.png" alt="" width="258" height="79" /></a></p>
<p>Here are some reason that prevent Word Press to run wp-cron correctly.</p>
<ul>
<li>Server doesn&#8217;t have DNS, and so it can&#8217;t figure out who &#8220;example.com&#8221; is, even though it is *itself*.</li>
<li>Server administrators, in a misguided attempt at security, have blocked &#8220;loopback&#8221; requests, so it can&#8217;t actually make a call back to itself.</li>
<li>Server is running something called &#8220;mod_security&#8221; or similar, which actively blocks the call due to brain-dead configuration.</li>
</ul>
<p>There is simple to complex workaround to solve this issue. This problem automatically fix when your server is configured to run wp-cron properly but it require server root access and extensive server administration knowledge. So server configuration method is simply not for everyone to use. There is simple workaround to fix this issue that force wordpress to run wp-cron using alternative method that does not rely on web server configuration. To fix the issue add below line in the wp-config.php file. This line can be add anywhere in the wp-config.php file.</p>
<pre class="brush: php;">
define(‘ALTERNATE_WP_CRON’, true);
</pre>
<p>This should restore wordpress schedule functionality. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/how-to-fix-wordpress-posts-missed-schedule-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Fix Missing a temporary folder error in Wordpress</title>
		<link>http://www.bala-krishna.com/how-to-fix-missing-a-temporary-folder-error-in-wordpress/</link>
		<comments>http://www.bala-krishna.com/how-to-fix-missing-a-temporary-folder-error-in-wordpress/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 12:37:39 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Browser Stuff]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=726</guid>
		<description><![CDATA[This error comes when you try to upload media file such as image, video by Wordpress browser uploader or flash uploader. Wordpress shows this error when temporary upload folder not configured in php.ini file. It is possible upload temp folder is configured but path entered does not exist in the file system. To fix the [...]]]></description>
			<content:encoded><![CDATA[<p>This error comes when you try to upload media file such as image, video by Wordpress browser uploader or flash uploader. Wordpress shows this error when temporary upload folder not configured in php.ini file. It is possible upload temp folder is configured but path entered does not exist in the file system. To fix the issue you just need to check and correct temporary path in php.ini file. If path is in-correct you need to correct folder path or if no folder path given then you need to set temporary path.</p>
<p>You can easily fix this by editing php.ini file. Most of the shared hosting provider now support custom php.ini per account. It means you can have you own php.ini and optimize php setting according to your need.</p>
<p><a href="http://www.bala-krishna.com/wp-content/uploads/2010/02/missing-temporary-folder.png"><img class="alignleft size-full wp-image-727" title="Missing Temporary Folder Wordpress Error" src="http://www.bala-krishna.com/wp-content/uploads/2010/02/missing-temporary-folder.png" alt="" width="469" height="204" /></a></p>
<p><strong>Apply following steps to complete this task.</strong></p>
<p><strong>1)</strong> Find out exact physical path of your account <em>public_html</em> folder. Create a text file and name it phpinfo.php. Add below lines in the file. Save file then upload file in the <em>public_html</em> folder of your server.</p>
<p>&lt;?php phpinfo(); ?&gt;</p>
<p><strong>2)</strong> Run phpinfo.php file by pointing your browser to the file. <em>http://www.yourdomain.com/phpinfo.php</em>. Replace <em>yourdomain.com</em> with your actual domain  name.</p>
<p><strong>3)</strong> Search for two entries <em>_SERVER["SCRIPT_FILENAME"]</em> and <em>Loaded Configuration File. </em>Note down value against these entries.</p>
<p>In my case value for above entries are</p>
<p><em>_SERVER["SCRIPT_FILENAME"]  -&gt; /home/homefolder/public_html/phpinfo.php<br />
</em></p>
<p><em>Loaded Configuration File -&gt; /etc/php/php.ini</em></p>
<p>4) If your hosting account support custom php.ini or you have server access then you can complete following steps otherwise you need to ask your hosting company to complete this for you.</p>
<p><strong>If you have server command line access.</strong></p>
<ol>
<li>Create a temporary folder called &#8220;tmp&#8221; within your public_html folder from FTP. Now temporary folder path is <em>/home/homefolder/public_html/tmp/<br />
</em></li>
<li>Login into the command prompt as server administrator.</li>
<li>Type below command and hit enter</li>
<li>$ sudo nano /etc/php/php.ini</li>
<li>It will open php.ini file in nano visual editor with root privileges. Enter root password if asked.</li>
<li>Find <em>upload_tmp_dir </em>and un-comment it if commented.<em> &#8220;;&#8221;</em> used for commenting purpose in php.ini.<em> </em>Simply remove this special character to un-comment line.</li>
<li>Change <em>upload_tmp_dir value to /home/<em>homefolder</em>/public_html/tmp/</em>. You line should appear similar to next line (8).</li>
<li>upload_tmp_dir = /home/<em>homefolder</em>/public_html/tmp/</li>
<li>Save php.ini file and restart apache.</li>
<li>Now again run phpinfo.php file in your browser. New value should appear in your php info setting.</li>
</ol>
<p><strong>If your host support custom php.ini<br />
</strong></p>
<ol>
<li>Create a temporary folder called &#8220;tmp&#8221; within your <em>public_html</em> folder from FTP. Now temporary folder path is <em>/home/homefolder/public_html/tmp/</em></li>
<li>Create a text file called php.ini in your system and paste content in step (8) specified above.</li>
<li>Save file and upload to your public_html folder in your FTP.</li>
<li>Run phpinfo.php file in your browser. New value should appear in your php info setting.</li>
</ol>
<p>Error should disappear now. However, in some cases you may still get same error. For those cases try removing trailing slash at the end of path. After the change path would be  <em>/home/homefolder/public_html/tmp </em>instead of <em>/home/homefolder/public_html/tmp/</em></p>
<p><strong>Host Support Custom PHP.INI</strong></p>
<ul>
<li>HostGator</li>
<li>aSmallOrange</li>
<li>SiteGround</li>
<li>Site5</li>
</ul>
<p>Good Luck</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/how-to-fix-missing-a-temporary-folder-error-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to format USB Pen Drive in Ubuntu Linux</title>
		<link>http://www.bala-krishna.com/how-to-format-usb-pen-drive-in-ubuntu-linux/</link>
		<comments>http://www.bala-krishna.com/how-to-format-usb-pen-drive-in-ubuntu-linux/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 12:27:38 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Dos Commands]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=647</guid>
		<description><![CDATA[I usually format virus infected pen drive to ensure my windows system not infected with the infected pen drive.  Virus written for windows platform usually do not work within Linux platform so you can use infected pen drive without worry in the Linux system. Here i am showing you how you can format USB pen [...]]]></description>
			<content:encoded><![CDATA[<p>I usually format virus infected pen drive to ensure my windows system not infected with the infected pen drive.  Virus written for windows platform usually do not work within Linux platform so you can use infected pen drive without worry in the Linux system. Here i am showing you how you can format USB pen drive from graphical interface and command prompt.</p>
<p>Use below mentioned command to format USB pen drive.</p>
<p>Make sure USB pen is not mounted.</p>
<p>If mounted Click on <strong><em>Places &gt; Computer &gt; Select USB pen &gt; Right click &gt; Select Unmount Volume</em></strong> to unmount volume USB volume.</p>
<p>Check partition label using fdisk command or gnome graphical partition editor.</p>
<p><a href="http://www.bala-krishna.com/wp-content/uploads/2010/02/how-to-open-linux-gparted-genome-partition-editor.png"><img class="alignleft size-medium wp-image-708" title="how-to-open-linux-gparted-genome-partition-editor" src="http://www.bala-krishna.com/wp-content/uploads/2010/02/how-to-open-linux-gparted-genome-partition-editor-300x163.png" alt="" width="300" height="163" /></a></p>
<p><a href="http://www.bala-krishna.com/wp-content/uploads/2010/02/linux-gparted-genome-partition-editor-result.png"><img class="alignleft size-medium wp-image-710" title="linux-gparted-genome-partition-editor-result" src="http://www.bala-krishna.com/wp-content/uploads/2010/02/linux-gparted-genome-partition-editor-result-300x111.png" alt="" width="300" height="111" /></a></p>
<p><a href="http://www.bala-krishna.com/wp-content/uploads/2010/02/linux-fdisk-command.png"><img class="alignleft size-medium wp-image-709" title="linux-fdisk-command" src="http://www.bala-krishna.com/wp-content/uploads/2010/02/linux-fdisk-command-300x120.png" alt="" width="300" height="120" /></a></p>
<div style="clear:both;"></div>
<p><strong>mkfs command</strong></p>
<p>In my case USB partition label is /dev/sda1. Please check at your end using above method. Be careful using while using partition label, Wrong partition label can wipe out your entire hard disk or specific partition volume.</p>
<p>To format open terminal window and type the command</p>
<p><em><strong>$ sudo mkfs.vfat /dev/sda1</strong></em></p>
<p>For LINUX/EXT3 file system use below mentioned command</p>
<p><em><strong>$ sudo mkfs.ext3 /dev/sda1</strong></em></p>
<p><em><strong> </strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/how-to-format-usb-pen-drive-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Rar/UnRar Support &amp; Open Rar Archives In Ubuntu</title>
		<link>http://www.bala-krishna.com/install-rar-unrar-support-open-rar-archives-in-ubuntu/</link>
		<comments>http://www.bala-krishna.com/install-rar-unrar-support-open-rar-archives-in-ubuntu/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 06:25:07 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[FFMPEG-PHP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[ubuntu archive manager]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=413</guid>
		<description><![CDATA[Ubuntu Archive Manager can not open rar file by default in your Ubuntu. Because of the proprietary issue rar support package not included in Ubuntu distribution. However rar support installtion in very easy with apt-get package mamager.
Follow these steps to install Rar Support in your Ubuntu Linux Distribution.
Open Terminal Window and Run the below command. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Ubuntu Archive Manager</strong> can not open rar file by default in your Ubuntu. Because of the proprietary issue rar support package not included in Ubuntu distribution. However rar support installtion in very easy with apt-get package mamager.</p>
<p>Follow these steps to install Rar Support in your Ubuntu Linux Distribution.</p>
<p>Open Terminal Window and Run the below command. You may ask to enter admin password if you are not login as root.</p>
<blockquote><p><code>sudo apt-get install rar unrar</code></p></blockquote>
<p>The above command will install rar/unrar capability in your ubuntu linux box. You should now able to UnRar archives using <strong>Archive Manager.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/install-rar-unrar-support-open-rar-archives-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Useful Linux Shell Commands</title>
		<link>http://www.bala-krishna.com/useful-linux-shell-commands/</link>
		<comments>http://www.bala-krishna.com/useful-linux-shell-commands/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 14:14:06 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[cp]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[tail]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=67</guid>
		<description><![CDATA[ls : List files/directories in a current directory, equivalent to dir command in dos/windows.
 ls -al : Shows all files and directories with the details attributes for each file.
cd : Change directory
Examples:
 cd ~ : Change your directory to your home directory.
 cd &#8211; : Change to the  last directory you were in.

tail : [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ls :</strong> List files/directories in a current directory, equivalent to dir command in dos/windows.<br />
<strong> ls -al :</strong> Shows all files and directories with the details attributes for each file.</p>
<p><strong>cd : Change directory</strong><br />
Examples:<br />
<em> cd ~ :</em> Change your directory to your home directory.<br />
<em> cd &#8211; :</em> Change to the  last directory you were in.<br />
<strong></strong></p>
<p><strong>tail : Reads and display the end of the file<br />
</strong>Examples:<br />
<em> tail /var/www/me.txt</em><strong> </strong> : Display last 20 lines (by default) lines of the given file.<br />
<em> tail -f /var/www/me.txt</em><strong> </strong>: Watch the file continuously, while it&#8217;s being updated.<br />
<em> tail -400 /var/www/me.txt</em> : Print last 400 lines of the file to the screen.</p>
<p><strong>more : Open file one screen at a time.<br />
</strong>Examples:<br />
<em>more /etc/log.txt </em><strong>:</strong> Opens the file one screen at a time rather than all at once. Press Space to go to next page.</p>
<p><strong>pico : easy to use file editor<br />
</strong>Examples:<br />
<em> pico /home/mysite/public_html/you.html</em> : edit the you.html file from the public_html directory.</p>
<p><strong>vi : popular editor in linux, have lots of features but harder to use<br />
</strong>Examples:<br />
<em> vi /home/</em><em>mysite</em><em>/public_html/</em>you<em>.html</em> : edit the you.html from the public_html directory.</p>
<p><strong>grep : looks for certain patterns in files<br />
</strong>Examples:<br />
<em> grep root /etc/passwd :</em> shows all matches of root in /etc/passwd<br />
<em> grep -v root /etc/passwd </em>: shows all lines that do not match root</p>
<p><strong>touch : create an empty file<br />
</strong>Examples:<br />
<em> touch /home/</em><em>mysite</em><em>/</em><em>/public_html/new.html </em>: create an empty file called new.html in the directory <em>/home/</em><em>mysite</em><em>/</em><em>/public_html/</em></p>
<p><strong>ln : create&#8217;s &#8220;links&#8221; between files and directories<br />
</strong>Examples:<br />
<em> ln -s /usr/local/apache/conf/httpd.conf /etc/httpd.conf</em> : Now you can edit /etc/httpd.conf rather than the original. changes will affect the orginal, however you can delete the link and it will not delete the original.</p>
<p><strong>rm : delete a file<br />
</strong>Examples:<br />
<em> rm filename.txt</em> : Deletes filename.txt, It will confirm you before deleting file.<br />
<em> rm -f filename.txt </em>: Deletes filename.txt without confirmation.<br />
<em> rm -rf tmp/</em> : Recursively deletes the directory tmp, and all files in it, including subdirectories.</p>
<p><strong>last : shows who logged in with the time<br />
</strong>Examples:<br />
<em> last -20 :</em> shows only the last 20 logins<br />
<em> last -20 -a </em>: shows last 20 logins, with the hostname in the last field</p>
<p><strong>netstat : shows all current network connections.</strong><br />
<em> netstat -an :</em> shows all connections to the server, the source and destination ips and ports.<br />
<em> netstat -rn :</em> shows routing table for all ips bound to the server.</p>
<p><strong>top : shows useful live system info<br />
</strong>processes in a table format, memory information, uptime and other useful info. This is excellent for managing your system processes, resources and ensure everything is working fine and your server isn&#8217;t bogged down. top then type <strong>Shift + M</strong> to sort by memory usage or <strong>Shift + P</strong> to sort by CPU usage</p>
<p><strong>ps: ps is short form of process status, equivalent to the top command. It&#8217;s used to show currently running processes with their PID.</strong></p>
<p>A process ID is a unique number that identifies a process, with that you can kill or terminate a running program on your server (see kill command).<br />
Examples:<br />
<em> ps U username :</em> shows processes for a certain user<br />
<em> ps aux :</em> shows all system processes<br />
<em> ps aux &#8211;forest </em>: shows all system processes like the above but organizes in a hierarchy that&#8217;s very useful!</p>
<p><strong>file : attempts to guess what type of file a file is by looking at it&#8217;s content.<br />
</strong>Examples:<br />
<em> file * </em>: prints out a list of all files/directories in a directory</p>
<p><strong>du : shows disk usage.<br />
</strong>Examples:<br />
<em> du -sh </em>: shows a summary of total disk space used in the current directory, including subdirectories.<br />
<em> du -sh *</em> : same as above, but for each file and directory. helpful when finding large files taking up space.</p>
<p><strong>wc : word count<br />
</strong>Examples:<br />
<em> wc -l filename.txt </em>: tells how many lines are in filename.txt</p>
<p><strong>cp : copy a file<br />
</strong>Examples:<br />
<em> cp filename filename.backup</em> : copies filename to filename.backup<br />
<em> cp -a /home/mysite/old/* /home/mysite/new/ </em>: copies all files, retaining permissions form one directory to another.</p>
<p><strong>kill: terminate a system process<br />
</strong>Examples:<br />
<em>Syntax</em>: kill -9 PID <em>Examples</em>: kill -9 431<br />
<em>Syntax</em>:  kill PID <em>Examples</em>: kill 10550</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/useful-linux-shell-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control PHP Error Reporting With .htaccess</title>
		<link>http://www.bala-krishna.com/control-php-error-reporting-with-htaccess/</link>
		<comments>http://www.bala-krishna.com/control-php-error-reporting-with-htaccess/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 16:10:49 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[htpasswd]]></category>
		<category><![CDATA[htpassword]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[reporting]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=356</guid>
		<description><![CDATA[Create .htaccess file or use existing .htaccess file in your hosting site.  Add below line at the top of file content.

# to stop php startup errors
php_flag display_startup_errors off
# to stop all php errors and warning
php_flag display_errors off

You can also control level of error reporting. Here is the .htaccess syntax:

# php directive for setting error [...]]]></description>
			<content:encoded><![CDATA[<p>Create .htaccess file or use existing .htaccess file in your hosting site.  Add below line at the top of file content.</p>
<pre class="brush: php;">
# to stop php startup errors
php_flag display_startup_errors off
# to stop all php errors and warning
php_flag display_errors off
</pre>
<p>You can also control level of error reporting. Here is the .htaccess syntax:</p>
<pre class="brush: php;">
# php directive for setting error level
php_value error_reporting integer
</pre>
<p>Example:</p>
<pre class="brush: php;">
# report everything except run-time notices.
php_value error_reporting 8191
# report both fatal and non-fatal compile-time warnings by the Zend Engine
php_value error_reporting 128
# report run-time notices, compile-time parse errors, run-time errors and warnings
php_value error_reporting 8
# report fatal run-time errors and unrecoverable errors
php_value error_reporting 1
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/control-php-error-reporting-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is Difference Between DNS CNAME &amp; A Record</title>
		<link>http://www.bala-krishna.com/what-is-difference-between-dns-cname-a-record/</link>
		<comments>http://www.bala-krishna.com/what-is-difference-between-dns-cname-a-record/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 14:03:04 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Godaddy Hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[A Record]]></category>
		<category><![CDATA[CNAME]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[PTR]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=354</guid>
		<description><![CDATA[CNAME stands for Canonical Name for a domain.  CNAME is an alias records that create association between a sub-domain and antother domain or subdomain.
And, A Record simply creates an association between a domain/sub-domain name and an IP Address.
Example CNAME
gallery.bala-krishna.com -&#62; gallery.another-domain.com -&#62; 64.1.236.65
you can see above CNAME require two DNS lookup to translate domain/subdomain [...]]]></description>
			<content:encoded><![CDATA[<p>CNAME stands for Canonical Name for a domain.  CNAME is an alias records that create association between a sub-domain and antother domain or subdomain.</p>
<p>And, A Record simply creates an association between a domain/sub-domain name and an IP Address.</p>
<p><strong>Example CNAME</strong><br />
<em>gallery.bala-krishna.com -&gt; gallery.another-domain.com -&gt; 64.1.236.65</em></p>
<p>you can see above CNAME require two DNS lookup to translate domain/subdomain to an IP Address. If client request for <em>gallery.bala-krishna.com </em> then DNS record will return <em>gallery.another-domain.com</em> then <em>gallery.another-domain.com</em><em> </em>has to query DNS to translate <em>gallery.another-domain.com</em> into IP Address.</p>
<p><strong>CNAME Record Syntax:<br />
</strong>www? ?  14400? ?  IN? ?  CNAME? ?  bala-krishna.com<strong></strong></p>
<p><strong>Example A Record</strong></p>
<p>gallery.another-domain.com -&gt; 64.1.236.65</p>
<p>In case of gallery.another-domain.com,  A record directly point to an IP Address so the DNS lookup directly returns IP Address to the client rather then domain/subdomain. hence only one DNS lookup required.</p>
<p><strong>A Record Syntex:<br />
</strong>ftp? ? ? ?  14400? ?  IN? ? ?  A? ? ?  67.159.45.3<strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/what-is-difference-between-dns-cname-a-record/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Operating System Deadlock Explained</title>
		<link>http://www.bala-krishna.com/operating-system-deadlock-explained/</link>
		<comments>http://www.bala-krishna.com/operating-system-deadlock-explained/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 04:41:31 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System Tutorial]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Arts and Entertainment]]></category>
		<category><![CDATA[boss]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[deadlock]]></category>
		<category><![CDATA[grandpa]]></category>
		<category><![CDATA[Grandparent]]></category>
		<category><![CDATA[meeting]]></category>
		<category><![CDATA[New York City]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[Packet]]></category>
		<category><![CDATA[secretary]]></category>
		<category><![CDATA[Television]]></category>
		<category><![CDATA[tuition]]></category>
		<category><![CDATA[United Kingdom]]></category>
		<category><![CDATA[Victorian era]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=340</guid>
		<description><![CDATA[Boss said to secretary: For a week we will go abroad, so make arrangements.
Secretary makes call to her husband: For a week my boss and I will be going abroad, you look after yourself.
Husband makes call to his secret lover: My wife is going abroad for a week, so let&#8217;s spend the week together.
Secret lover [...]]]></description>
			<content:encoded><![CDATA[<p>Boss said to secretary: For a week we will go abroad, so make arrangements.</p>
<p>Secretary makes call to her husband: For a week my boss and I will be going abroad, you look after yourself.</p>
<p>Husband makes call to his secret lover: My wife is going abroad for a week, so let&#8217;s spend the week together.</p>
<p>Secret lover makes call to small boy whom she is giving private tuition: I have work for a week, so you need not come for class.</p>
<p>Small boy makes call to his grandfather: Grandpa, for a week I don&#8217;t have class &#8216;coz my teacher is busy. Let&#8217;s spend the week together.</p>
<p>Grandpa (the 1st boss <img src='http://www.bala-krishna.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) makes call to his secretary: This week I am spending my time with my grandson. We cannot attend that meeting.</p>
<p>Secretary makes call to her husband: This week my boss has some work, we cancelled our trip.</p>
<p>Husband makes call to his secret lover: We cannot spend this week together, my wife has cancelled her trip.</p>
<p>Secret lover makes call to small boy whom she is giving private tuition: This week we will have class as usual.</p>
<p>Small boy makes call to his grandfather: Grandpa, my teacher said this week I have to attend class. Sorry I can&#8217;t give you company</p>
<p>Grandpa (Boss) makes call to his secretary: Don&#8217;t worry this week we will attend that meeting, so make arrangements ..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/operating-system-deadlock-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Fatal Error Fix: Can&#8217;t use method return value in write context</title>
		<link>http://www.bala-krishna.com/php-fatal-error-fix-cant-use-method-return-value-in-write-context/</link>
		<comments>http://www.bala-krishna.com/php-fatal-error-fix-cant-use-method-return-value-in-write-context/#comments</comments>
		<pubDate>Fri, 16 May 2008 07:05:11 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Browser Stuff]]></category>
		<category><![CDATA[Bug Fix]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[empty function]]></category>
		<category><![CDATA[php fatal error]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=329</guid>
		<description><![CDATA[PHP compiler generate fatal error if you use function return value in read/write context.  Although this is not applicable for all PHP supported function but PHP function like empty does not support use of the function in this way. In other words, php empty function  cannot check the return value of a function [...]]]></description>
			<content:encoded><![CDATA[<p>PHP compiler generate fatal error if you use function return value in read/write context.  Although this is not applicable for all PHP supported function but PHP function like <strong><em>empty</em></strong> does not support use of the function in this way. In other words, <strong>php empty function</strong> <span id="intelliTxt"> cannot check the return value of a function or method. It can only check variables so use only variable inside empty function. Any other function or expression inside empty function will lead to generate fatal error.</span></p>
<p><strong>Example Problem Solution:<br />
</strong></p>
<blockquote><p><strong>Wrong<br />
</strong>if(empty(trim($testimony))) echo &#8220;Empty&#8221;; else echo &#8220;Not Empty&#8221;;</p>
<p><strong>Correct<br />
</strong>$testimony = trim($testimony);<strong><br />
</strong>if(empty($testimony)) echo &#8220;Empty&#8221;; else echo &#8220;Not Empty&#8221;;</p></blockquote>
<blockquote><p><strong>Wrong<br />
</strong>if(empty($bobj-&gt;get_results(&#8216;post&#8217;)) { // Processing Code }</p>
<p><strong>Correct<br />
</strong>$tmp = $bobj-&gt;get_results(&#8216;post&#8217;);<br />
if(empty($tmp)) { // Processing Code }</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/php-fatal-error-fix-cant-use-method-return-value-in-write-context/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 9 Released</title>
		<link>http://www.bala-krishna.com/fedora-9-released/</link>
		<comments>http://www.bala-krishna.com/fedora-9-released/#comments</comments>
		<pubDate>Wed, 14 May 2008 12:21:16 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Operating System Tutorial]]></category>
		<category><![CDATA[Distributions]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fedora 9]]></category>
		<category><![CDATA[Fedora Directory Server]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Google Calendar]]></category>
		<category><![CDATA[NetwordManager]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[RHEL]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=327</guid>
		<description><![CDATA[
Finally Fedora 9 has been released. Fedora is a community supported operating system sponsored by Red Hat. It is maintained by fedora community members accross the world. Beside RHEL, Fedora is  free, open to use and modify it to best suit your need. You are always open to distribute it.
New Features

GNOME 2.22 used in [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-328" title="Fedora 9 Download" src="http://www.bala-krishna.com/wp-content/uploads/2008/05/f9release.png" alt="Fedora 9 Download" width="200" height="100" /></p>
<p>Finally Fedora 9 has been released. Fedora is a community supported operating system sponsored by Red Hat. It is maintained by fedora community members accross the world. Beside RHEL, Fedora is  free, open to use and modify it to best suit your need. You are always open to distribute it.</p>
<p><strong>New Features</strong></p>
<ul>
<li>GNOME 2.22 used in this release that includes webcam photo and video creation utility called Cheese.</li>
<li>Improved network filesystem support.</li>
<li>New improved international clock applet.</li>
<li>Google Calendar support and custom email labels in Evolution.</li>
<li>New Remote Desktop Viewer and improved accessibility features.</li>
<li> KDE 4.0.3 and Xfce 4.4.2 is included in this release.</li>
<li>NetworkManager 0.7 provides improved mobile broadband support, including GSM and CDMA devices, and now supports multiple devices and ad-hoc networking for sharing connections.</li>
<li>It is now enabled by default on installations from DVD, CD, the network, and Live images.</li>
<li>Supports partition resizing for ext2/3, NTFS filesystems.L</li>
<li>Live USB images support available.</li>
<li>FreeIPA makes managing auditing, identity and policy processes easier by providing web-based and command line provisioning, and administration tools to ease system administration. FreeIPA combines the power of the Fedora Directory Server with FreeRADIUS, MIT Kerberos, NTP and DNS to provide an easy, out of the box solution.</li>
<li>Next generation Ext4 support for better performance, higher storage capacity and several other new features.</li>
<li>Fedora 9 uses Upstart, an event-based replacement for the /sbin/init daemon.</li>
<li>Firefox 3 support for native look and feel and desktop integration.</li>
<li>By default now support and installed free and open source Java environment OpenJDK 6</li>
<li>OpenOffice.org 2.4 included with many new features.</li>
<li>Fedora 9 includes Perl 5.10.0 features a smaller memory footprint and other improvements.</li>
<li>Fedora 9 features a 2.6.25 based kernel.</li>
<li>Automatic report kernel crashes to http://www.kerneloops.org</li>
</ul>
<p><strong>Download<br />
</strong><br />
<a href="http://download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/i386/iso/Fedora-9-i386-DVD.iso">i386</a> &#8211; Install DVD<br />
<a href="http://download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/x86_64/iso/Fedora-9-x86_64-DVD.iso">x86_64</a> &#8211; Install DVD<br />
<a href="http://download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/ppc/iso/Fedora-9-ppc-DVD.iso">ppc</a> &#8211; Install DVD<br />
<a href="http://download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/i386/iso/">i386</a> &#8211; Install CDs<br />
<a href="http://download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/x86_64/iso/">x86_64</a> &#8211; Install CDs<br />
<a href="http://download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/ppc/iso/">ppc</a> &#8211; Install CDs</p>
<p><a title="Fedora 9 Download Options" href="http://fedoraproject.org/get-fedora.html" target="_blank">Check out more download option here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/fedora-9-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
