<?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>LaslowNET &#187; Apache2</title>
	<atom:link href="http://laslow.net/tag/apache2/feed/" rel="self" type="application/rss+xml" />
	<link>http://laslow.net</link>
	<description></description>
	<lastBuildDate>Thu, 10 May 2012 20:19:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>WordPress Installation on Server 2003 x86 with Apache2/PHP5/MySQL5</title>
		<link>http://laslow.net/2009/02/21/wordpress-installation-on-server-2003-x86-with-apache2php5mysql5/</link>
		<comments>http://laslow.net/2009/02/21/wordpress-installation-on-server-2003-x86-with-apache2php5mysql5/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 03:37:01 +0000</pubDate>
		<dc:creator>Laslow</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[installation instructions]]></category>
		<category><![CDATA[mysql5]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.laslow.net/?p=7</guid>
		<description><![CDATA[(This assumes you already know how to actually install Apache2 and MySQL5 properly, and setup a database with a user for WordPress). A quick note about WordPress installations on Windows Server 2003. After installing Apache2, MySQL Server Community Edition, and extracting PHP5 (Protip: don&#8217;t use the installer, just download the .zip file and extract it [...]]]></description>
			<content:encoded><![CDATA[<p><em>(This assumes you already know how to actually install Apache2 and MySQL5 properly, and setup a database with a user for WordPress).</em></p>
<p>A quick note about WordPress installations on Windows Server 2003. After installing <a href="http://apache.org">Apache2</a>, <a href="http://mysql.org">MySQL Server Community Edition</a>, and extracting PHP5 (Protip: don&#8217;t use the installer, just download the .zip file and extract it to a folder on your server, eg. C:php), configure the <em>php.ini</em> file in the PHP directory as normal, with the following changes to avoid issues with MySQL not integrating with PHP correctly:</p>
<p>1) Set <em>extension_dir</em> to the <span style="text-decoration: underline;">absolute</span> path of the extensions directory. So if you extracted PHP to <em>C:php</em>, you need to set <em>extension_dir</em> to <em>&#8220;C:phpext&#8221;. </em>Do <span style="text-decoration: underline;"><em>not</em></span> use relative paths!</p>
<p>2) Remove the semi-colon from the line <em>extension=php_mysql.dll</em>.</p>
<p>3) Set the <em>upload_tmp_dir</em> path to an existing folder. I&#8217;d suggest making a new temp folder, such as <em>C:phptemp</em>.</p>
<p>4) Configure <em>mysql.default_port</em> and <em>mysql.default_host</em> with the correct values for your MySQL server.</p>
<p>5) Set the <em>doc_root</em> parameter to where-ever you plan on storing your the files for your site. This needs to be the same as the <em>document_root</em> parameter in Apache2&#8242;s <em>httpd.conf</em>.</p>
<p>Now you just need to configure Apache2 to correctly use PHP5. Add the following lines to <em>httpd.conf (</em>note the slashes used &#8211; don&#8217;t use backslashes!):</p>
<blockquote><p>LoadModule php5_module &#8220;c:/php/php5apache2_2.dll&#8221;<br />
AddType application/x-httpd-php .php<br />
PHPIniDir &#8220;C:/php&#8221;</p></blockquote>
<p>Even though the installation instructions included with PHP say to use <em>php5apache2.dll, </em>we have to use<em> php5apache2<strong>_2</strong>.dll</em>, otherwise Apache2 will fail to start. All that&#8217;s left now is to copy <em>libmysql.dll</em> and <em>php5ts.php</em> from the PHP directory to <em>C:WindowsSystem32</em>.</p>
<p>With this done, you should be able to restart Apache2, and you hopefully won&#8217;t get any errors! To test and make sure that PHP5 is working, and that MySQL5 is accessible, create a new file in your site root (the same folder that <em>doc_root</em> and <em>document_root</em> point to) called <em>info.php</em>, and put the following line in it:</p>
<blockquote><p>&lt;?php phpinfo(); ?&gt;</p></blockquote>
<p>Open your webbrowser, and type <em>http://localhost/info.php</em> in to the address bar, and you should get the standard PHP Info page. Do a search for <em>MySQL</em>, and you should have a heading for it. If so, you&#8217;re ready to install WordPress. If not, then double-check your configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://laslow.net/2009/02/21/wordpress-installation-on-server-2003-x86-with-apache2php5mysql5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

