Thanks for the reply.

@Yaakov: In terms of the following...

* "I recommend using a Win32 server with a Cygwin client; I use this
configuration on a daily basis."
* "It shouldn't be all that different from getting LAMP working, except that
you may use a Win32 server (as a "network" 127.0.0.1 server) rather than a
local server with ~ mysql.sock."

I was able to get Apache2 and PHP working after a couple of re-installs. Are
you just referring to the binary install of MySQL5 (
http://dev.mysql.com/doc/refman/5.0/en/windows-install-wizard.html)?

TIA
Sherwin


PS. Just in case someone else new to this needs to know how to get Apache2
and PHP working, here are some tidbits (feel free to optimize):

* After getting the packages, and do a rebaseall (quit any cygwin proggies,
open up cmd prompt start->run->cmd, run to "c:\cygwin\bin\ash.exe", cd
"/usr/bin", run "rebaseall")
* Add/start cygserver as a service if it isn't already. Open bash/cygwin
prompt (as Admin if any in Vista). Do the following:

$ cygrunsrv -I cygserver
$ net start cygserver

* Open/edit the file "/etc/apache2/httpd.conf", and add line "LoadModule
php5_module lib/apache2/cygphp5.so". I also added "ServerName
XXX.XXX.XXX.XXX" (my IP address) to get rid of an error message when loading
up Apache.
* (Optional) Open/edit hosts file. Add IP address and your machine's name.
* Start Apache2. I added these to my .profile/.bash_profile files:

alias apachectl='/usr/sbin/apachectl2'
alias apachestart='apachectl start'
alias apachestop='apachectl stop'
alias apacherestart='apachectl restart'

HTH




On Mon, Jun 16, 2008 at 9:17 AM, Yaakov (Cygwin Ports) <
[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Sherwin Techico wrote:
> | Hello,
> |
> | First of all, thanks for your time and hard work on this project; it
> | makes things easier to get something up, ready and fast on
> | Windows-machines. Meanwhile, I was able to get Apache and PHP to run
> | okay. In terms of MySQL, I'm not too sure of.
>
> I can't speak for the usability of the Cygwin MySQL server; there have
> been varied reports.  I recommend using a Win32 server with a Cygwin
> client; I use this configuration on a daily basis.
>
> | PS. It would be nice if there is a writeup/tutorial/walkthrough on
> | getting CAMP to work on Windows for search engine results.
> | PPS. I'm on Vista Ultra x64 if that makes a difference. Running
> | Cygwin(.bat) as XP SP2 compatible.
>
> There have been previous discussions about CAMP on this list.  You'll
> need to install apache2, apache2-mod_php5, php-mysql (and whichever
> other extensions your scripts may require), adjust your httpd.conf
> accordingly, and possibly run rebaseall.  It shouldn't be all that
> different from getting LAMP working, except that you may use a Win32
> server (as a "network" 127.0.0.1 server) rather than a local server with
> ~ mysql.sock.
>
>
> Yaakov
> Cygwin Ports
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Cygwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEAREIAAYFAkhWki4ACgkQpiWmPGlmQSMqCwCgs4Z51zVkroctgHEk/OUcppCP
> lG8AoPd0iI15cQ0OLk5WZcyPd1FtNfMp
> =mUZc
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Cygwin-ports-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to