<?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>Emran Hasan&#039;s Blog &#187; configuration</title>
	<atom:link href="http://phpfour.com/blog/tag/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpfour.com/blog</link>
	<description>The everyday sharing of Emran Hasan on software development.</description>
	<lastBuildDate>Fri, 20 Jan 2012 11:39:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Turning local open_basedir off</title>
		<link>http://phpfour.com/blog/2007/10/turning-local-open_basedir-off/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=turning-local-open_basedir-off</link>
		<comments>http://phpfour.com/blog/2007/10/turning-local-open_basedir-off/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 22:08:55 +0000</pubDate>
		<dc:creator>Emran Hasan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/10/12/turning-local-open_basedir-off/</guid>
		<description><![CDATA[I have been trying to remove the open_basedir directive from my php configuration to allow seamless CURL operation in my server (Plesk based). As the first step, I edited the /etc/php.ini file and set the directive to none. It made the master value for open_basedir to none. But even if, the local value is set [...]]]></description>
			<content:encoded><![CDATA[<p>I have been trying to remove the open_basedir directive from my php configuration to allow seamless CURL operation in my server (Plesk based).</p>
<p>As the first step, I edited the /etc/php.ini file and set the directive to none. It made the master value for open_basedir to none. But even if, the local value is set and was causing enough trouble.</p>
<p>I googled it, carried out a few methods, but nothing worked. The last try got me the result I needed:</p>
<p>1. Created a new httpd.conf file in my domains conf folder: /var/www/vhosts/mydomain.org/conf</p>
<p>2. Put the following lines there:</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&amp;lt;Directory /var/www/vhosts/mydomain.org/httpdocs&amp;gt;<br />
php_admin_value open_basedir &quot;none&quot;<br />
&amp;lt;/Directory&amp;gt;</div></div>
<p>3. Updated Plesk configuration: # /usr/local/psa/admin/sbin/websrvmng -v -a</p>
<p>4. Restarted apache: apachectl restart</p>
<p>5. Voila!</p>
<p>I hope this helps somebody out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpfour.com/blog/2007/10/turning-local-open_basedir-off/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: phpfour.com @ 2012-02-07 18:45:22 -->
