<?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>Myoddweb.com</title>
	<atom:link href="http://www.myoddweb.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.myoddweb.com</link>
	<description>Myoddweb.com Home of Courseplanner - Flight planner for Flight Simulator</description>
	<lastBuildDate>Tue, 03 May 2011 09:27:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>php_mcrypt for php 5.3.x</title>
		<link>http://www.myoddweb.com/2011/05/03/php_mcrypt-for-php-5-3-x/</link>
		<comments>http://www.myoddweb.com/2011/05/03/php_mcrypt-for-php-5-3-x/#comments</comments>
		<pubDate>Tue, 03 May 2011 09:27:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php_mcrypt]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=215</guid>
		<description><![CDATA[The other day I upgraded my dev box to php 5.3.6, (from 5.2.x), and I got frustrated because I could not get php_mycrypt.dll to load. The reason is simply because it is bundled in php 5.3.x, (for windows at least). I suspect it is also built in with the unix versions as well.]]></description>
				<content:encoded><![CDATA[<p>The other day I upgraded my dev box to php 5.3.6, (from 5.2.x), and I got frustrated because I could not get php_mycrypt.dll to load.</p>
<p>The reason is simply because it is bundled in php 5.3.x, (for windows at least).<br />
I suspect it is also built in with the unix versions as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2011/05/03/php_mcrypt-for-php-5-3-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Common issues with php-Apache installs</title>
		<link>http://www.myoddweb.com/2011/01/07/common-issues-with-php-apache-installs/</link>
		<comments>http://www.myoddweb.com/2011/01/07/common-issues-with-php-apache-installs/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 18:15:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=213</guid>
		<description><![CDATA[1- You see code instead of the script been run Locate the file called httpd.conf and make sure you have something like &#8230; PHPIniDir &#8220;C:/Program Files (x86)/php&#8221; AddType application/x-httpd-php .php .php5 LoadModule php5_module &#8220;C:/Program Files (x86)/php/php5apache2_2.dll&#8221; &#8230; And restart the Apache server 2- httpd.conf is either located in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\ or C:\Program [...]]]></description>
				<content:encoded><![CDATA[<p>1- You see code instead of the script been run</p>
<p style="padding-left: 30px;">Locate the file called httpd.conf and make sure you have something like<br />
<em>&#8230;<br />
PHPIniDir &#8220;C:/Program Files (x86)/php&#8221;<br />
AddType application/x-httpd-php .php .php5<br />
LoadModule php5_module &#8220;C:/Program Files (x86)/php/php5apache2_2.dll&#8221;<br />
&#8230;</em></p>
<p style="padding-left: 30px;">And <span style="text-decoration: underline;"><strong>restart</strong></span> the Apache server</p>
<p>2- httpd.conf is either located in</p>
<p style="padding-left: 30px;"><em>C:\Program Files (x86)\Apache Software Foundation\Apache2.2\<br />
</em>or<br />
<em>C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf</em></p>
<p>I&#8217;ll add more later as I think of them&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2011/01/07/common-issues-with-php-apache-installs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install MCrypt for PHP on Windows</title>
		<link>http://www.myoddweb.com/2010/11/18/install-mcrypt-for-php-on-windows/</link>
		<comments>http://www.myoddweb.com/2010/11/18/install-mcrypt-for-php-on-windows/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 13:13:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpinfo]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=206</guid>
		<description><![CDATA[How to enable mcrypt/libmcrypt for PHP on a windows webserver. Also explain how to create a phpinfo file to get the website values.]]></description>
				<content:encoded><![CDATA[<p>There are many sites around explaining how to install MCrypt for windows but none seem very straight forward.<br />
I have <a title="install apache php and mysql on windows" href="http://www.myoddweb.com/2010/11/11/install-apache-php-and-mysql-on-windows/">PHP installed on a windows development machine</a> and I need MCrypt installed.</p>
<p>The default installation might not have <a href="http://sourceforge.net/projects/mcrypt/">mcrypt </a>or you might have missed it shomehow&#8230;</p>
<p>If that happens all you need to do it</p>
<ol>
<li>Go to the <a href="http://www.php.net/downloads.php" target="_blank">php download</a> website and download the windows binary package, (not the installer).</li>
<li>Unzip the file in a folder, (it should create a folder called something like <em>php-5.x.yy-Win32</em>, depending on the version number of php you got.</li>
<li>In that folder there should be a file called <em>&#8220;libmcrypt.dll&#8221;, </em>copy the file to your php extension folder, (see below if you don&#8217;t know where that is).</li>
<li>In that folder there should also be another folder called &#8220;ext&#8221;, open it and copy the file <em>&#8220;php_mcrypt.dll&#8221;</em> to your php extension folder.</li>
<li>edit your php.ini file, (see below if you don&#8217;t know where that is), and add the line:<br />
<span style="color: #3366ff;">&#8230;<br />
;;;;;;;;;;;;;;;;;;;;;;<br />
; Dynamic Extensions ;<br />
;;;;;;;;;;;;;;;;;;;;;;<br />
&#8230;<br />
<em>extension=php_mcrypt.dll</em><br />
&#8230;<br />
<span style="color: #000000;">Look for other &#8220;</span></span><span style="color: #000000;">extension=&#8230;</span><span style="color: #3366ff;"><span style="color: #000000;">&#8221; to find where to add this line.</span><br />
</span></li>
<li>Restart your web server, with Apache for example click on the icon on the task bar and select &#8216;restart&#8217;.</li>
</ol>
<h3>Where are my php extensions?</h3>
<p>Normally they are located in your program files directory, something like &#8220;<em>C:\Program Files\PHP\</em>&#8220;, if you are using a non english version of Windows then the name might be different.</p>
<p>If it is not there then create a <em><strong>phpinfo.php</strong></em> test file and look for the path in the various variables, (look for the variables <em>extension_dir</em> as well as <em>PHPRC</em>).</p>
<h3>Where is my php.ini file?</h3>
<p>Same as above, normally they are located in your program files directory, something like &#8220;<em>C:\Program Files\PHP\</em>&#8220;, if you are using a non english version of Windows then the name might be different.</p>
<p>If it is not there then create a <em><strong>phpinfo.php</strong></em> test file and look for the path in the various variables, (look for the value &#8220;<em>Loaded Configuration File</em>&#8220;<em></em>).</p>
<h3>What should my phpinfo.php file look like?</h3>
<p>Open a blank file with your favourite text editor and type.</p>
<p><span style="color: #3366ff;">&lt;?php<br />
phpinfo();<br />
?&gt;<br />
</span></p>
<p>Save the file as <em>phpinfo.php</em> in your web folder and it should show you all the information you need about your php installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2010/11/18/install-mcrypt-for-php-on-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install, Apache, php and MySQL on Windows</title>
		<link>http://www.myoddweb.com/2010/11/11/install-apache-php-and-mysql-on-windows/</link>
		<comments>http://www.myoddweb.com/2010/11/11/install-apache-php-and-mysql-on-windows/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 13:08:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=195</guid>
		<description><![CDATA[Install Apache, PHP and MySQL on a windows box for development.]]></description>
				<content:encoded><![CDATA[<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.myoddweb.com%2F2010%2F11%2F11%2Finstall-apache-php-and-mysql-on-windows%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden;  width:450px; height:65px"></iframe><br />
The other day I was looking for a tutorial to install Apache, php and MySQL on Windows and I wasn&#8217;t really able to find anything that cover most basic issues.<br />
I don&#8217;t want to replace my current webserver, (IIS), I want to install Apache next to</p>
<h3>Basic notes before we start.</h3>
<ol>
<li>You <span style="text-decoration: underline;"><strong>must</strong></span> be the Administrator on the machine.</li>
<li>This is <span style="text-decoration: underline;"><strong>not</strong></span> a how-to install a website on a server, this is how to install a website on your own development machine, (so some server security settings will be ignored).</li>
<li>It is best to fist follow all the steps as I have listed them and <em><span style="text-decoration: underline;">then</span></em> make changes that fit your needs.</li>
<li>Each step has a &#8216;test&#8217; to make sure it works, if it did not then don&#8217;t go any further, it will only make things worse. Installing PHP will not magically make Apache work.</li>
<li>On an English version of Windows all programs are installed in the <em>c:\program files\</em> directory, but it it called something else in other languages, (the variable is <em>%programfiles%</em>).<br />
If you are using a 64 bit machine then the folder is different for 86 bit applications.<br />
By default the installed will direct you to the program files folder, <span style="text-decoration: underline;">just pay attention to where that folder is</span>.</li>
<li>I used port number 8001, you can choose another number if you want, (but not 80 or 8080 just yet).</li>
<li>If you have some weird and wonderful firewall you might want to turn it off during the installation, turn it back one once you know it is working. If it does not work with the firewall then you know what needs to be fixed.</li>
<li>Turn off your Anti-virus as well if you don&#8217;t think it is clever enough to recognize Apache, PHP or MySQL.</li>
<li>Make a note of all the folders you install things in. Don&#8217;t just blindly press &#8216;next&#8217;, &#8216;next&#8217;, &#8230;</li>
</ol>
<h3>1) Install Apache</h3>
<p>Go to the <a title="Apache download." href="http://httpd.apache.org/download.cgi" target="_blank">Apache website and download</a> the latest version, don&#8217;t get the &#8216;Alpha&#8217; or &#8216;Beta&#8217; version but rather get the one labelled, &#8220;the best available version&#8217;. I got version  2.2.17, (without crypto).</p>
<ol>
<li>Run the install and accept all the basic settings.</li>
<li>in Apache folder, (<em>c:\Program Files\Apache Software Foundation\Apache2.2\</em>), look for the http.conf file and edit it, (it is a normal text file).
<ol>
<li>Change the <strong>Listen</strong> value:<br />
<span style="color: #3366ff;">&#8230;<br />
#<br />
# Change this to Listen on specific IP addresses as shown below to<br />
# prevent Apache from glomming onto all bound IP addresses.<br />
#<br />
#Listen 12.34.56.78:80<br />
</span><strong><span style="color: #3366ff;">Listen 8001<br />
&#8230;</span><br />
</strong></li>
<li>And the change the <strong>ServerName</strong> value:<br />
<span style="color: #3366ff;">&#8230;<br />
# If your host doesn&#8217;t have a registered DNS name, enter its IP address here.<br />
#<br />
#ServerName &lt;somedomain&gt;:80</span><span style="color: #3366ff;"><strong><span style="color: #3366ff;"><br />
ServerName localhost:8001<br />
&#8230;</span></strong></span></li>
</ol>
</li>
<li>Double click on the Apache icon on the task bar, that will bring up the &#8216;Apache service monitor&#8217;<br />
The server is running, (if you don&#8217;t have IIS installed), or not running, (if there was an issue with IIS).</li>
<li>Select the [Start] or [Restart] button, it should then start ok &#8230;<br />
If it does not start there is a problem, double check the settings. If you are certain that the settings are correct try another port. Instead of 9001 for example, try 8001 or something like that.</li>
<li>Open your web browser and navigate to <a title="Your local apache website." href="http://localhost:8001/" target="_blank">http://localhost:8001/</a> you should get a simple message &#8220;<em><strong>It works!!!</strong></em>&#8220;</li>
<li>Change the location of your website to something more developer  friendly.<br />
in <em>C:\Program Files\Apache Software Foundation\Apache2.2\conf\http.conf</em> change:<br />
<span style="color: #3366ff;"> &#8230;<br />
# documents. By default, all requests are taken from this directory, but<br />
# symbolic links and aliases may be used to point to other locations.<br />
#<br />
<strong> DocumentRoot &#8220;c:/website&#8221;</strong><br />
&#8230;<br />
#<br />
# This should be changed to whatever you set DocumentRoot to.<br />
#<br />
<strong> &lt;Directory &#8220;c:/website&#8221;&gt;</strong><br />
&#8230;</span></li>
<li>Don&#8217;t add a &#8216;/&#8217; at the end of the path, so don&#8217;t write &#8216;<em>&lt;Directory &#8220;<strong>c:/website/</strong>&#8220;&gt;</em>&#8216;</li>
<li>Create a folder <em><strong>c:/website/</strong></em>, don&#8217;t put any files or anything in it.<em><strong><br />
</strong></em></li>
<li>Restart the Apache server again, (on the task bar, select the apache server, &#8220;Open Apache Monitor&#8221;, select [Start] or [Restart], it should then start ok&#8230;).</li>
<li>Open your web browser and navigate to <a href="http://localhost:8001/" target="_blank">http://localhost:8001/</a> you should get a message &#8220;<em><strong>Index of /</strong></em>&#8220;</li>
</ol>
<h3>2) Install PHP</h3>
<p>Go to the <a title="PHP Download " href="http://php.net/downloads.php" target="_blank">php.net website and download</a> the latest stable version. Get the windows installer, I got version 5.2.14.</p>
<ol>
<li>Run the install and accept all the default settings.</li>
<li>During the install you will be prompted to select a server, select <strong>Apache 2.2</strong></li>
<li>It will then ask you for the location of the Apache configuration file, select &#8220;<em>C:\Program Files\Apache Software Foundation\Apache2.2\http.conf</em>&#8220;<strong><br />
</strong></li>
<li>After the install, double check that the Apache configuration file was updated properly.<br />
In <em>C:\Program Files\Apache Software Foundation\Apache2.2\http.conf</em> at the end of the file the php installer will have added<br />
<span style="color: #3366ff;">&#8230;<br />
#BEGIN PHP INSTALLER EDITS &#8211; REMOVE ONLY ON UNINSTALL<br />
PHPIniDir &#8220;C:/Program Files/PHP/&#8221;<br />
LoadModule php5_module &#8220;C:/Program Files/PHP/php5apache2_2.dll&#8221;<br />
#END PHP INSTALLER EDITS &#8211; REMOVE ONLY ON UNINSTALL<br />
&#8230;</span></li>
<li>Edit the php.ini file to display all errors. By default the file is located in &#8220;<em><strong>C:/Program Files/PHP/</strong></em>&#8221;<br />
Replace, &#8220;<em>display_errors = Off</em>&#8221; with &#8220;<em>display_errors = On</em>&#8220;.<br />
<span style="color: #3366ff;">&#8230;<br />
; To output errors to STDERR with CGI/CLI:<br />
;display_errors = &#8220;stderr&#8221;<br />
;<br />
; Default<br />
;<br />
display_errors = On<br />
&#8230;</span></li>
<li>One more time, restart the Apache server, (see above).</li>
</ol>
<h4>2.1) Create a php test file.</h4>
<ol>
<li>Open a blank document</li>
<li><span style="color: #3366ff;">&lt;?php<br />
echo &#8220;Hello from my website&#8221;<br />
?&gt;</span></li>
<li>Save the document as &#8220;index.php&#8221; in your website root folder, (c:/website)</li>
<li>go to <a title="php firs test file." href="http://localhost:8001/index.php" target="_blank">http://localhost:8001/index.php</a></li>
<li> You should see &#8220;<strong>Hello from my website</strong>
<ol>
<li>If you see the code () then it means you did not restart the Apache service</li>
<li>if you see nothing there might be a type in your code.</li>
<li>Make sure that you have nothing before &#8221;&lt;?php&#8217; and after &#8216;?&gt;&#8217;</li>
</ol>
</li>
</ol>
<h4>2.2 ) Make index.php the default</h4>
<ol>
<li>In Apache configuration file, (&#8220;C:\Program Files\Apache Software Foundation\Apache2.2\conf&#8221;), Update <em><strong>DirectoryIndex</strong></em> and add add <em>index.php<br />
</em><span style="color: #3366ff;">&#8230;<br />
#<br />
# DirectoryIndex: sets the file that Apache will serve if a directory<br />
# is requested.<br />
#<br />
&lt;IfModule dir_module&gt;<br />
DirectoryIndex index.html index.php<br />
&#8230;</span></li>
<li>The order is important, if you have both, <em>index.html <span style="text-decoration: underline;">and</span> index.php</em> in your website then index.html will be displayed.</li>
<li>Restart the Apache server, &#8220;Open Apache Monitor&#8221;, select [Start] or [Restart], it should then start ok&#8230;</li>
<li> Go to <a title="Your local apache website." href="http://localhost:8001/" target="_blank">http://localhost:8001/</a> and you should see &#8220;<strong>Hello from my website</strong>&#8221;
<ol>
<li>if you see &#8220;<strong>Index of /</strong>&#8221; you didn&#8217;t restart the Apache service</li>
<li>if you don&#8217;t see &#8220;<strong>Hello from my website</strong>&#8221; or &#8220;<strong>Index of /</strong>&#8220;, do you have an index.html file that is showing?</li>
</ol>
</li>
</ol>
<h3>3) Install MySQL</h3>
<p>Go to the <a title="MySQL Download" href="http://dev.mysql.com/downloads/mysql/" target="_blank">MySQL website and download</a> the latest stable version. Get the windows installer, I got version 5.1.52 You can get version 32bit or 64bit. Get the recommended, &#8216;Essential&#8217;  download.</p>
<p>For version 5.2, (and earlier), you also need to <a title="MySQL/php connector" href="http://mysql2.mirrors-r-us.net/downloads/connector/php/index.html" target="_blank">download mysql extension (PHP 5.2.0)</a>.</p>
<ol>
<li>Do the typical install and accept all settings.</li>
<li>The last step is to configure</li>
</ol>
<h4>3.1) Configure the MySQL server now.</h4>
<p>Select the following, (mostly default), options</p>
<ol>
<li>Detailed configuration.</li>
<li>Developer machine.</li>
<li>Multifunctional database</li>
<li>Select/Edit &#8220;<em>c:\website\data\</em>&#8221; rather than the default, (this is easier to locate and/or port to another machine).</li>
<li>DSS/OLAP server instance configuration.</li>
<li>port number 3306.</li>
<li>Best support for Multilingualism, (you will need it at some stage and it does not harm even if you think you won&#8217;t need it).</li>
<li>Service name &#8220;MySQL&#8221;.</li>
<li>Set the root password, (<span style="text-decoration: underline;">and write it down!</span>). Even for development it is good practice to use a strong password.</li>
<li>Press the &#8216;Execute &#8230;&#8217;, (takes a bit of time). You should get no errors.</li>
</ol>
<p>If you get an error on the last step it is almost because of a security issue, (a Windows/Firewall/Anti virus issue).</p>
<h4>3.2 Tell PHP about MySQL.</h4>
<p>In the old days PHP would install the MySQL extension by default, in 5.x that changed and you had to download it. In 5.3 it is bundled again.<br />
Either way, make sure that PHP knows how to work with PHP, the following steps might already be done for you by the installer(s), if it is don&#8217;t overwrite the settings.</p>
<ol>
<li>Unzip the mysql extension you downloaded earlier, (<a href="http://dev.mysql.com/downloads/mysql/" target="_blank">http://dev.mysql.com/downloads/mysql/</a>) and copy them to your <strong>php</strong> directory.<br />
By default located in <em><strong>c:\program files\php\<br />
</strong></em>There should be 2 files, <em>libmysql.dll</em> and <em>php_mysql.dll</em>, copy them both.<br />
<em>If the files already exist, do not overwrite those files.</em></li>
<li>Edit your php.ini file (By default located in <em>c:\program files\php\php.ini</em>)<br />
Add the mysql extensions.<br />
<span style="color: #3366ff;">&#8230;<br />
;;;;;;;;;;;;;;;;;;;;;;<br />
; Dynamic Extensions ;<br />
;;;;;;;;;;;;;;;;;;;;;;<br />
&#8230;<br />
extension=php_mysql.dll<br />
&#8230;</span></li>
<li>On the task bar, select the Apache server, &#8220;Open Apache Monitor&#8221;, select [Start] or [Restart], it should then start ok&#8230;
<ol>
<li>If Apache does not restart, , did you copy both dlls or just one?</li>
<li>Did you get the right files, (on the download site, did you get the right MySQL version and right php version)?</li>
<li>Did you download the mysql<strong><span style="text-decoration: underline;">i</span></strong> extension or the mysql extension, (note the extra &#8216;i&#8217;)?</li>
</ol>
</li>
</ol>
<h4>3.3 Create a mysql/php test files.</h4>
<ol>
<li>Open/create a new, empty file.</li>
<li>Type the following<br />
<span style="color: #3366ff;">&lt;?php<br />
// Report all PHP errors (see changelog)<br />
error_reporting(E_ALL);</p>
<p>$con = mysql_connect(&#8216;localhost&#8217;,'root&#8217;,&#8217;<strong><span style="color: #ff0000;">&lt;yourpassword&gt;</span></strong>&#8216;);</p>
<p></span> <span style="color: #3366ff;"><br />
if (!$con)<br />
{<br />
die(&#8216;Could not connect: &#8216; . mysql_error());<br />
}<br />
echo &#8220;Connected to database!!&#8221;;<br />
?&gt;</span></li>
<li>Save the file <em>&#8220;c:\website\connect.php</em>&#8220;</li>
<li>Go to your site and check that you are connected to your MySQL database<br />
<a title="Check database connection" href="http://localhost:8001/connect.php" target="_blank">http://localhost:8001/connect.php</a></p>
<ol>
<li>If you get &#8216;Could not connect&#8217;, did you put the right user name and password, (replace <strong><span style="color: #ff0000;">&lt;yourpassword&gt;</span></strong>)?</li>
<li>If you see nothing at all check your php.ini file to display errors, (see above).</li>
<li>If you see &#8220;Call to undefined function mysql_connect()&#8221; check your php.ini file for mysql settings. If they look ok, restart Apache again and make sure it has no errors.</li>
</ol>
</li>
</ol>
<h3>Concusion</h3>
<p>This should be it, your web server should be up and running, you can now restart your firewall, check that the website is still running, then restart your anti virus.</p>
<p>Once all this is running you can play with various settings, remember that you, (almost always), need to restart Apache once you made a change to the http.conf or php.ini files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2010/11/11/install-apache-php-and-mysql-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google maps in Courseplanner</title>
		<link>http://www.myoddweb.com/2010/09/29/google-maps-in-courseplanner/</link>
		<comments>http://www.myoddweb.com/2010/09/29/google-maps-in-courseplanner/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 09:04:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Beta]]></category>
		<category><![CDATA[Courseplanner]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Courseplanner beta]]></category>
		<category><![CDATA[google maps]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=187</guid>
		<description><![CDATA[Google Maps added to the latest beta version of Courseplanner.]]></description>
				<content:encoded><![CDATA[<div id="attachment_188" class="wp-caption alignleft" style="width: 310px"><a href="http://www.myoddweb.com/wp-content/uploads/2010/09/courseplanner_google_map1.png"><img class="size-full wp-image-188 " title="courseplanner_google_map1" src="http://www.myoddweb.com/wp-content/uploads/2010/09/courseplanner_google_map1.png" alt="Google maps in Courseplanner" width="300" height="240" /></a><p class="wp-caption-text">Google maps in Courseplanner</p></div>
<p>After many, many, complains about the maps that Courseplanner offers as a default, I finally decided to add support for <a title="Google Maps" href="http://maps.google.com/">Google maps</a>.</p>
<p>Actually adding Google maps itself is fairly straight forward, I spent a bit of time adding all the overlapping drawings that are required for the moving map.</p>
<p>There is also the small issue of not been connected to the internet, (&#8217;cause you can&#8217;t use Google maps properly without the internet).</p>
<p>I am also working on a small application that offers only Google Maps and Courseplanner moving map.<br />
Currently the Google Maps version is only available in Beta, (but you can get it <a href="http://www.myoddweb.com/courseplanner/">here</a>), but I am planning on releasing it soonish.</p>
<div id="attachment_190" class="wp-caption alignright" style="width: 310px"><a href="http://www.myoddweb.com/wp-content/uploads/2010/09/courseplanner_google_map2.png"><img class="size-full wp-image-190" title="courseplanner_google_map2" src="http://www.myoddweb.com/wp-content/uploads/2010/09/courseplanner_google_map2.png" alt="Google Maps in Courseplanner" width="300" height="240" /></a><p class="wp-caption-text">Google Maps in Courseplanner</p></div>
<p>Google Maps has a very, very easy API to work with, they have almost no restrictions to using it in an application.</p>
<p>I did send them an email to make sure that I am on the right side of their terms and conditions.</p>
<p>While I wait, I still need to add a couple of things, (to the Google Maps tab).</p>
<ul>
<li>Moving map.</li>
<li>Current flight plan and,</li>
<li>De-clutter.</li>
</ul>
<p>Please visit <a title="Courseplanner forum" href="http://forum.myoddweb.com/">the forum</a> and let me know if you can think of any new features that would be nice to add.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2010/09/29/google-maps-in-courseplanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Added a contact form</title>
		<link>http://www.myoddweb.com/2010/09/09/added-a-contact-form/</link>
		<comments>http://www.myoddweb.com/2010/09/09/added-a-contact-form/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 10:45:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Courseplanner]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[contact us]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=182</guid>
		<description><![CDATA[Added a contact form to enable users to email me directly if they have any questions.]]></description>
				<content:encoded><![CDATA[<p>I often get comments posted here regarding registration issues or general questions about Courseplanner itself. This is not really the proper place for them, so I have to delete them.</p>
<p>To that end I have created a new <a title="Courseplanner contact us" href="http://www.myoddweb.com/courseplanner/contact-us/" target="_self">contact page</a> where users can email me directly. I haven&#8217;t added any security checks yet, (because, truth be told, CAPTCHA can be a bit of a pain to use sometimes).</p>
<p>Note that the forum is still by far the preferred place to get help, because that way the reply can be used by everybody.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2010/09/09/added-a-contact-form/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Finally ordered X-Plane</title>
		<link>http://www.myoddweb.com/2010/08/30/finally-ordered-x-plane/</link>
		<comments>http://www.myoddweb.com/2010/08/30/finally-ordered-x-plane/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 18:50:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Courseplanner]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[X-Plane]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=168</guid>
		<description><![CDATA[Finally ordered X-Plane to play with and to start developing a module for Courseplanner.]]></description>
				<content:encoded><![CDATA[<p>My long term plan has always been to include X-Plane with Courseplanner, (mainly because Flight simulator is not actively been developed any more*). To that end I finally ordered <a href="http://www.x-plane.com/">X-Plane 9</a> and it should be arriving in the next few weeks.</p>
<p>I&#8217;ll then be able to create an X-Plane module for Courseplanner.</p>
<div style="font-size: smaller;">* Yes I know about <a href="http://www.microsoft.com/games/flight/">Microsoft Flight</a>, but this seems a long way away from been complete and no one really seems to know if it will be a game of a simulator.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2010/08/30/finally-ordered-x-plane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding crash report information to Courseplanner</title>
		<link>http://www.myoddweb.com/2010/05/28/adding-crash-report-information-to-courseplanner/</link>
		<comments>http://www.myoddweb.com/2010/05/28/adding-crash-report-information-to-courseplanner/#comments</comments>
		<pubDate>Fri, 28 May 2010 08:35:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Beta]]></category>
		<category><![CDATA[Courseplanner]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[crash]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=163</guid>
		<description><![CDATA[Adding crash report to Courseplanner.]]></description>
				<content:encoded><![CDATA[<p>I finally got around adding a proper crash report to Courseplanner, I do get a couple of reports every months and every time I am faced with the same problem of not having enough information. Thankfully it does not happen very often, but when it does I need to gather as much information as possible.</p>
<p>I am looking at <a title="CrashRpt" href="http://www.myoddweb.com/courseplanner/privacy-policy-cp/" target="_blank">CrashRpt</a>, I used that piece of software a while ago, (when they were on Codeproject) and I was quite happy with it.<br />
Because it is open source and written it C++, it makes it very easy to incorporate in Courseplanner.</p>
<p>I am also looking at other kinds of Crash handling software,  especially <a href="http://code.google.com/p/google-breakpad/">Google</a> and <a href="https://developer.mozilla.org/en/Crash_reporting">Firefox</a>, not  because I think they are better, but simply because I would be foolish  to ignore such big names.</p>
<p>One of the most attractive option they have is the possibility to send the report directly to the website, in the past users were reluctant to send an email, or, in worse cases the emails would be trapped in some spam filter.</p>
<p>I also created a <a href="http://www.myoddweb.com/courseplanner/privacy-policy-cp/">privacy policy page</a>, it basically says that I have no plans to pass any information to any third party. Currently the policy is limited to the crash report, but at some stage I will have to update it to include registration and the forum.</p>
<p>I am planning on releasing it to the beta team later today, (my ftp  server is down for some reason).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2010/05/28/adding-crash-report-information-to-courseplanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Wine on ubuntu</title>
		<link>http://www.myoddweb.com/2010/04/20/installing-wine-on-ubuntu/</link>
		<comments>http://www.myoddweb.com/2010/04/20/installing-wine-on-ubuntu/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 10:59:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Courseplanner]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=149</guid>
		<description><![CDATA[How to install Wine on ubuntu, these are just a few basic steps.]]></description>
				<content:encoded><![CDATA[<p>I was playing around with using Courseplanner on an old unix machine of mine.  Of course you cannot just run a windows application on a ubuntu machine, but thankfully <a href="http://en.wikipedia.org/wiki/Wine_%28software%29">Wine</a> allows you to run such applications.</p>
<p>But be warned a lot of issues have been reported, Wine does not work 100% all the time.<br />
So, before I venture down the road of installing <a title="Courseplanner on ubuntu" href="http://www.myoddweb.com/courseplanner">Courseplanner</a> on my ubuntu machine I need to venture down the road of installing Wine.</p>
<p>Start the terminal server (Applications &gt; Accessories &gt; Terminal).<br />
At the command prompt, type</p>
<blockquote><p>sudo apt-get install wine<br />
[sudo] password for <em>username</em>:</p></blockquote>
<p>Enter your password, and then wait for the relevant packages to be downloaded, (only 19Mb but for me it took a bit of time for some reason).</p>
<p>When this is done&#8230; there is nothing else to do, you can type&#8230;</p>
<blockquote><p>wine &#8211;version</p></blockquote>
<p>To get the version number, but to be fair, this won&#8217;t help you much <img src='http://www.myoddweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Next I need to install Coursplanner&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2010/04/20/installing-wine-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The &#8220;Hello Dolly&#8221; of piger</title>
		<link>http://www.myoddweb.com/2009/11/25/the-hello-dolly-of-piger/</link>
		<comments>http://www.myoddweb.com/2009/11/25/the-hello-dolly-of-piger/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 21:01:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Piger]]></category>

		<guid isPermaLink="false">http://www.myoddweb.com/?p=145</guid>
		<description><![CDATA[I created a small c++ plugin to show the basic architecture of the piger plugin. WordPress has a very simple plugin that they called &#8216;Hello Dolly&#8217;, this plugin does not really do much apart from randomly displaying a lyric from &#8220;Hello Dolly&#8221; First things first, download the latest source code of the plugin and we [...]]]></description>
				<content:encoded><![CDATA[<p>I created a small c++ plugin to show the basic architecture of the piger plugin.<br />
<a href="http://wordpress.org/">WordPress</a> has a very simple plugin that they called &#8216;Hello Dolly&#8217;, <a href="http://codex.wordpress.org/Plugins#Default_Plugins">this plugin</a> does not really do much apart from randomly displaying a lyric from &#8220;<a href="http://en.wikipedia.org/wiki/Hello,_Dolly!_%28song%29">Hello Dolly</a>&#8221;</p>
<p>First things first,<a href="https://sourceforge.net/projects/unixpiger/files/"> download the latest source code</a> of the plugin and we will talk about each files in a bit more details.</p>
<p><strong>The file type</strong>:<br />
The file is nothing more than a DLL with an <em>&#8216;.amp&#8217;</em> extension. So when you create your plugin make sure that the output file has a <em>&#8216;.amp&#8217;</em> extension.</p>
<p><strong>The files to include</strong>:<br />
You need to include 2 files, a header(h) file and a library(.lib) file.<br />
<span id="more-145"></span></p>
<pre>// support for PluginAPI
#include "../../api/amplugin/amplugin.h"

// add the libs
#ifdef _DEBUG
#pragma comment(lib, "../../debug/amplugin.lib" )
#else
#pragma comment(lib, "../../release/amplugin.lib" )
#endif</pre>
<p>And in the cpp file, the one and only function.</p>
<pre>PLUGIN_API
AM_RESPONSE am_Msg( AM_MSG msg, WPARAM wParam, LPARAM lParam  )
{
  return AM_RESP_NOT_SUPPORTED;
}</pre>
<p>Some important messages&#8230;</p>
<pre>...
  <span style="color: #3366ff;">switch</span>( msg )
  {
  <span style="color: #3366ff;">case </span>AM_MSG_INIT:   <span style="color: #339966;">// called when the plugin is first loaded.</span>
  <span style="color: #3366ff;">case </span>AM_MSG_DEINIT: <span style="color: #339966;">// called when we are closing the app</span>
  <span style="color: #3366ff;">case </span>AM_MSG_MAIN:   <span style="color: #339966;">// called when one, (or more), of the commands we </span>
                      <span style="color: #339966;">// registered are called.</span>
  }</pre>
<p>When the message &#8216;AM_MSG_INIT&#8217; is called you can add an action using the &#8216;<em>addAction( &#8230; )</em>&#8216; function.</p>
<p>AM_MSG_MAIN will be called when that action is entered.</p>
<p><strong>Things to note</strong>:</p>
<ul>
<li>Place your plugin in the __in folder, (normally found in %appdata%\MyOddWeb\ActionMonitor_d\RootCommands\__in).</li>
<li><strong>Don&#8217;t mix debug and release builds</strong>, to debug your plugin you will need to run it again the debug version of Action monitor, (and the folder is %appdata%\MyOddWeb\<strong>ActionMonitor_d</strong>\RootCommands\__in).</li>
<li>Have a look at the file &#8220;<span style="color: #3366ff;">#include</span><span style="color: #800000;"> &#8220;am_plugins.h&#8221;</span>&#8220;, it explains what most messages do.</li>
<li>Call <strong>[Caps lock] this.reload</strong> to reload <strong><em>everything</em></strong>.</li>
<li>Download <a href="https://sourceforge.net/projects/unixpiger/files/">the plugin code here</a>.</li>
</ul>
<p>Visit <a href="http://forum.myoddweb.com">the forum</a> if you have any technical questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myoddweb.com/2009/11/25/the-hello-dolly-of-piger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
