<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Developing WordPress Plugins on Windows using WAMP, Cygwin and Aptana Studio</title>
	<atom:link href="http://tinobox.com/wordpress/coding/developing-wordpress-plugins-on-windows-using-wamp-cygwin-and-aptana-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://tinobox.com/wordpress/coding/developing-wordpress-plugins-on-windows-using-wamp-cygwin-and-aptana-studio/</link>
	<description>Odds and ends of internet entrepreneurship—A Technical Diary</description>
	<lastBuildDate>Wed, 27 Jan 2010 00:26:29 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: How To Fix FTP Connection Error on Localhost WordPress &#124; Website In A Weekend</title>
		<link>http://tinobox.com/wordpress/coding/developing-wordpress-plugins-on-windows-using-wamp-cygwin-and-aptana-studio/comment-page-1/#comment-1442</link>
		<dc:creator>How To Fix FTP Connection Error on Localhost WordPress &#124; Website In A Weekend</dc:creator>
		<pubDate>Thu, 18 Jun 2009 15:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://tinobox.com/wordpress/?p=1577#comment-1442</guid>
		<description>[...] My handy instructions for 5 minute WordPress installation don&#8217;t work exactly the same when installing on locahost. I don&#8217;t have cPanel installed locally, so I had to create the MySQL database and database user manually using a cygwin shell window. [...]</description>
		<content:encoded><![CDATA[<p>[...] My handy instructions for 5 minute WordPress installation don&#8217;t work exactly the same when installing on locahost. I don&#8217;t have cPanel installed locally, so I had to create the MySQL database and database user manually using a cygwin shell window. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Doolin</title>
		<link>http://tinobox.com/wordpress/coding/developing-wordpress-plugins-on-windows-using-wamp-cygwin-and-aptana-studio/comment-page-1/#comment-1121</link>
		<dc:creator>Dave Doolin</dc:creator>
		<pubDate>Fri, 29 May 2009 17:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://tinobox.com/wordpress/?p=1577#comment-1121</guid>
		<description>There is no way I can help you debugging a localost installation specifically.  You are going to need to work out which pieces are working, and which aren&#039;t, then describe the issue in specific detail.

See Sean&#039;s comments above for an example.

Successfully operating your own server *requires* understanding a fair bit of how it works, it&#039;s very difficult to &quot;fake it.&quot;

Here&#039;s how to start: 
* Make sure MySQL is working.  Use the command line or a GUI program, doesn&#039;t matter which.  There&#039;s lots of resources on the web for this.
* Make sure Apache is working.  
* Make sure PHP is working.  Again, lot&#039;s of resources on the web for this.
* Make sure you have WordPress installed correctly.  If you haven&#039;t ever installed WordPress before, you might want to try that on real host.

THERE IS NO SHORTCUT!  You have to actually learn it.

I spent 5 hours yesterday working on debugging a path issue in a single function call.   Today, I&#039;ll be looking through the WordPress source to see it actually works in detail.    You may need to spend the better part of week or two drilling into your setup.</description>
		<content:encoded><![CDATA[<p>There is no way I can help you debugging a localost installation specifically.  You are going to need to work out which pieces are working, and which aren&#8217;t, then describe the issue in specific detail.</p>
<p>See Sean&#8217;s comments above for an example.</p>
<p>Successfully operating your own server *requires* understanding a fair bit of how it works, it&#8217;s very difficult to &#8220;fake it.&#8221;</p>
<p>Here&#8217;s how to start:<br />
* Make sure MySQL is working.  Use the command line or a GUI program, doesn&#8217;t matter which.  There&#8217;s lots of resources on the web for this.<br />
* Make sure Apache is working.<br />
* Make sure PHP is working.  Again, lot&#8217;s of resources on the web for this.<br />
* Make sure you have WordPress installed correctly.  If you haven&#8217;t ever installed WordPress before, you might want to try that on real host.</p>
<p>THERE IS NO SHORTCUT!  You have to actually learn it.</p>
<p>I spent 5 hours yesterday working on debugging a path issue in a single function call.   Today, I&#8217;ll be looking through the WordPress source to see it actually works in detail.    You may need to spend the better part of week or two drilling into your setup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay</title>
		<link>http://tinobox.com/wordpress/coding/developing-wordpress-plugins-on-windows-using-wamp-cygwin-and-aptana-studio/comment-page-1/#comment-1119</link>
		<dc:creator>vijay</dc:creator>
		<pubDate>Fri, 29 May 2009 17:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://tinobox.com/wordpress/?p=1577#comment-1119</guid>
		<description>I have some proble with wordpress.
Pl help me.
I have completed installation.But wordpress themes does not open my localserver.
i installed php mysql appache manual  process.
thx in advance.
my doubt:
is there any setting need in my localserver?</description>
		<content:encoded><![CDATA[<p>I have some proble with wordpress.<br />
Pl help me.<br />
I have completed installation.But wordpress themes does not open my localserver.<br />
i installed php mysql appache manual  process.<br />
thx in advance.<br />
my doubt:<br />
is there any setting need in my localserver?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://tinobox.com/wordpress/coding/developing-wordpress-plugins-on-windows-using-wamp-cygwin-and-aptana-studio/comment-page-1/#comment-860</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Mon, 11 May 2009 04:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://tinobox.com/wordpress/?p=1577#comment-860</guid>
		<description>I added index.php as you suggested to the httpd.conf file, and it worked like a charm!

I edited the file, rebooted so Apache would start with the edited configuration file, pointed my browser to my local wordpress installation, and presto!

I&#039;ve got Wordpress running on one of my machines now.

Very nice.</description>
		<content:encoded><![CDATA[<p>I added index.php as you suggested to the httpd.conf file, and it worked like a charm!</p>
<p>I edited the file, rebooted so Apache would start with the edited configuration file, pointed my browser to my local wordpress installation, and presto!</p>
<p>I&#8217;ve got Wordpress running on one of my machines now.</p>
<p>Very nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Doolin</title>
		<link>http://tinobox.com/wordpress/coding/developing-wordpress-plugins-on-windows-using-wamp-cygwin-and-aptana-studio/comment-page-1/#comment-857</link>
		<dc:creator>Dave Doolin</dc:creator>
		<pubDate>Mon, 11 May 2009 01:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://tinobox.com/wordpress/?p=1577#comment-857</guid>
		<description>Hi Sean, 

I&#039;ve done this so many times... I now usually get it right but I never remember exactly what I did.  Let&#039;s take a look...



&lt;blockquote&gt;I’m still having some trouble getting everything up and running.

All in all. it took me 2 or 3 rounds of installing and uninstalling to get everything working.
&lt;/blockquote&gt;

This doesn&#039;t surprise me.   Everyone&#039;s environment is just a little bit different, and these little differences are often invisible to the end user.  For example, I just helped someone set this up a couple of days ago...  and we thrashed for 45 minutes until we ended up rebooting his machine... whence everything Just Worked after that.   On my last install, I didn&#039;t have to reboot.  Go figure.

The first major problem I had was that Apache was not loading correctly and PHP was not loading at all. I found that in the httpd.conf file for Apache, the directory to find PHP in was being defined 3 times. It looked like this:



&lt;blockquote&gt;#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
ScriptAlias /php/ “C:/Program Files/PHP/”
Action application/x-httpd-php “C:/Program Files/PHP/php-cgi.exe”
PHPIniDir “C:/Program Files/PHP/”
LoadModule php5_module “C:/Program Files/PHP/php5apache2_2.dll”
PHPIniDir “C:/Program Files/PHP/”
LoadModule php5_module “C:/Program Files/PHP/php5apache2.dll”
PHPIniDir “C:/Program Files/PHP/”
LoadModule php5_module “C:/Program Files/PHP/php5apache.dll”
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
&lt;/blockquote&gt;

This looks like you installed PHP several (3?) times, without removing the directives from httpd.conf after each removal.  



&lt;blockquote&gt;I put a hash in front of the second and third instance of:
PHPIniDir “C:/Program Files/PHP/”
to comment them out. Apache and PHP loaded after that.
&lt;/blockquote&gt;

Which &lt;em&gt;may&lt;/em&gt; be why it loaded.   Sometimes, you can do something like that, and for whatever reason, it decides to fire up anyway for some other reason.



&lt;blockquote&gt;The second problem I ran into was that PHP was not loading the mysql library. Because of this, my local Wordpress installation was failing to initialize. I solved this by following the instructions here:
http://us2.php.net/manual/en/faq.installation.php#faq.installation.addtopath
&lt;/blockquote&gt;

We had the same problem.  Two possible solutions come to mind:

	Install MySQL before PHP, making sure you get the MySQL &quot;Add to Windows&quot; path option checked.  This is what I did and everything worked out of the box.

	Install PHP first, then reboot your pc after installing MySQL.  This is what Travis did Friday night.




&lt;blockquote&gt;
I now have Wordpress installed in a directory …/htdocs/wordpress/test/. When I browse to …//localhost:8080/wordpress/test/, index.php does not load, and instead I see a listing of the contents of that directory. When I click on index.php in that list, nothing happens.

I am able to launch and run the Wordpress backend by browsing to …//localhost:8080/wordpress/test/wp-admin/index.php, but I have to click on the index.php file in the list in that directory to get it going.

So, the backend runs, but the front end does not. Further, when I browse to a directory, index.php is not automatically run. If I put a file in those directories called index.html, those will run.
&lt;/blockquote&gt;

Try the following.  On or about line 239, add &quot;index.php&quot; to the DirectoryIndex module:

&lt;pre lang=&quot;apache&quot; line=&quot;235&quot; escaped=&quot;true&quot;&gt;
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
&lt;ifmodule dir_module&gt;
    DirectoryIndex index.html index.php
&lt;/ifmodule&gt;&lt;ifmodule&gt;
&lt;/ifmodule&gt;&lt;/pre&gt;

If that works, I&#039;ll add it into the article.

You&#039;re very, very close.</description>
		<content:encoded><![CDATA[<p>Hi Sean, </p>
<p>I&#8217;ve done this so many times&#8230; I now usually get it right but I never remember exactly what I did.  Let&#8217;s take a look&#8230;</p>
<blockquote><p>I’m still having some trouble getting everything up and running.</p>
<p>All in all. it took me 2 or 3 rounds of installing and uninstalling to get everything working.
</p></blockquote>
<p>This doesn&#8217;t surprise me.   Everyone&#8217;s environment is just a little bit different, and these little differences are often invisible to the end user.  For example, I just helped someone set this up a couple of days ago&#8230;  and we thrashed for 45 minutes until we ended up rebooting his machine&#8230; whence everything Just Worked after that.   On my last install, I didn&#8217;t have to reboot.  Go figure.</p>
<p>The first major problem I had was that Apache was not loading correctly and PHP was not loading at all. I found that in the httpd.conf file for Apache, the directory to find PHP in was being defined 3 times. It looked like this:</p>
<blockquote><p>#BEGIN PHP INSTALLER EDITS &#8211; REMOVE ONLY ON UNINSTALL<br />
ScriptAlias /php/ “C:/Program Files/PHP/”<br />
Action application/x-httpd-php “C:/Program Files/PHP/php-cgi.exe”<br />
PHPIniDir “C:/Program Files/PHP/”<br />
LoadModule php5_module “C:/Program Files/PHP/php5apache2_2.dll”<br />
PHPIniDir “C:/Program Files/PHP/”<br />
LoadModule php5_module “C:/Program Files/PHP/php5apache2.dll”<br />
PHPIniDir “C:/Program Files/PHP/”<br />
LoadModule php5_module “C:/Program Files/PHP/php5apache.dll”<br />
#END PHP INSTALLER EDITS &#8211; REMOVE ONLY ON UNINSTALL
</p></blockquote>
<p>This looks like you installed PHP several (3?) times, without removing the directives from httpd.conf after each removal.  </p>
<blockquote><p>I put a hash in front of the second and third instance of:<br />
PHPIniDir “C:/Program Files/PHP/”<br />
to comment them out. Apache and PHP loaded after that.
</p></blockquote>
<p>Which <em>may</em> be why it loaded.   Sometimes, you can do something like that, and for whatever reason, it decides to fire up anyway for some other reason.</p>
<blockquote><p>The second problem I ran into was that PHP was not loading the mysql library. Because of this, my local Wordpress installation was failing to initialize. I solved this by following the instructions here:<br />
<a href="http://us2.php.net/manual/en/faq.installation.php#faq.installation.addtopath" rel="nofollow">http://us2.php.net/manual/en/faq.installation.php#faq.installation.addtopath</a>
</p></blockquote>
<p>We had the same problem.  Two possible solutions come to mind:</p>
<p>	Install MySQL before PHP, making sure you get the MySQL &#8220;Add to Windows&#8221; path option checked.  This is what I did and everything worked out of the box.</p>
<p>	Install PHP first, then reboot your pc after installing MySQL.  This is what Travis did Friday night.</p>
<blockquote><p>
I now have Wordpress installed in a directory …/htdocs/wordpress/test/. When I browse to …//localhost:8080/wordpress/test/, index.php does not load, and instead I see a listing of the contents of that directory. When I click on index.php in that list, nothing happens.</p>
<p>I am able to launch and run the Wordpress backend by browsing to …//localhost:8080/wordpress/test/wp-admin/index.php, but I have to click on the index.php file in the list in that directory to get it going.</p>
<p>So, the backend runs, but the front end does not. Further, when I browse to a directory, index.php is not automatically run. If I put a file in those directories called index.html, those will run.
</p></blockquote>
<p>Try the following.  On or about line 239, add &#8220;index.php&#8221; to the DirectoryIndex module:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>235
236
237
238
239
240
241
</pre></td><td class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;"># DirectoryIndex: sets the file that Apache will serve if a directory</span>
<span style="color: #adadad; font-style: italic;"># is requested.</span>
<span style="color: #adadad; font-style: italic;">#</span>
&lt;<span style="color: #000000; font-weight:bold;">ifmodule</span> dir_module&gt;
    <span style="color: #00007f;">DirectoryIndex</span> index.html index.php
&lt;/<span style="color: #000000; font-weight:bold;">ifmodule</span>&gt;&lt;<span style="color: #000000; font-weight:bold;">ifmodule</span>&gt;
&lt;/<span style="color: #000000; font-weight:bold;">ifmodule</span>&gt;</pre></td></tr></table></div>

<p>If that works, I&#8217;ll add it into the article.</p>
<p>You&#8217;re very, very close.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://tinobox.com/wordpress/coding/developing-wordpress-plugins-on-windows-using-wamp-cygwin-and-aptana-studio/comment-page-1/#comment-856</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Mon, 11 May 2009 01:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://tinobox.com/wordpress/?p=1577#comment-856</guid>
		<description>I&#039;m still having some trouble getting everything up and running.

All in all. it took me 2 or 3 rounds of installing and uninstalling to get everything working.

The first major problem I had was that Apache was not loading correctly and PHP was not loading at all.  I found that in the httpd.conf file for Apache, the directory to find PHP in was being defined 3 times.  It looked like this:

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
ScriptAlias /php/ &quot;C:/Program Files/PHP/&quot;
Action application/x-httpd-php &quot;C:/Program Files/PHP/php-cgi.exe&quot;
PHPIniDir &quot;C:/Program Files/PHP/&quot;
LoadModule php5_module &quot;C:/Program Files/PHP/php5apache2_2.dll&quot;
PHPIniDir &quot;C:/Program Files/PHP/&quot;
LoadModule php5_module &quot;C:/Program Files/PHP/php5apache2.dll&quot;
PHPIniDir &quot;C:/Program Files/PHP/&quot;
LoadModule php5_module &quot;C:/Program Files/PHP/php5apache.dll&quot;
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

I put a hash in front of the second and third instance of:
PHPIniDir &quot;C:/Program Files/PHP/&quot;
to comment them out.  Apache and PHP loaded after that.

The second problem I ran into was that PHP was not loading the mysql library.  Because of this, my local Wordpress installation was failing to initialize.  I solved this by following the instructions here:
http://us2.php.net/manual/en/faq.installation.php#faq.installation.addtopath

I now have Wordpress installed in a directory .../htdocs/wordpress/test/.  When I browse to ...//localhost:8080/wordpress/test/, index.php does not load, and instead I see a listing of the contents of that directory.  When I click on index.php in that list, nothing happens.

I am able to launch and run the Wordpress backend by browsing to ...//localhost:8080/wordpress/test/wp-admin/index.php, but I have to click on the index.php file in the list in that directory to get it going.

So, the backend runs, but the front end does not.  Further, when I browse to a directory, index.php is not automatically run.  If I put a file in those directories called index.html, those will run.</description>
		<content:encoded><![CDATA[<p>I&#8217;m still having some trouble getting everything up and running.</p>
<p>All in all. it took me 2 or 3 rounds of installing and uninstalling to get everything working.</p>
<p>The first major problem I had was that Apache was not loading correctly and PHP was not loading at all.  I found that in the httpd.conf file for Apache, the directory to find PHP in was being defined 3 times.  It looked like this:</p>
<p>#BEGIN PHP INSTALLER EDITS &#8211; REMOVE ONLY ON UNINSTALL<br />
ScriptAlias /php/ &#8220;C:/Program Files/PHP/&#8221;<br />
Action application/x-httpd-php &#8220;C:/Program Files/PHP/php-cgi.exe&#8221;<br />
PHPIniDir &#8220;C:/Program Files/PHP/&#8221;<br />
LoadModule php5_module &#8220;C:/Program Files/PHP/php5apache2_2.dll&#8221;<br />
PHPIniDir &#8220;C:/Program Files/PHP/&#8221;<br />
LoadModule php5_module &#8220;C:/Program Files/PHP/php5apache2.dll&#8221;<br />
PHPIniDir &#8220;C:/Program Files/PHP/&#8221;<br />
LoadModule php5_module &#8220;C:/Program Files/PHP/php5apache.dll&#8221;<br />
#END PHP INSTALLER EDITS &#8211; REMOVE ONLY ON UNINSTALL</p>
<p>I put a hash in front of the second and third instance of:<br />
PHPIniDir &#8220;C:/Program Files/PHP/&#8221;<br />
to comment them out.  Apache and PHP loaded after that.</p>
<p>The second problem I ran into was that PHP was not loading the mysql library.  Because of this, my local Wordpress installation was failing to initialize.  I solved this by following the instructions here:<br />
<a href="http://us2.php.net/manual/en/faq.installation.php#faq.installation.addtopath" rel="nofollow">http://us2.php.net/manual/en/faq.installation.php#faq.installation.addtopath</a></p>
<p>I now have Wordpress installed in a directory &#8230;/htdocs/wordpress/test/.  When I browse to &#8230;//localhost:8080/wordpress/test/, index.php does not load, and instead I see a listing of the contents of that directory.  When I click on index.php in that list, nothing happens.</p>
<p>I am able to launch and run the Wordpress backend by browsing to &#8230;//localhost:8080/wordpress/test/wp-admin/index.php, but I have to click on the index.php file in the list in that directory to get it going.</p>
<p>So, the backend runs, but the front end does not.  Further, when I browse to a directory, index.php is not automatically run.  If I put a file in those directories called index.html, those will run.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
