How to build PHP 4.3.8 for latest cygwin and apache 1.3

2004-10-09 Thread Andrew
After lots of headbanging and trying to follow Brian Dessent's
progress with packaging php for apache, I'd almost given up until I
found this gem of a thread on how to build php, as a module, for
apache 1.3 on Cygwin, just like in the good old days. 

I'm sure Brian will do a great job when the package is released
properly, but I noticed there were quite a few people who could wait
(like me), so here's how to fudge it. The author writes in Japanese,
but you can hardly fail to follow his painstakingly clear
instructions.

http://discypus.jp/pukiwiki/pukiwiki.php?cmd=read&page=Cygwin%2Fapache%2Fphp

Some extra notes:
- I needed Postgresql support also, and just had to add
"--with-pgsql" to the configure phase and a "-lpq" to the
libphp4.all.a library creation phase. 
- Not guaranteed to work with any other options

If the author of that page is reading, I thank you from the bottom of
my heart. *SALUTE*

Andrew




___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin and Apache?

2004-03-19 Thread George Hester
I can't believe it.  I got some foreign Apache server.  It's in Russian and Chinese.  
Can anyone tell me how to get this crappy Apache Server out of here and direct me to 
an English version?  Thanks.

-- 
George Hester
__
"Andrew DeFaria" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> George Hester wrote:
> 
> >I installed the Apache module in Cygwin.  All seemed to go fine there.  I have used 
> >mostly IIS in Windows 2000 but lately started experimenting with Tomcat.  Anyway I 
> >thought I would try Apache in Cygwin.  After the installation I wasn't sure what to 
> >do next other then search the Web on "Cygwin Apache."  Which is what I did and 
> >found this:
> >
> >http://www.phpfreaks.com/apache_manual/page/cygwin.html#inst
> >
> >Well I figured Cygwin would install Apache such that with little or no 
> >re-configuration on my part it would work.  So I just started Cygwin in the bash 
> >shell (the default way Cygwin is installed) and typed "httpd" w/o the quotes.  The 
> >result was that the command httpd was unrecognized.  So I went to the directory 
> >structure of Cygwin and found that httpd.exe is NOT in C:\cygwin\usr\local\bin but 
> >in C:\cygwin\usr\sbin.
> >
> >What have I done wrong?
> >
> >  
> >
> You didn't type /usr/sbin/httpd! :-)
> 
> But seriously, after you get to that point and have configured your web 
> server to run you probably want it to run all the time, even when you 
> are not logged in. Then you need to add Apache as a service:
> 
> $ cygrunsrv -I apache -p /usr/sbin/httpd -d "Apache for Cygwin" -f 
> "Apache Web Server running under Cygwin" -a -F
> 
> The -a -F part tells Apache to do the right thing WRT running as a 
> service. Then start it with
> 
> $ net start apache
> 
> Oh and you probably should first add C:\Cygwin\Bin to your Windows 
> system environment variable PATH (I stick it in the front) and reboot 
> your system before doing the net start.
> 
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin and Apache?

2004-03-19 Thread George Hester
Thank you Andew.  I can't run it as service yet for IIS has control of port 80 at the 
moment.  But when I'm ready to have it (Apache) listening on a different port then 
I'll be ready thanks to your directions.


George Hester
__
"Andrew DeFaria" <> wrote in message news:[EMAIL PROTECTED]
> George Hester wrote:
> 
> >I installed the Apache module in Cygwin.  All seemed to go fine there.  I have used 
> >mostly IIS in Windows 2000 but lately started experimenting with Tomcat.  Anyway I 
> >thought I would try Apache in Cygwin.  After the installation I wasn't sure what to 
> >do next other then search the Web on "Cygwin Apache."  Which is what I did and 
> >found this:
> >
> >http://www.phpfreaks.com/apache_manual/page/cygwin.html#inst
> >
> >Well I figured Cygwin would install Apache such that with little or no 
> >re-configuration on my part it would work.  So I just started Cygwin in the bash 
> >shell (the default way Cygwin is installed) and typed "httpd" w/o the quotes.  The 
> >result was that the command httpd was unrecognized.  So I went to the directory 
> >structure of Cygwin and found that httpd.exe is NOT in C:\cygwin\usr\local\bin but 
> >in C:\cygwin\usr\sbin.
> >
> >What have I done wrong?
> >
> >  
> >
> You didn't type /usr/sbin/httpd! :-)
> 
> But seriously, after you get to that point and have configured your web 
> server to run you probably want it to run all the time, even when you 
> are not logged in. Then you need to add Apache as a service:
> 
> $ cygrunsrv -I apache -p /usr/sbin/httpd -d "Apache for Cygwin" -f 
> "Apache Web Server running under Cygwin" -a -F
> 
> The -a -F part tells Apache to do the right thing WRT running as a 
> service. Then start it with
> 
> $ net start apache
> 
> Oh and you probably should first add C:\Cygwin\Bin to your Windows 
> system environment variable PATH (I stick it in the front) and reboot 
> your system before doing the net start.
> 
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin and Apache?

2004-03-18 Thread Andrew DeFaria
George Hester wrote:

I installed the Apache module in Cygwin.  All seemed to go fine there.  I have used mostly IIS in Windows 2000 but lately started experimenting with Tomcat.  Anyway I thought I would try Apache in Cygwin.  After the installation I wasn't sure what to do next other then search the Web on "Cygwin Apache."  Which is what I did and found this:

http://www.phpfreaks.com/apache_manual/page/cygwin.html#inst

Well I figured Cygwin would install Apache such that with little or no re-configuration on my part it would work.  So I just started Cygwin in the bash shell (the default way Cygwin is installed) and typed "httpd" w/o the quotes.  The result was that the command httpd was unrecognized.  So I went to the directory structure of Cygwin and found that httpd.exe is NOT in C:\cygwin\usr\local\bin but in C:\cygwin\usr\sbin.

What have I done wrong?

 

You didn't type /usr/sbin/httpd! :-)

But seriously, after you get to that point and have configured your web 
server to run you probably want it to run all the time, even when you 
are not logged in. Then you need to add Apache as a service:

$ cygrunsrv -I apache -p /usr/sbin/httpd -d "Apache for Cygwin" -f 
"Apache Web Server running under Cygwin" -a -F

The -a -F part tells Apache to do the right thing WRT running as a 
service. Then start it with

$ net start apache

Oh and you probably should first add C:\Cygwin\Bin to your Windows 
system environment variable PATH (I stick it in the front) and reboot 
your system before doing the net start.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Cygwin and Apache?

2004-03-14 Thread George Hester
I installed the Apache module in Cygwin.  All seemed to go fine there.  I have used 
mostly IIS in Windows 2000 but lately started experimenting with Tomcat.  Anyway I 
thought I would try Apache in Cygwin.  After the installation I wasn't sure what to do 
next other then search the Web on "Cygwin Apache."  Which is what I did and found this:

http://www.phpfreaks.com/apache_manual/page/cygwin.html#inst

Well I figured Cygwin would install Apache such that with little or no 
re-configuration on my part it would work.  So I just started Cygwin in the bash shell 
(the default way Cygwin is installed) and typed "httpd" w/o the quotes.  The result 
was that the command httpd was unrecognized.  So I went to the directory structure of 
Cygwin and found that httpd.exe is NOT in C:\cygwin\usr\local\bin but in 
C:\cygwin\usr\sbin.

What have I done wrong?

-- 
George Hester
__


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/