<?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>A Life of Constant Flux &#187; Uncategorized</title>
	<atom:link href="http://joelmarcey.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelmarcey.com</link>
	<description>Being Self-Employed, Technology, Life&#039;s Journey</description>
	<lastBuildDate>Thu, 06 Oct 2011 14:24:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>To Find Out Version of LAMP (Linux, Apache, MySQL, PHP) Via the Command Line</title>
		<link>http://joelmarcey.com/2011/08/28/to-find-out-version-of-lamp-linux-apache-mysql-php-via-the-command-line/</link>
		<comments>http://joelmarcey.com/2011/08/28/to-find-out-version-of-lamp-linux-apache-mysql-php-via-the-command-line/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 00:12:39 +0000</pubDate>
		<dc:creator>Joel Marcey</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Slicehost]]></category>

		<guid isPermaLink="false">http://joelmarcey.com/?p=478</guid>
		<description><![CDATA[I am running a LAMP server on Slicehost. I always have to look up how to determine the version of each component of the LAMP server I am running. I am using Ubuntu Linux 8.04.4 (Hardy). In my case, here &#8230; <a href="http://joelmarcey.com/2011/08/28/to-find-out-version-of-lamp-linux-apache-mysql-php-via-the-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am running a<a href="http://joelmarcey.com/2008/08/15/installing-a-lamp-server-with-wordpress-on-slicehost-and-maybe-elsewhere/"> LAMP server on Slicehost</a>. I always have to look up how to determine the version of each component of the LAMP server I am running. I am using Ubuntu Linux 8.04.4 (Hardy). In my case, here are the command-line instructions I use. I hope this helps you too. Btw, the command &#8220;whereis&#8221; is very helpful in locating programs (i.e. <code>whereis apache2</code>).</p>
<p><strong>Linux</strong></p>
<p><code>> more /etc/issue</code></p>
<p>or</p>
<p><code>> lsb_release -a</code></p>
<p><strong>Apache 2</strong></p>
<p><code>> /usr/sbin/apache2 -V</code></p>
<p><em>Note:</em> Apache 2 doesn&#8217;t have &#8220;httpd&#8221; anymore. It was changed to &#8220;apache2&#8243; instead.</p>
<p><strong>MySQL</strong></p>
<p>First log into your MySQL database from the command line, using something to the effect of:</p>
<p><code>> mysql -u username -p</code> </p>
<p>Then:</p>
<p><code>mysql> select version();</code></p>
<p><strong>PHP</strong></p>
<p><code>> php -v</code> </p>
<p>or </p>
<p><code>> php5 -v</code></p>
<p><em>Note:</em> This assumes you have PHP 5 installed and that you have installed the Command Line Interface (CLI) to PHP via &#8220;sudo aptitude install php5-cli&#8221;. Alternatively, you can find out the version of PHP via instruction &#8220;< ? phpinfo() ?>&#8221; within a .php file.</p>
]]></content:encoded>
			<wfw:commentRss>http://joelmarcey.com/2011/08/28/to-find-out-version-of-lamp-linux-apache-mysql-php-via-the-command-line/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

