This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help installing Apache/PHP/MySQL


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]