Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Bill McCormick" To: Subject: Help installing Apache/PHP/MySQL Date: Sat, 5 Jul 2003 12:22:33 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20030705132608.GA25310@cygbert.vinschen.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 I've got the MySQL Win32 server up and running and recompiled the MySQL binaries under Cygwin and go a client to work. I need some getting Apache with the mod_php and mod_auth_mysql installed. The cygwin setup didn't appear to do it. Starting httpd I get the following: [Sat Jul 5 11:13:57 2003] [warn] Loaded DSO lib/apache/mod_auth_mysql.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it w ith -DEAPI) [Sat Jul 5 11:14:17 2003] [warn] Loaded DSO lib/apache/libphp4.dll uses plain A pache 1.3 API, this module might crash under EAPI! (please recompile it with -DE API) Syntax error on line 281 of /etc/apache/httpd.conf: Cannot add module via name 'mod_mysql_auth.c': not in list of loaded modules I'm not sure if this means I need to recompile Apache or the mods or both. Trying to recompile PHP I get to 'make install' and the output ends with ... /usr/src/php-4.2.0-2/build/shtool mkdir -p "/usr/lib/apache" && apxs -S LIBEXECD IR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so apxs:Error: file libs/libphp4.so is not a DSO make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/usr/src/php-4.2.0-2' make: *** [install-recursive] Error 1 There's also something confusing about what cygwin setup in my httpd.conf file .... LoadModule mysql_auth_module lib/apache/mod_auth_mysql.dll and then ... AddModule mod_mysql_auth.c but that is different than the "LoadModule" section and the name of the actual source and seems to correspond to the error message when Apache starts so I changed it to ... AddModule mod_auth_mysql.c and then when Apache starts ... $ apachectl start [Sat Jul 5 12:16:07 2003] [warn] Loaded DSO lib/apache/mod_auth_mysql.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it w ith -DEAPI) [Sat Jul 5 12:16:08 2003] [warn] Loaded DSO lib/apache/libphp4.dll uses plain A pache 1.3 API, this module might crash under EAPI! (please recompile it with -DE API) C:\cygwin\usr\sbin\httpd.exe: *** unable to remap C:\cygwin\bin\cygintl-1.dll to same address as parent(0x1860000) != 0x1870000 /usr/sbin/apachectl start: httpd could not be started Any help appreciated. Thanks. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003 -- 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/