problem with apache
hi, cygwin-apps i have the apache-1.3.24-5 under cygwin-1.3.12-3 and one big trouble with it. if i try download big static file from my web server (bigger than 32768 bytes), then data in downloaded file after byte 0x8000 replaced by trash. but script output with any size are downloaded normally. whats wrong? how i can fix it? please help! -- raVen, http://raven.elk.ru/, icq#550428
cannot run apache with mod_php4
hi, cygwin when i'l trying start apache with mod_php4 they wan't work and write to log this: [Sun Oct 13 23:40:56 2002] [notice] Apache/1.3.24 (Cygwin) PHP/4.2.0 configured -- resuming normal operations [Sun Oct 13 23:40:56 2002] [notice] Accept mutex: pthread (Default: pthread) D:\work\cygwin\usr\sbin\httpd.exe: *** unable to remap D:\work\cygwin\bin\cygintl-1.dll to same address as parent -- 0xB6 8 [main] httpd 2248 sync_with_child: child 1920(0x6AC) died before initialization with status code 0x1 31521 [main] httpd 2248 sync_with_child: *** child state child loading dlls [Sun Oct 13 23:40:57 2002] [error] (11)Resource temporarily unavailable: fork: Unable to fork new process my httpd.conf in attach. if i try remove lines LoadModule php4_modulelib/apache/libphp4.dll AddModule mod_php4.c from my httpd.conf it works funny, but without php4 :( why they doesn't work? what i must make for working with php4 under cygwin? please help me. -- raVen, http://raven.elk.ru/, icq#550428 ... knowledge brings fear system uptime: 0d 7h 42m 52s 985ms httpd.conf Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re[2]: cannot run apache with mod_php4
hi, Elfyn Ive checked the list and it seems that your problem is in your dll's. This problem can (hopefully) be fixed by rebasing. Although this is *should* work, it is an entirely experimental phase and could muff them up completely... shell cd /tmp shell wget http://www.tishler.net/jason/software/rebase/rebase.exe shell rebase -d -b 0x6800 -o 0x1 /lib/apache/*.dll i has rebased my dlls by your program, and it also doesn't work, but with other library staticaly imported by libphp4.dll: [Mon Oct 14 09:44:28 2002] [notice] Apache/1.3.24 (Cygwin) PHP/4.2.0 configured -- resuming normal operations [Mon Oct 14 09:44:28 2002] [notice] Accept mutex: pthread (Default: pthread) D:\work\cygwin\usr\sbin\httpd.exe: *** unable to remap D:\work\cygwin\bin\cygcrypto.dll to same address as parent -- 0x6D 353 [main] httpd 2900 sync_with_child: child 2928(0x640) died before initialization with status code 0x1 32941 [main] httpd 2900 sync_with_child: *** child state child loading dlls [Mon Oct 14 09:44:29 2002] [error] (11)Resource temporarily unavailable: fork: Unable to fork new process please, help me again. all of my cygwin dll libraries has been installed from last distrubution. -- raVen, http://raven.elk.ru/, icq#550428 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re[4]: cannot run apache with mod_php4
hi, Elfyn The only other thing it could be is that you havent got all the libraries you need... run this from cygwin and reply with the output to the list: $ cygcheck /lib/apache/libphp4.dll all libraries exists, i.e: Found: .\libphp4.dll .\libphp4.dll d:\work\cygwin\usr\local\bin\cygbz21.0.dll d:\work\cygwin\usr\local\bin\cygwin1.dll D:\WINXP\System32\KERNEL32.dll D:\WINXP\System32\ntdll.dll d:\work\cygwin\usr\local\bin\cygcrypto.dll d:\work\cygwin\usr\local\bin\cygintl-1.dll d:\work\cygwin\usr\local\bin\pq.dll d:\work\cygwin\usr\local\bin\cygxml2-2.dll d:\work\cygwin\usr\local\bin\cygz.dll d:\work\cygwin\usr\local\bin\cyghttpd.dll -- raVen, http://raven.elk.ru/, icq#550428 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/