<?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>Mukesh Chapagain&#039;s Blog &#187; configuration</title>
	<atom:link href="http://blog.chapagain.com.np/tag/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chapagain.com.np</link>
	<description>PHP Magento jQuery SQL Wordpress Joomla Programming &#38; Tutorial</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:54:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>php.ini : Most commonly used php directives</title>
		<link>http://blog.chapagain.com.np/php-ini-most-commonly-used-php-directives/</link>
		<comments>http://blog.chapagain.com.np/php-ini-most-commonly-used-php-directives/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 18:02:22 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[configu]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[directives]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[ini]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=501</guid>
		<description><![CDATA[Below are the most commonly used php directives. You have to change php.ini file in order to configure php settings. This just means changing these directive&#8217;s option and value. 1) short_open_tag = Off Allow the many servers don’t support short tags. 2) max_execution_time = 30 Maximum execution time of each script, in seconds 3) error_reporting [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/jquery-grey-out-background-and-preview-image-as-popup/' rel='bookmark' title='Permanent Link: jQuery: Grey out background and preview image as popup'>jQuery: Grey out background and preview image as popup</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-find-php-version-and-php-ini-file-location-path/' rel='bookmark' title='Permanent Link: How to find php version and php.ini file location path?'>How to find php version and php.ini file location path?</a></li>
<li><a href='http://blog.chapagain.com.np/print_r-in-javascript/' rel='bookmark' title='Permanent Link: print_r in Javascript'>print_r in Javascript</a></li>
<li><a href='http://blog.chapagain.com.np/javascript-showhide-html-elements/' rel='bookmark' title='Permanent Link: Javascript: Show/Hide HTML elements'>Javascript: Show/Hide HTML elements</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Below are the most commonly used php directives. You have to change <strong>php.ini</strong> file in order to configure php settings. This just means changing these directive&#8217;s option and value.</p>
<p style="text-align: justify;"><strong>1) short_open_tag = Off</strong></p>
<p><span id="more-501"></span></p>
<p style="text-align: justify;">Allow the many servers don’t support short tags.</p>
<p style="text-align: justify;"><strong>2) max_execution_time = 30 </strong></p>
<p style="text-align: justify;">Maximum execution time of each script, in seconds</p>
<p style="text-align: justify;"><strong>3) error_reporting = E_ALL &amp; ~E_NOTICE &amp; ~E_STRICT</strong></p>
<p style="text-align: justify;">This shows all errors, except coding standards warnings. Some more examples for error_reporting setting:</p>
<p style="text-align: justify;">- Show all errors, except for notices and coding standards warnings<br />
error_reporting = E_ALL &amp; ~E_NOTICE</p>
<p style="text-align: justify;">- Show all errors, except for notices<br />
error_reporting = E_ALL &amp; ~E_NOTICE | E_STRICT</p>
<p style="text-align: justify;">- Show only errors<br />
error_reporting= E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR</p>
<p style="text-align: justify;"><strong>4) display_errors = On</strong></p>
<p style="text-align: justify;">Print out errors (as a part of the output).  For production web sites, you&#8217;re strongly encouraged to turn this feature off, and use error logging instead (see below).  Keeping display_errors enabled on a production web site may reveal security information to end users, such as file paths on your Web server, your database schema or other information.</p>
<p style="text-align: justify;"><strong>5) log_errors = On</strong></p>
<p style="text-align: justify;">Log errors into a log file (server-specific log, stderr, or error_log (below)). As stated above, you&#8217;re strongly advised to use error logging in place of error displaying on production web sites.</p>
<p style="text-align: justify;"><strong>6) register_globals = Off</strong></p>
<p style="text-align: justify;">You should do your best to write your scripts so that they do not require register_globals to be on.</p>
<p style="text-align: justify;">Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of.</p>
<p style="text-align: justify;"><strong>7) memory_limit = 128M</strong></p>
<p style="text-align: justify;">This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server.</p>
<p style="text-align: justify;"><strong>8) post_max_size = 8M</strong></p>
<p style="text-align: justify;">Maximum size of POST data that PHP will accept. In the above example Post max size is 8MB.</p>
<p style="text-align: justify;">This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize.   If memory limit is enabled by your configure script, memory_limit also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size .</p>
<p style="text-align: justify;"><strong>9) file_uploads = On</strong></p>
<p style="text-align: justify;">Whether to allow HTTP file uploads.</p>
<p style="text-align: justify;"><strong>10) upload_max_filesize = 2M</strong></p>
<p style="text-align: justify;">Maximum allowed size for uploaded files. In above case, 2MB.</p>
<p style="text-align: justify;"><strong>11) allow_url_fopen = On</strong></p>
<p style="text-align: justify;">Whether to allow the treatment of URLs (like http:// or ftp://) as files.</p>
<p style="text-align: justify;">Cheers n Enjoy PHPing !!</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=501&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/jquery-grey-out-background-and-preview-image-as-popup/' rel='bookmark' title='Permanent Link: jQuery: Grey out background and preview image as popup'>jQuery: Grey out background and preview image as popup</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-find-php-version-and-php-ini-file-location-path/' rel='bookmark' title='Permanent Link: How to find php version and php.ini file location path?'>How to find php version and php.ini file location path?</a></li>
<li><a href='http://blog.chapagain.com.np/print_r-in-javascript/' rel='bookmark' title='Permanent Link: print_r in Javascript'>print_r in Javascript</a></li>
<li><a href='http://blog.chapagain.com.np/javascript-showhide-html-elements/' rel='bookmark' title='Permanent Link: Javascript: Show/Hide HTML elements'>Javascript: Show/Hide HTML elements</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/php-ini-most-commonly-used-php-directives/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to find php version and php.ini file location path?</title>
		<link>http://blog.chapagain.com.np/how-to-find-php-version-and-php-ini-file-location-path/</link>
		<comments>http://blog.chapagain.com.np/how-to-find-php-version-and-php-ini-file-location-path/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 17:47:43 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[directives]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[ini]]></category>
		<category><![CDATA[settings]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=497</guid>
		<description><![CDATA[We can view the php settings by creating a php file in our web root with the following code: Let the name of the file be phpinfo.php Open http://localhost/phpinfo.php in your browser in your local computer. If you are working online then open http://yoursite/phpinfo.php You will see the following on your browser: You can clearly [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-fix-open_basedir-restriction-in-effect-filetmp-is-not-within-the-allowed-paths/' rel='bookmark' title='Permanent Link: WordPress Fix: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)'>WordPress Fix: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)</a></li>
<li><a href='http://blog.chapagain.com.np/jquery-grey-out-background-and-preview-image-as-popup/' rel='bookmark' title='Permanent Link: jQuery: Grey out background and preview image as popup'>jQuery: Grey out background and preview image as popup</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-get-working-site-path-and-directory-name-in-php/' rel='bookmark' title='Permanent Link: How to get working site path and directory name in php?'>How to get working site path and directory name in php?</a></li>
<li><a href='http://blog.chapagain.com.np/file-upload-in-php-simplified/' rel='bookmark' title='Permanent Link: File Upload in PHP :: Simplified'>File Upload in PHP :: Simplified</a></li>
<li><a href='http://blog.chapagain.com.np/php-ini-most-commonly-used-php-directives/' rel='bookmark' title='Permanent Link: php.ini : Most commonly used php directives'>php.ini : Most commonly used php directives</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">We can view the php settings by creating a php file in our web root with the following code:</p>
<p>Let the name of the file be <strong>phpinfo.php</strong><br />
Open <strong>http://localhost/phpinfo.php</strong> in your browser in your local computer. If you are working online then open <strong>http://yoursite/phpinfo.php</strong></p>
<p><span id="more-497"></span></p>
<p>You will see the following on your browser:</p>
<div class="wp-caption alignnone" style="width: 522px"><img title="PHP INFO" src="http://lh3.ggpht.com/_MtILEp64EVg/S09LnJwfTdI/AAAAAAAAAIE/RUYhyued6hA/s512/phpinfo.JPG" alt="PHP INFO" width="512" height="488" /><p class="wp-caption-text">PHP INFO</p></div>
<p>You can clearly see that the <strong>PHP Version</strong> I am using is 5.2.5. Your version may be different from mine.</p>
<p style="text-align: justify;">From this page, you will be able to review about all the php directives whether they are in enabled or disabled state. You can enable, disable, or edit directives from php.ini file. You can see in the image above about the location of php.ini file. See <strong>Loaded Configuration File</strong>. It shows the path of <strong>php.ini</strong> file to be <strong>C:\wamp\bin\apache\apache2.2.6\bin\php.ini</strong>. You have to change this file (php.ini) in order to configure your php settings.</p>
<p style="text-align: justify;">Cheers n Enjoy PHPing :-)</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=497&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-fix-open_basedir-restriction-in-effect-filetmp-is-not-within-the-allowed-paths/' rel='bookmark' title='Permanent Link: WordPress Fix: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)'>WordPress Fix: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)</a></li>
<li><a href='http://blog.chapagain.com.np/jquery-grey-out-background-and-preview-image-as-popup/' rel='bookmark' title='Permanent Link: jQuery: Grey out background and preview image as popup'>jQuery: Grey out background and preview image as popup</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-get-working-site-path-and-directory-name-in-php/' rel='bookmark' title='Permanent Link: How to get working site path and directory name in php?'>How to get working site path and directory name in php?</a></li>
<li><a href='http://blog.chapagain.com.np/file-upload-in-php-simplified/' rel='bookmark' title='Permanent Link: File Upload in PHP :: Simplified'>File Upload in PHP :: Simplified</a></li>
<li><a href='http://blog.chapagain.com.np/php-ini-most-commonly-used-php-directives/' rel='bookmark' title='Permanent Link: php.ini : Most commonly used php directives'>php.ini : Most commonly used php directives</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/how-to-find-php-version-and-php-ini-file-location-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuration error on new Magento installation</title>
		<link>http://blog.chapagain.com.np/configuration-error-on-new-magento-installation/</link>
		<comments>http://blog.chapagain.com.np/configuration-error-on-new-magento-installation/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 12:17:28 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[installation]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=132</guid>
		<description><![CDATA[Scenario: I am installing a fresh magento 1.3.2.1 in my Windows XP computer. I have Xampp installed. While installing magento, I had a problem at the configuration step where I had to fill database host, username, password etc. When I click continue after filling the required fields, the installation process doesn’t move forward. I am [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/how-to-install-sample-data-for-magento/' rel='bookmark' title='Permanent Link: How to Install Sample Data for Magento?'>How to Install Sample Data for Magento?</a></li>
<li><a href='http://blog.chapagain.com.np/magento-error-%e2%80%93-notice-undefined-index-0-appcodecoremagecoremodelmysql4config-php-on-line-92/' rel='bookmark' title='Permanent Link: Magento Error – Notice: Undefined index: 0 app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92'>Magento Error – Notice: Undefined index: 0 app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92</a></li>
<li><a href='http://blog.chapagain.com.np/magento-recoverable-error-argument-1-passed-to-mage_core_model_store-setwebsite-must-be-an-instance-of-mage_core_model_website/' rel='bookmark' title='Permanent Link: Magento: Recoverable Error: Argument 1 passed to Mage_Core_Model_Store :: setWebsite() must be an instance of Mage_Core_Model_Website'>Magento: Recoverable Error: Argument 1 passed to Mage_Core_Model_Store :: setWebsite() must be an instance of Mage_Core_Model_Website</a></li>
<li><a href='http://blog.chapagain.com.np/php-extension-error-while-installing-magento/' rel='bookmark' title='Permanent Link: PHP extension error while installing Magento'>PHP extension error while installing Magento</a></li>
<li><a href='http://blog.chapagain.com.np/magento-solution-to-error-404-not-found-in-admin-login-page/' rel='bookmark' title='Permanent Link: Magento: Solution to &#8220;Error: 404 Not Found&#8221; in Admin Login Page'>Magento: Solution to &#8220;Error: 404 Not Found&#8221; in Admin Login Page</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>Scenario</strong>:</p>
<p style="text-align: justify;">I am installing a fresh magento 1.3.2.1 in my Windows XP computer. I have Xampp installed. While installing magento, I had a problem at the configuration step where I had to fill database host, username, password etc. When I click continue after filling the required fields, the installation process doesn’t move forward. I am redirected to the same page.</p>
<p><strong>Solution</strong>:</p>
<p><span id="more-132"></span></p>
<p style="text-align: justify;">I googled and was suggested to put 127.0.0.1 instead of localhost in the url; e.g. to put http://127.0.0.1/magento  instead of http://localhost/magento . I did the same but then I got the following error displayed:</p>
<p><strong>Database server does not support InnoDB storage engine<br />
Database connection error</strong></p>
<p>This error was solved. I opened <strong>my.cnf</strong> file present inside <strong>mysql/bin/</strong> in notepad and uncommented (removed # sign) from the line skip_innodb.</p>
<p>Change:<br />
<strong>#skip-innodb to skip-innodb</strong></p>
<p>But still, my problem was not solved. I could not pass through the configuration page. Then I found a solution which finally helped me. I changed chmod of the following three folders to 777, i.e. making the folders writable. These folders are inside your magento folder.  In windows, right click the folder, go to properties, uncheck ‘Read Only’ present under Attributes. The folders to change are as under:</p>
<p style="text-align: justify;">
<strong>app/etc<br />
var<br />
media</strong></p>
<p>Finally, I am through and I completed Magento installation. Hurray :)</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=132&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/how-to-install-sample-data-for-magento/' rel='bookmark' title='Permanent Link: How to Install Sample Data for Magento?'>How to Install Sample Data for Magento?</a></li>
<li><a href='http://blog.chapagain.com.np/magento-error-%e2%80%93-notice-undefined-index-0-appcodecoremagecoremodelmysql4config-php-on-line-92/' rel='bookmark' title='Permanent Link: Magento Error – Notice: Undefined index: 0 app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92'>Magento Error – Notice: Undefined index: 0 app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92</a></li>
<li><a href='http://blog.chapagain.com.np/magento-recoverable-error-argument-1-passed-to-mage_core_model_store-setwebsite-must-be-an-instance-of-mage_core_model_website/' rel='bookmark' title='Permanent Link: Magento: Recoverable Error: Argument 1 passed to Mage_Core_Model_Store :: setWebsite() must be an instance of Mage_Core_Model_Website'>Magento: Recoverable Error: Argument 1 passed to Mage_Core_Model_Store :: setWebsite() must be an instance of Mage_Core_Model_Website</a></li>
<li><a href='http://blog.chapagain.com.np/php-extension-error-while-installing-magento/' rel='bookmark' title='Permanent Link: PHP extension error while installing Magento'>PHP extension error while installing Magento</a></li>
<li><a href='http://blog.chapagain.com.np/magento-solution-to-error-404-not-found-in-admin-login-page/' rel='bookmark' title='Permanent Link: Magento: Solution to &#8220;Error: 404 Not Found&#8221; in Admin Login Page'>Magento: Solution to &#8220;Error: 404 Not Found&#8221; in Admin Login Page</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/configuration-error-on-new-magento-installation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
