<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: PHP Apache and Cygwin</title>
	<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/</link>
	<description>computers, sex, computers, money, computers</description>
	<pubDate>Thu, 24 Jul 2008 03:29:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: andy</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-5780</link>
		<pubDate>Tue, 03 Jun 2008 23:03:31 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-5780</guid>
					<description>I had the same experience as Brett Graham above.  I now have a mod_php-enabled apache installation on Cygwin.  Thanks for the advice!  It was *very* helpful.</description>
		<content:encoded><![CDATA[<p>I had the same experience as Brett Graham above.  I now have a mod_php-enabled apache installation on Cygwin.  Thanks for the advice!  It was *very* helpful.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Terence</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-5594</link>
		<pubDate>Thu, 17 Apr 2008 15:30:46 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-5594</guid>
					<description>Thanks. Got it working for me but had to keep running the cygwin installer to get required libs.

I did change a few things on step 6:
* I ran the process and was getting a syntax error in the httpd.conf file. It wasn't picking up the lipho4.dll file so I used libhttpd.dll instead of cyghttpd.dll
AND 
* I also made sure that I ran the full command.

Works well. I may try it with PHP 5 later.</description>
		<content:encoded><![CDATA[<p>Thanks. Got it working for me but had to keep running the cygwin installer to get required libs.</p>
<p>I did change a few things on step 6:<br />
* I ran the process and was getting a syntax error in the httpd.conf file. It wasn&#8217;t picking up the lipho4.dll file so I used libhttpd.dll instead of cyghttpd.dll<br />
AND<br />
* I also made sure that I ran the full command.</p>
<p>Works well. I may try it with PHP 5 later.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: nelson</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-3668</link>
		<pubDate>Sat, 29 Sep 2007 20:05:03 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-3668</guid>
					<description>now how do you add MySQL server to this equasion?</description>
		<content:encoded><![CDATA[<p>now how do you add MySQL server to this equasion?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: System</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-2220</link>
		<pubDate>Mon, 16 Jul 2007 20:37:44 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-2220</guid>
					<description>^ if you're using apache2 (which you should with php5) and it's the cygwin package of apache2, the dso modules are in /usr/lib/apache2 

you can check the directory prefix that apache2 is using by greping the server root:
`grep -i serverroot /etc/apache2/httpd.conf`</description>
		<content:encoded><![CDATA[<p>^ if you&#8217;re using apache2 (which you should with php5) and it&#8217;s the cygwin package of apache2, the dso modules are in /usr/lib/apache2 </p>
<p>you can check the directory prefix that apache2 is using by greping the server root:<br />
`grep -i serverroot /etc/apache2/httpd.conf`
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: bob</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-1706</link>
		<pubDate>Wed, 30 May 2007 19:36:36 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-1706</guid>
					<description>I failed at Step 10: Check the contents of httpd.conf:

Syntax error on line 239 of /etc/apache/httpd.conf:
Can't locate API module structure `php5_module' in file /usr/lib/apache/libphp5.dll: No such file or directory

This is what I have in httpd.conf 
LoadModule php5_module        lib/apache/libphp5.dll

The file is in fact located in C:\cygwin\lib\apache

Can anyone help.</description>
		<content:encoded><![CDATA[<p>I failed at Step 10: Check the contents of httpd.conf:</p>
<p>Syntax error on line 239 of /etc/apache/httpd.conf:<br />
Can&#8217;t locate API module structure `php5_module&#8217; in file /usr/lib/apache/libphp5.dll: No such file or directory</p>
<p>This is what I have in httpd.conf<br />
LoadModule php5_module        lib/apache/libphp5.dll</p>
<p>The file is in fact located in C:\cygwin\lib\apache</p>
<p>Can anyone help.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Kutschenreuter</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-420</link>
		<pubDate>Sun, 12 Nov 2006 20:07:41 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-420</guid>
					<description>Much thanks to the author of this installation description. If I would not have found this description, I would not have been able to run PHP under cygwin. But now it is running.

I only want to add that if you want to use graphical functions like imagesetpixel or imageline in your php script you have add 
--with-zlib --with-gd to the command line in the run configure step.</description>
		<content:encoded><![CDATA[<p>Much thanks to the author of this installation description. If I would not have found this description, I would not have been able to run PHP under cygwin. But now it is running.</p>
<p>I only want to add that if you want to use graphical functions like imagesetpixel or imageline in your php script you have add<br />
&#8211;with-zlib &#8211;with-gd to the command line in the run configure step.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jason</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-69</link>
		<pubDate>Thu, 24 Aug 2006 01:07:47 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-69</guid>
					<description>Thank you!!! I've gone through at least 3 days of trying anything i could think of or find. This works great.</description>
		<content:encoded><![CDATA[<p>Thank you!!! I&#8217;ve gone through at least 3 days of trying anything i could think of or find. This works great.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: thanh</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-56</link>
		<pubDate>Mon, 07 Aug 2006 12:19:02 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-56</guid>
					<description>Unsuccesful
make install ok

but:
$ /usr/sbin/apachectl configtest
Syntax error on line 239 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/libphp4.dll into server: Bad address

help me

$ cygcheck.exe -cd cygwin apache crypt libgdbm4
Cygwin Package Information
Package              Version
apache               1.3.33-2
crypt                1.1-1
cygwin               1.5.21-2
libgdbm4             1.8.3-7</description>
		<content:encoded><![CDATA[<p>Unsuccesful<br />
make install ok</p>
<p>but:<br />
$ /usr/sbin/apachectl configtest<br />
Syntax error on line 239 of /etc/apache/httpd.conf:<br />
Cannot load /usr/lib/apache/libphp4.dll into server: Bad address</p>
<p>help me</p>
<p>$ cygcheck.exe -cd cygwin apache crypt libgdbm4<br />
Cygwin Package Information<br />
Package              Version<br />
apache               1.3.33-2<br />
crypt                1.1-1<br />
cygwin               1.5.21-2<br />
libgdbm4             1.8.3-7
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Brett Graham</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-55</link>
		<pubDate>Mon, 07 Aug 2006 10:11:46 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-55</guid>
					<description>I failed at step 6 becuase I didn't have /bin/cyghttpd.dll.

I tried re-building apache 1.3 but it would only generate libhttpd.dll.

I tried searing on the internet, and everything seemed to suggest that it was the same as cyghttpd.dll, so I replaced it in the gcc line (I didn't rename the file!) and it worked fine!

It would be nice if one of us could come up with a list of dependancies, as the one above is too short.  I found myself repeatedly running the cygwin setup to get different bits and bobs, as and when things failed.  If I'd known how many there'd be when I started out, I would made notes, and pasted them here.  Oh, well.</description>
		<content:encoded><![CDATA[<p>I failed at step 6 becuase I didn&#8217;t have /bin/cyghttpd.dll.</p>
<p>I tried re-building apache 1.3 but it would only generate libhttpd.dll.</p>
<p>I tried searing on the internet, and everything seemed to suggest that it was the same as cyghttpd.dll, so I replaced it in the gcc line (I didn&#8217;t rename the file!) and it worked fine!</p>
<p>It would be nice if one of us could come up with a list of dependancies, as the one above is too short.  I found myself repeatedly running the cygwin setup to get different bits and bobs, as and when things failed.  If I&#8217;d known how many there&#8217;d be when I started out, I would made notes, and pasted them here.  Oh, well.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: mo</title>
		<link>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-34</link>
		<pubDate>Mon, 19 Jun 2006 07:52:49 +0000</pubDate>
		<guid>http://www.chuonthis.com/tips/2005/05/31/php-apache-and-cygwin/#comment-34</guid>
					<description>I could not complete the compilation of PHP5 with apache2 on Cygwin though I tried to do step by step as decribed in this page like php4 with apache 1.3. How do I do ....</description>
		<content:encoded><![CDATA[<p>I could not complete the compilation of PHP5 with apache2 on Cygwin though I tried to do step by step as decribed in this page like php4 with apache 1.3. How do I do &#8230;.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
