<?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>The Cafes &#187; PHP</title>
	<atom:link href="http://cafe.elharo.com/category/web/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.elharo.com</link>
	<description>Longer than a blog; shorter than a book</description>
	<lastBuildDate>Thu, 19 Jan 2012 17:20:51 +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>WP-Cache</title>
		<link>http://cafe.elharo.com/web/wp-cache/</link>
		<comments>http://cafe.elharo.com/web/wp-cache/#comments</comments>
		<pubDate>Thu, 03 May 2007 17:18:34 +0000</pubDate>
		<dc:creator>Elliotte Rusty Harold</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://cafe.elharo.com/web/wp-cache/</guid>
		<description><![CDATA[WP_Cache seemed to work well for Mokka mit Schlag so now I&#8217;ve installed it here on The Cafes too. It dramatically speeds up performance by caching query responses while still allowing for live comments and editing and all that yummy fired goodness WordPress is famous for. We shall see. If anyone notes any problems on [...]]]></description>
			<content:encoded><![CDATA[<p>WP_Cache seemed to work well for Mokka mit Schlag so now I&#8217;ve installed it here on The Cafes too. It dramatically speeds up performance by caching query responses while still allowing for live comments and editing and all that yummy fired goodness WordPress is famous for. We shall see. If anyone notes any problems on this site suddenly cropping up, please holler.<br />
<span id="more-214"></span></p>
<p>One thing that bothers me is I still don&#8217;t have any good or even mediocre way to actually measure the performance of this blog, much less figuring out where the problems lie. It&#8217;s all subjective based on occasional queries that timeout or take longer than I&#8217;d like. I&#8217;d appreciate any suggestions anyone has for automated performance testing of a WordPress server.</p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.elharo.com/web/wp-cache/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PHP Tip #1: Finding your php.ini file</title>
		<link>http://cafe.elharo.com/web/php-tip-1-finding-your-phpini-file/</link>
		<comments>http://cafe.elharo.com/web/php-tip-1-finding-your-phpini-file/#comments</comments>
		<pubDate>Mon, 27 Mar 2006 15:57:06 +0000</pubDate>
		<dc:creator>Elliotte Rusty Harold</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://cafe.elharo.com/web/php-tip-1-finding-your-phpini-file/</guid>
		<description><![CDATA[If you&#8217;ve installed PHP in /usr/local as many people do, then your php.ini file is in /usr/local/php/lib. If you&#8217;ve installed PHP somewhere else, then you&#8217;ll find it in the corresponding lib directory. For instance, I like to put PHP in /opt/php5, so my php.ini file is in /opt/php5/lib. There are a few other places it [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve installed PHP in /usr/local as many people do, then your <a href="http://us2.php.net/configuration">php.ini file</a> is in /usr/local/php/lib. If you&#8217;ve installed PHP somewhere else, then you&#8217;ll find it in the corresponding lib directory. For instance, I like to put PHP in /opt/php5, so my php.ini file is in /opt/php5/lib.<br />
<span id="more-81"></span></p>
<p>There are a few other places it may be depending on platform. For instance, on Windows the Registry key HKEY_LOCAL_MACHINE\SOFTWARE\PHP\<i>IniFilePath</i> may contain a non-default location. On Unix the <code>PHPRC</code> environment variable can point to a non-default location. (However remember this is an environment variable for whatever user the web server runs as, likely not the same as your personal user account&#8217;s environment variables.)</p>
<p>You can use the locate command on most Unix&#8217;s or the Finder&#8217;s File/Find&#8230; on Mac OS X to look for it. However the most reliable way to locate it is to use the <code>phpinfo()</code> function from within a PHP page. Just place the following script in an info.phtml file somewhere on your web server, and load it in your browser:</p>
<pre><code>&lt;?php
phpinfo();
?&gt;</code></pre>
<p>Nothing else needs to be in this file. These three lines are enough. The file name doesn&#8217;t matter as long as it&#8217;s recognized as a PHP file.</p>
<p>About the sixth row of information dumped is &#8220;Configuration File (php.ini) Path&#8221; and this should tell you exactly where to look. </p>
<p>You may not actually see it in in any of these directories, including the one where PHP says it is.  If so, you probably don&#8217;t have one. php.ini is not installed by default. You can create one in that directory using any text editor, though you may have to be root or use <samp>sudo</samp> to do so. </p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.elharo.com/web/php-tip-1-finding-your-phpini-file/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

