Re: Building HEAD on Win32
Paul Querna wrote: how did you get the source code? CVS checkout/update. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Building HEAD on Win32
... gives me these errors at the end of the build process copy Debug\Apache.dbg \Apache2\symbols\exe .y The system cannot find the specified file. NMAKE: fatal error U1077: 'copy': Return-Code '0x1' Stop. NMAKE: fatal error U1077: 'C:\Programme\Microsoft Visual Studio\VC98\BIN\NMAKE.exe': Return-Code '0x2' Stop. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Building current HEAD on Win32
Bill Stoddard wrote: Are you using cygwin? I recently installed it, yes. rename gawk.exe to awk.exe and that should fix the problem. It did, thank you. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Building current HEAD on Win32
... yields strange error messages for each Creating Version Resource build step: 16-Bit-MS-DOS-Subsystem: vcspawn.exe: The NTVDM-CPU detected an illegal instruction. What's this about? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Can't build HEAD on Linux
Jeff Trawick wrote: Did you do cvs update without doing make extraclean? Odd, in all this time I built httpd-2.0 from CVS I never needed to run make extraclean, I didn't even know about it. I always did a make distclean. Anyhow, make extraclean solved my problem. Thank you, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
[PATCH] rfc1413.{c|h} in libhttpd.dsp
The attached patch removes rfc1413.{c|h} from libhttpd.dsp. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ ? make.bat ? make_debug.bat Index: libhttpd.dsp === RCS file: /home/cvspublic/httpd-2.0/libhttpd.dsp,v retrieving revision 1.51 diff -u -r1.51 libhttpd.dsp --- libhttpd.dsp20 Sep 2002 06:06:41 - 1.51 +++ libhttpd.dsp19 Jan 2003 12:32:46 - @@ -405,14 +405,6 @@ # End Source File # Begin Source File -SOURCE=.\server\rfc1413.c -# End Source File -# Begin Source File - -SOURCE=.\include\rfc1413.h -# End Source File -# Begin Source File - SOURCE=.\server\util.c # End Source File # Begin Source File
Re: [Win32] compile errors in xlate.c
Juergen Heckel wrote: since 2 or three days I get the following compile errors: Current HEAD builds fine for me on Win32. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Can't compile HEAD on Linux
Sebastian Bergmann wrote: I can't compile current HEAD of httpd-2.0 Am I the only one experiencing this? an updated build log is here: http://www.sebastian-bergmann.de/stuff/httpd.txt -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Can't compile HEAD on Linux
Sebastian Bergmann wrote: I can't compile current HEAD of httpd-2.0 Am I the only one experiencing this? an updated build log is here: http://www.sebastian-bergmann.de/stuff/httpd.txt Odd. After a fresh checkout from CVS it built just fine. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Can't compile HEAD on Linux
Thom May wrote: Yes, Sander reverted server/Makefile.in on 2.0; your problem is probably still existant on 2.1 I checked out HEAD, thus 2.1, no? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Can't compile HEAD on Linux
Wilfredo Sánchez wrote: Yeah, do you still have the log from when it failed? I noticed you took it off the URL you posted. No, sorry. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Can't compile HEAD on Linux
I can't compile current HEAD of httpd-2.0 due to the compiler errors shown in http://www.sebastian-bergmann.de/stuff/apr-util.txt. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [Win32]: Apache 2.1 crashes in libapr.dll and libaprutil.dll
Juergen Heckel wrote: since v2.1.0 Apache crashes at every start This is odd, since it works fine here (built from CVS on November, 26). -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [Win32]: Apache 2.1 crashes in libapr.dll and libaprutil.dll
Juergen Heckel wrote: I still get the exeptions with mod_ssl. I thought you meant the default Windows build. I don't build Perl and SSL modules here. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: cvs commit: httpd-site/docs/dev anoncvs.txt devnotes.html how-to-release.html index.html
[EMAIL PROTECTED] wrote: + user@host:~$ cvs checkout -d httpd-2.0 -r APACHE_2_0_BRANCH httpd e:\homecvs -z9 -d:pserver:[EMAIL PROTECTED]:/home/cvspublic co -AP -d httpd-2.0 -r APACHE_2_0_BRANCH httpd cvs server: cannot find module `httpd' - ignored cvs [checkout aborted]: cannot expand modules -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: cvs commit: httpd-site/docs/dev anoncvs.txt devnotes.html how-to-release.html index.html
Sebastian Bergmann wrote: cvs server: cannot find module `httpd' - ignored cvs [checkout aborted]: cannot expand modules From http://cvs.apache.org/viewcvs.cgi/ (at the bottom): httpd - this entry is unreadable -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: cvs commit: httpd-2.0/server/mpm/winnt child.c
[EMAIL PROTECTED] wrote: wrowe 2002/10/13 20:13:20 Modified:server/mpm/winnt child.c Log: Handle WSA_IO_PENDING as well. My VisualC++ 6 (with MS Platform SDK May 2002) chokes on lines 528 and 529. There seem to be two )s missing, as well as a boolean operator (XX) to connect the two terms: 528: else if ((rv != APR_FROM_OS_ERROR(ERROR_IO_PENDING)) XX 529: (rv != APR_FROM_OS_ERROR(WSA_IO_PENDING))) { -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: cvs commit: httpd-2.0/modules/aaa auth_provider.c
[EMAIL PROTECTED] wrote: jerenkrantz2002/09/19 17:58:17 Removed: modules/aaa auth_provider.c Log: Axe unused file. It is still listed in modules/aaa/mod_auth_basic.dsp: Index: modules/aaa/mod_auth_basic.dsp === RCS file: /home/cvspublic/httpd-2.0/modules/aaa/mod_auth_basic.dsp,v retrieving revision 1.2 diff -u -r1.2 mod_auth_basic.dsp --- modules/aaa/mod_auth_basic.dsp 13 Sep 2002 21:55:31 - 1.2 +++ modules/aaa/mod_auth_basic.dsp 20 Sep 2002 05:49:33 - @@ -93,10 +93,6 @@ # End Source File # Begin Source File -SOURCE=.\auth_provider.c -# End Source File -# Begin Source File - SOURCE=.\mod_auth_basic.rc # End Source File # Begin Source File -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: cvs commit: httpd-2.0/include ap_provider.h
[EMAIL PROTECTED] wrote: Added: server provider.c include ap_provider.h This patch adds provider.c to the MSVC project: Index: libhttpd.dsp === RCS file: /home/cvspublic/httpd-2.0/libhttpd.dsp,v retrieving revision 1.50 diff -u -r1.50 libhttpd.dsp --- libhttpd.dsp29 Jul 2002 05:06:20 - 1.50 +++ libhttpd.dsp20 Sep 2002 05:55:32 - @@ -583,6 +583,10 @@ # End Source File # Begin Source File +SOURCE=.\server\provider.c +# End Source File +# Begin Source File + SOURCE=.\server\scoreboard.c # End Source File # Begin Source File -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
[patch] Unbreak Win32 build
Attached is a patch that unbreaks the Win32 build. It contains the two .dsp patches I submitted earlier and add two missing ap_provider.h inclusions. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ Index: libhttpd.dsp === RCS file: /home/cvspublic/httpd-2.0/libhttpd.dsp,v retrieving revision 1.50 diff -u -r1.50 libhttpd.dsp --- libhttpd.dsp29 Jul 2002 05:06:20 - 1.50 +++ libhttpd.dsp20 Sep 2002 06:04:43 - -583,6 +583,10 # End Source File # Begin Source File +SOURCE=.\server\provider.c +# End Source File +# Begin Source File + SOURCE=.\server\scoreboard.c # End Source File # Begin Source File Index: modules/aaa/mod_auth_basic.dsp === RCS file: /home/cvspublic/httpd-2.0/modules/aaa/mod_auth_basic.dsp,v retrieving revision 1.2 diff -u -r1.2 mod_auth_basic.dsp --- modules/aaa/mod_auth_basic.dsp 13 Sep 2002 21:55:31 - 1.2 +++ modules/aaa/mod_auth_basic.dsp 20 Sep 2002 06:04:46 - -93,10 +93,6 # End Source File # Begin Source File -SOURCE=.\auth_provider.c -# End Source File -# Begin Source File - SOURCE=.\mod_auth_basic.rc # End Source File # Begin Source File Index: modules/aaa/mod_authn_dbm.c === RCS file: /home/cvspublic/httpd-2.0/modules/aaa/mod_authn_dbm.c,v retrieving revision 1.5 diff -u -r1.5 mod_authn_dbm.c --- modules/aaa/mod_authn_dbm.c 20 Sep 2002 00:57:49 - 1.5 +++ modules/aaa/mod_authn_dbm.c 20 Sep 2002 06:04:47 - -77,6 +77,7 #include http_log.h #include http_protocol.h #include http_request.h /* for ap_hook_(check_user_id | auth_checker)*/ +#include ap_provider.h #include mod_auth.h Index: modules/aaa/mod_authn_file.c === RCS file: /home/cvspublic/httpd-2.0/modules/aaa/mod_authn_file.c,v retrieving revision 1.4 diff -u -r1.4 mod_authn_file.c --- modules/aaa/mod_authn_file.c20 Sep 2002 00:57:49 - 1.4 +++ modules/aaa/mod_authn_file.c20 Sep 2002 06:04:47 - -80,6 +80,7 #include http_log.h #include http_protocol.h #include http_request.h +#include ap_provider.h #include mod_auth.h
PHP Apache2Filter SAPI segfaults on startup
Environment: Apache 2 and PHP 4 built as Debug_TS from current CVS on Win32. Same combination also segfaults on Linux 2.4.19. This segfault is most likely caused by a change in the SAPI startup code. php_apache_sapi_send_headers(sapi_headers_struct * 0x0042db10, void * * * 0x0042da78) line 126 + 19 bytes sapi_send_headers(void * * * 0x0042da78) line 696 + 30 bytes php_header() line 62 + 9 bytes php_ub_body_write(const char * 0x00f50af8, unsigned int 131, void * * * 0x0042da78) line 686 + 5 bytes php_body_write(const char * 0x00f50af8, unsigned int 131, void * * * 0x0042da78) line 104 + 31 bytes php_printf(const char * 0x008e1bb4 `string') line 388 + 17 bytes php_error_cb(int 32, const char * 0x008e16f0 `string', const unsigned int 0, const char * 0x00997fa4 `string', char * 0x0006fcb0) line 609 + 25 bytes zend_error(int 32, const char * 0x00997fa4 `string') line 704 + 28 bytes zend_register_functions(_zend_function_entry * 0x10031a30 apache_functions, _hashtable * 0x, int 1, void * * * 0x0042da78) line 1060 + 20 bytes zend_register_module(_zend_module_entry * 0x10031a60 _php_apache_module) line 1103 + 36 bytes zend_startup_module(_zend_module_entry * 0x10031a60 _php_apache_module) line 1014 + 9 bytes php_apache_register_module() line 172 + 13 bytes php_apache_server_startup(apr_pool_t * 0x0042a950, apr_pool_t * 0x0045c550, apr_pool_t * 0x0043c1d0, server_rec * 0x0042c7e8) line 506 ap_run_post_config(apr_pool_t * 0x0042a950, apr_pool_t * 0x0045c550, apr_pool_t * 0x0043c1d0, server_rec * 0x0042c7e8) line 131 + 89 bytes main(int 3, const char * const * 0x004228b8) line 632 + 22 bytes mainCRTStartup() line 338 + 17 bytes -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Current CVS on Win32
cache_cache.c C:\home\httpd-2.0\modules\experimental\cache_cache.c(58) : warning C4047: 'funct ion' : Anzahl der Dereferenzierungen bei 'long (__cdecl *)(void *)' und 'long (_ _cdecl ** )(void *)' unterschiedlich C:\home\httpd-2.0\modules\experimental\cache_cache.c(58) : warning C4024: 'cache _pq_init' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter 2 C:\home\httpd-2.0\modules\experimental\cache_cache.c(87) : error C2064: Ausdruck ergibt keine Funktion C:\home\httpd-2.0\modules\experimental\cache_cache.c(89) : error C2064: Ausdruck ergibt keine Funktion C:\home\httpd-2.0\modules\experimental\cache_cache.c(98) : error C2064: Ausdruck ergibt keine Funktion C:\home\httpd-2.0\modules\experimental\cache_cache.c(104) : error C2064: Ausdruc k ergibt keine Funktion -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [Win32] Apache 2.0.40-dev error compiling latest snapshots
Brian Pane wrote: It may be unsafe to cast to a long when the arg is a %qd. How about this: Compiles as well :) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: PATH_INFO in A2?
Dale Ghent wrote: Make sure you have AcceptPathInfo On Now it works, thanks. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [Win32] Apache 2.0.40-dev error compiling latest snapshots
Juergen Heckel wrote: Replacing the ab.c with an older version solves this little problem. Index: support/ab.c === RCS file: /home/cvspublic/httpd-2.0/support/ab.c,v retrieving revision 1.106 diff -u -r1.106 ab.c --- support/ab.c4 Jul 2002 22:56:51 - 1.106 +++ support/ab.c7 Jul 2002 06:06:10 - -1101,8 +1101,8 trstring, tdstring, tdstring, concurrency); printf(tr %sth colspan=2 %sTime taken for tests:/th td colspan=2 %s%qd.%03qd seconds/td/tr\n, - trstring, tdstring, tdstring, (long long)apr_time_sec(timetaken), - (long long)apr_time_usec(timetaken)); + trstring, tdstring, tdstring, (long)apr_time_sec(timetaken), + (long)apr_time_usec(timetaken)); printf(tr %sth colspan=2 %sComplete requests:/th td colspan=2 %s%ld/td/tr\n, trstring, tdstring, tdstring, done); -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Apache 2.0 Numbers
Brian Pane wrote: That definitely will improve the numbers, but I'd rather not spend the next few years saying turn on buffering in mod_php every time another user posts a benchmark claiming that Apache 2.0 sucks because it runs my PHP scripts ten times slower than 1.3 did. :-) Well, it's already turned on in php.ini-recommended: ; Output buffering allows you to send header lines (including ; cookies) even after you send body content, at the price of slowing ; PHP's output layer a bit. You can enable output buffering during ; runtime by calling the output buffering functions. You can also ; enable output buffering for all files by setting this directive to ; On. If you wish to limit the size of the buffer to a certain size - ; you can use a maximum number of bytes instead of 'On', as a value ; for this directive (e.g., output_buffering=4096). output_buffering = 4096 -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Performance of Apache 2.0 Filter
A user posted [1] a benchmark today in the German PHP Newsgroup [2] stating that Apache 2.0 and PHP (current HEAD) are about 20% slower than Apache 1.3. Are there any official benchmarks out there? I can't quite believe this... -- [1] Message-ID: [EMAIL PROTECTED] [2] news:de.comp.lang.php -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
HEAD broken on Win32
apr_brigade.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_alloc.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_eos.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_file.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_flush.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_heap.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_mmap.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_pipe.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_pool.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_refcount.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_simple.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_buckets_socket.c ./include\apr_buckets.h(62) : fatal error C1083: Include-Datei kann nicht geoeff net werden: 'apu.h': No such file or directory apr_md4.c ./include\apr_md4.h(82) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory apr_sha1.c ./include\apr_sha1.h(64) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory apr_dbm.c C:\home\httpd-2.0\srclib\apr-util\dbm\apr_dbm.c(64) : fatal error C1083: Include -Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory apr_dbm_berkeleydb.c C:\home\httpd-2.0\srclib\apr-util\dbm\apr_dbm_berkeleydb.c(64) : fatal error C10 83: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or director y apr_dbm_gdbm.c C:\home\httpd-2.0\srclib\apr-util\dbm\apr_dbm_gdbm.c(61) : fatal error C1083: In clude-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory apr_dbm_sdbm.c C:\home\httpd-2.0\srclib\apr-util\dbm\apr_dbm_sdbm.c(60) : fatal error C1083: In clude-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory apr_base64.c ./include\apr_base64.h(66) : fatal error C1083: Include-Datei kann nicht geoeffn et werden: 'apu.h': No such file or directory Generieren von Code... Kompilieren... apr_hooks.c ./include\apr_hooks.h(58) : fatal error C1083: Include-Datei kann nicht geoeffne t werden: 'apu.h': No such file or directory apr_date.c ./include\apr_date.h(77) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory apr_rmm.c ./include\apr_rmm.h(70) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory sdbm.c ./include\apr_sdbm.h(65) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory sdbm_hash.c ./include\apr_sdbm.h(65) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory sdbm_lock.c ./include\apr_sdbm.h(65) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory sdbm_pair.c ./include\apr_sdbm.h(65) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory apr_strmatch.c ./include\apr_strmatch.h(66) : fatal error C1083: Include-Datei kann nicht geoef fnet werden: 'apu.h': No such file or directory apr_uri.c C:\home\httpd-2.0\srclib\apr-util\uri\apr_uri.c(62) : fatal error C1083: Include -Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory apr_xml.c ./include\apr_xml.h(70) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'apu.h': No such file or directory Generieren von Code... Fehler beim Ausführen von cl.exe. Apache.exe - 30 Fehler, 0 Warnung(en) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: HEAD broken on Win32
William A. Rowe, Jr. wrote: Try CVS up... I left some libaprutil identifiers when I lifted that build from libaprutil.dsp into aprutil.dsp. Works again now, thanks. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Current HEAD segfaults on Win32
Current HEAD segfaults on Win32 on requests that involve CGI (PHP), static HTML files are served without crashing. Stacktrace is as follows: ap_make_content_type(request_rec * 0x005786e8, const char * 0x00571e88) line 171 + 19 bytes ap_http_header_filter(ap_filter_t * 0x005778f8, apr_bucket_brigade * 0x00571d88) line 1444 + 19 bytes ap_pass_brigade(ap_filter_t * 0x005778f8, apr_bucket_brigade * 0x00571d88) line 534 + 16 bytes ap_fflush(ap_filter_t * 0x005778f8, apr_bucket_brigade * 0x00571d88) line 581 ap_content_length_filter(ap_filter_t * 0x005778e0, apr_bucket_brigade * 0x00571d88) line 1255 + 16 bytes ap_pass_brigade(ap_filter_t * 0x005778e0, apr_bucket_brigade * 0x00571d88) line 534 + 16 bytes ap_byterange_filter(ap_filter_t * 0x005778c8, apr_bucket_brigade * 0x00571d88) line 2663 + 16 bytes ap_pass_brigade(ap_filter_t * 0x005778c8, apr_bucket_brigade * 0x00571d88) line 534 + 16 bytes cgi_handler(request_rec * 0x005786e8) line 776 ap_run_handler(request_rec * 0x005786e8) line 194 + 78 bytes ap_invoke_handler(request_rec * 0x005786e8) line 373 + 9 bytes ap_internal_redirect_handler(const char * 0x005786a0, request_rec * 0x00577150) line 502 + 9 bytes action_handler(request_rec * 0x00577150) line 221 ap_run_handler(request_rec * 0x00577150) line 194 + 78 bytes ap_invoke_handler(request_rec * 0x00577150) line 373 + 9 bytes ap_process_request(request_rec * 0x00577150) line 261 + 9 bytes ap_process_http_connection(conn_rec * 0x0056d0f8) line 291 + 9 bytes ap_run_process_connection(conn_rec * 0x0056d0f8) line 85 + 78 bytes ap_process_connection(conn_rec * 0x0056d0f8, void * 0x0056d038) line 209 worker_main(long 249) line 1135 _threadstartex(void * 0x0059c090) line 212 + 13 bytes -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Current HEAD segfaults on Win32
Brian Pane wrote: Sorry about that. I just committed a change that should fix the problem (the precompiled list of strmatch patterns wasn't properly terminated). The segfault is gone, thanks. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
HEAD broken on Win32
__imp__apr_strmatch_precompile@12: Unresolved external symbol -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
eWeek: Apache 2.0 Beats IIS at Its Own Game
http://www.eweek.com/article/0,3658,s=702a=25458,00.asp -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Apache2Filter on Linux
In recent days I tested the Apache2Filter on Windows, where it currently works better than not so long ago, ie. before Aaron and Cliff came along :-) Yesterday I set up Linux on my notebook, and made fresh checkouts of Apache 2 and PHP 4. When I now call /usr/local/apache2/bin/apachectl start it tells me the httpd was started, but it isn't. Removing the LoadModule line for the Apache2Filter solves this problem, but doesn't qualify as a solution for me :-) Any ideas? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: apr_lock.h API finally deprecated!
Aaron Bannert wrote: I've finally removed the apr_lock.h API from httpd and apr. I just did another update on another machine to make sure I didn't miss anything, but it's still possible that something's weird on a platform that I don't [normally] use (netware and especialy win32). Index: apr.dsp === RCS file: /home/cvspublic/apr/apr.dsp,v retrieving revision 1.98 diff -u -2 -b -w -B -r1.98 apr.dsp --- apr.dsp 22 Feb 2002 07:11:29 - 1.98 +++ apr.dsp 9 Apr 2002 07:24:37 - -171,8 +171,4 # Begin Source File -SOURCE=.\locks\win32\locks.c -# End Source File -# Begin Source File - SOURCE=.\locks\win32\proc_mutex.c # End Source File -426,8 +422,4 SOURCE=.\include\arch\win32\locks.h -# End Source File -# Begin Source File - -SOURCE=.\include\arch\win32\misc.h # End Source File # Begin Source File Index: libapr.dsp === RCS file: /home/cvspublic/apr/libapr.dsp,v retrieving revision 1.59 diff -u -2 -b -w -B -r1.59 libapr.dsp --- libapr.dsp 22 Feb 2002 07:11:29 - 1.59 +++ libapr.dsp 9 Apr 2002 07:24:37 - -177,8 +177,4 # Begin Source File -SOURCE=.\locks\win32\locks.c -# End Source File -# Begin Source File - SOURCE=.\locks\win32\proc_mutex.c # End Source File -428,8 +424,4 SOURCE=.\include\arch\unix\inherit.h -# End Source File -# Begin Source File - -SOURCE=.\include\arch\win32\locks.h # End Source File # Begin Source File -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Another segfault (PHP, Win32)
Win32, Apache 2.0.36-dev (CVS), PHP 4.3.0-dev (CVS) The following segfault occurs when a PHP extension cannot be loaded, that is enabled in php.ini, but not compatible with the PHP build: php_apache_sapi_log_message(char * 0x0012f1cc) line 198 + 14 bytes php_log_err(char * 0x0012f1cc, void * * * 0x0079cc10) line 337 + 12 bytes php_error_cb(int 32, const char * 0x00b46778 `string', const unsigned int 0, const char * 0x00b3f170 `string', char * 0x0012fa8c) line 487 + 19 bytes zend_error(int 32, const char * 0x00b3f170 `string') line 682 + 28 bytes php_dl(_zval_struct * 0x008206e8, int 1, _zval_struct * 0x0012fb88, void * * * 0x0079cc10) line 208 + 50 bytes php_load_function_extension_cb(void * 0x008206e8, void * * * 0x0079cc10) line 188 + 19 bytes zend_llist_apply(_zend_llist * 0x00b7792c, void (void *, void * * *)* 0x008f3f70 php_load_function_extension_cb(void *, void * * *), void * * * 0x0079cc10) line 186 + 16 bytes php_ini_delayed_modules_startup(void * * * 0x0079cc10) line 313 + 19 bytes php_module_startup(_sapi_module_struct * 0x008d1ad0 apache2_sapi_module) line 1027 + 9 bytes php_apache_server_startup(apr_pool_t * 0x0079a2d0, apr_pool_t * 0x007ca510, apr_pool_t * 0x007cc548, server_rec * 0x007b2478) line 432 + 13 bytes ap_run_post_config(apr_pool_t * 0x0079a2d0, apr_pool_t * 0x007ca510, apr_pool_t * 0x007cc548, server_rec * 0x007b2478) line 130 + 89 bytes main(int 1, const char * const * 0x00792c48) line 569 + 22 bytes mainCRTStartup() line 338 + 17 bytes -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [PHP-DEV] Re: Crash in Apache2Filter
Cliff Woolley wrote: (And more generally a series of patches to fix and optimize the apache2filter. :) Sounds nice :) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Building 2.0.35 on Win2k with mod_ssl
Dwayne Miller wrote: Generating ssl_expr_parse.c/.h from ssl_expr_parse.y 'sed' is not recognized as an internal or external command, operable program or batch file. 'sed' is not recognized as an internal or external command, I think you need to have sed(.exe) in your path. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [PHP-DEV] Crash in Apache2Filter
Sebastian Bergmann wrote: Win32, Apache 2.0.36-dev, PHP 4.3.0-dev (both current CVS) The crash seems to be gone now. However, the following compiler warnings remain: c:\Apache2\include\apr.h(334): warning C4142: benign redefinition of type c:\home\php\php4\sapi\apache2filter\sapi_apache2.c(121): warning C4018: '': signed/unsigned mismatch c:\Apache2\include\apr.h(334): warning C4142: benign redefinition of type c:\home\php\php4\sapi\apache2filter\php_functions.c(91): warning C4244: 'function': conversion from 'apr_time_t' to 'long', possible loss of data c:\home\php\php4\sapi\apache2filter\php_functions.c(92): warning C4244: 'function': conversion from 'apr_off_t' to 'long', possible loss of data -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
[Win32] Current CVS crashes on shutdown
NTDLL! 77883941() NTDLL! 778838c6() apr_allocator_free(apr_allocator_t * 0x00794210, apr_memnode_t * 0x007942a8) line 323 apr_pool_destroy(apr_pool_t * 0x007942b8) line 688 apr_pool_terminate() line 525 apr_terminate() line 237 destroy_and_exit_process(process_rec * 0x007983b8, int 0) line 242 main(int 3, const char * const * 0x00794198) line 621 + 11 bytes mainCRTStartup() line 338 + 17 bytes -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
[Win32] Current CVS and PHP as CGI
Accessing a .php file with the current CVS HEAD version of httpd-2.0 still results in a ''download offer'' of the _parsed_ output of the script. Has the configuration for CGI changed? Right now I do ScriptAlias /php/ c:/home/php/php4/Release_TS_inline/ AddType application/x-httpd-php .php Action application/x-httpd-php /php/php-cgi.exe -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [Win32] Current CVS crashes on shutdown
Sander Striker wrote: This is the exact same problem Bill Stoddard was facing. Are you sure you have current APR? Yes, I always make a cvs upd -dAP in the httpd-2.0 directory. This updates srclib/apr and srclib/apr-util as well as the httpd-2.0 module. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [Win32] Current CVS crashes on shutdown
Sander Striker wrote: Could you please update apr again and tell me what pool-tag reads in the backtrace of your segv? Here's the new backtrace: NTDLL! 77883941() NTDLL! 778838c6() apr_allocator_free(apr_allocator_t * 0x00794210, apr_memnode_t * 0x007942a8) line 323 apr_pool_destroy(apr_pool_t * 0x007942b8) line 690 apr_pool_terminate() line 527 apr_terminate() line 237 destroy_and_exit_process(process_rec * 0x007983b8, int 0) line 242 main(int 3, const char * const * 0x00794198) line 621 + 11 bytes mainCRTStartup() line 338 + 17 bytes -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Win32 build broken
c:\home\apache\httpd-2.0\srclib\pcre\pcre.c(118): error C2065: 'NEWLINE': Undeclared identifier c:\home\apache\httpd-2.0\srclib\pcre\pcre.c(118): error C2099: Initialization is not a constant c:\home\apache\httpd-2.0\srclib\pcre\pcre.c(369): error C2065: 'PCRE_UTF8': Undeclared identifier -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Win32 build broken
Brian Pane wrote: Those look like some of the symbols introduced in the new version of PCRE that I just imported. They're defined in config.h, so they'll likely require a buildconf;configure;make clean. I'm using MSVC :) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
[Win32] Current CVS
strings\apr_strings.c(233): warning C4244: '=': conversion from 'long' to 'char', possible loss of data misc\unix\start.c(87): warning C4013: 'apr_unix_setup_lock' undefined; assuming extern returning int misc\unix\start.c(88): warning C4013: 'apr_proc_mutex_unix_setup_lock' undefined; assuming extern returning int apr_app.obj: error LNK2019: unresolved external symbol _main referenced in function _wmain apr_app.obj: error LNK2019: unresolved external symbol _apr_app_init_complete referenced in function _wmain apr_app.obj: error LNK2019: unresolved external symbol _apr_wastrtoastr referenced in function _wmain start.obj: error LNK2019: unresolved external symbol _apr_unix_setup_time referenced in function _apr_initialize@0 start.obj: error LNK2019: unresolved external symbol _apr_proc_mutex_unix_setup_lock referenced in function _apr_initialize@0 start.obj: error LNK2019: unresolved external symbol _apr_unix_setup_lock referenced in function _apr_initialize@0 buckets\apr_brigade.c(245): warning C4244: '=' : conversion from 'apr_off_t' to 'apr_size_t', possible loss of data buckets\apr_brigade.c(272): warning C4244: 'function': conversion from 'apr_off_t' to 'apr_size_t', possible loss of data server\protocol.c(664): warning C4018: '': signed/unsigned mismatch server\protocol.c(726): warning C4018: '': signed/unsigned mismatch -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Current CVS with PHP/CGI on Win32
Just built the current CVS of httpd-20 and ran into the following problem: I use PHP with httpd-20 through CGI and everything works fine with a httpd-20 from a week ago, or so Accessing a php file with the current CVS HEAD version of httpd-20 results in a ''download offer'' of the _parsed_ output of the script -- Sebastian Bergmann http://sebastian-bergmannde/ http://phpOpenTrackerde/ Did I help you? Consider a gift: http://wishlistsebastian-bergmannde/
Current CVS on Win32
... does not compile, see http://www.sebastian-bergmann.de/apache.txt -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Current CVS on Win32
Sebastian Bergmann wrote: ... does not compile, see http://www.sebastian-bergmann.de/apache.txt Stupid me, due to all the happiness over my new box I checked out apr and apr-util into httpd-2.0, not httpd-2.0/srclib/. Sorry for bothering, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Current HEAD on Win32
William A. Rowe, Jr. wrote: It's crufty and taking a while, might be a few hours before all is very well again. Yesterday's problems seem to be resolved, however I cannot stop or restart the service: [Thu Feb 07 09:30:53 2002] [emerg] (22502)Das System kann die angegebene Datei nicht finden. : OpenEvent on ap468_shutdown event -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Current HEAD on Win32
William A. Rowe, Jr. wrote: (This posting maybe a dupe, I hope it's not) Nope. Okay, if this mail goes through, then the Apache.org listserver checks whether a email address is subscribed not only using the From: header, but using !MAIL FROM: and / or Return-Path:. It's crufty and taking a while, might be a few hours before all is very well again. No problem, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Current HEAD on Win32
(This posting maybe a dupe, I hope it's not) If I start Apache 2 as a service, I get the following lines in my error.log: [Wed Feb 06 06:29:27 2002] [crit] (22506)The handle is invalid.: child: Unable to access scoreboard handle from parent [Wed Feb 06 06:29:28 2002] [crit] (22505)Access denied: Parent: Unable to duplicate the scoreboard handle to the child [Wed Feb 06 06:29:28 2002] [crit] (22505)Access denied: master_main: create child process failed. Exiting. If I start Apache.exe from the commandline, I get no such entries, but requesting a document causes Apache.exe to eat CPU time. I see two Apache processes in Win2K's task-manager, each using 10 to 30% of the CPU time. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Version numbering
Rodent of Unusual Size wrote: Are we going to do something Linux-like and have development streams numbered 2.odd.x and the golden releases 2.even.x? You would have to do it the other way round, except you wanted to start GA with 2.2.0 :-) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Current CVS on Win32
... does not build: apr_pools.c c:\home\apache\httpd-2.0\srclib\apr\memory\unix\apr_pools.c(73): fatal error C1083: include file not found: 'unistd.h': No such file or directory There seems to be something amiss here, since it tries to build a *NIX specific part of the library, I suppose. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Current CVS on Win32
Ian Holsman wrote: yep it's broken. standard httpd.conf file doesn't start. looks like it dies just after opening the errorlog file It works with -D ONE_PROCESS btw.. interesting... HEAD works again for me. Thanks, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
PHP Apache2Filter crashes on Win32
Here's a backtrace: ap_save_brigade(ap_filter_t * 0x10d57628, apr_bucket_brigade * * 0x10d56004, apr_bucket_brigade * * 0x10a6fe74, apr_pool_t * 0x10d55b30) line 418 + 49 bytes php_output_filter(ap_filter_t * 0x10d57628, apr_bucket_brigade * 0x10d57790) line 350 + 32 bytes ap_pass_brigade(ap_filter_t * 0x10d57628, apr_bucket_brigade * 0x10d57790) line 390 + 16 bytes default_handler(request_rec * 0x10d55b68) line 2974 ap_run_handler(request_rec * 0x10d55b68) line 186 + 78 bytes ap_invoke_handler(request_rec * 0x10d55b68) line 359 + 9 bytes ap_process_request(request_rec * 0x10d55b68) line 291 + 9 bytes ap_process_http_connection(conn_rec * 0x10cdc140) line 280 + 9 bytes ap_run_process_connection(conn_rec * 0x10cdc140) line 84 + 78 bytes ap_process_connection(conn_rec * 0x10cdc140) line 232 worker_main(int 248) line 934 _threadstartex(void * 0x005f4688) line 212 + 13 bytes Latest CVS of both Apache2 and PHP 4. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
PHP Apache2Filter
Just ./configure'd PHP with the Apache2Filter for the first time in weeks, then I got this: checking for Apache 2.0 module support via DSO through APXS... Sorry, I cannot run apxs. Possible reasons follow: 1. Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed) Perl is installed, apxs is at the given location and Apache was built using --enable-so. Latest CVS of Apache2 and PHP 4. Were there some changes to APXS lately that might cause this? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Apache 2.0: What's New and Who'll Benefit?
Just came across this article http://www.internetnews.com/dev-news/article/0,,10_952841,00.html In the unlikely case that some of you don't read /. frequently, here you are :-) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Current CVS on Win32
... gives me Syntax error on line 236 of C:/Server/Apache/conf/httpd.conf: Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration The line in question is Order allow,deny which is inside the Directory c:/server/htdocs block. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Current CVS on Win32
William A. Rowe, Jr. wrote: However, we split out all of the built-in modules since there is no way to toggle a built-in module in Apache 2.0, per my post yesterday morning. Thanks for the hint, now it crashes :-) Stacktrace below. file_cleanup(void * 0x6ee07947) line 263 + 3 bytes apr_file_close(apr_file_t * 0x6ee07947) line 413 + 9 bytes apr_shm_create(apr_shm_t * * 0x6ff40298 scoreboard_shm, unsigned int 399392, const char * 0x, apr_pool_t * 0x0079a3c0) line 155 open_scoreboard(apr_pool_t * 0x0079a3c0) line 170 + 26 bytes ap_create_scoreboard(apr_pool_t * 0x0079a3c0, int 2) line 241 + 9 bytes ap_run_pre_mpm(apr_pool_t * 0x0079a3c0, int 2) line 98 + 79 bytes ap_mpm_run(apr_pool_t * 0x0079a3c0, apr_pool_t * 0x007c4468, server_rec * 0x0079bd28) line 2052 main(int 1, const char * const * 0x007942c0) line 461 + 18 bytes mainCRTStartup() line 338 + 17 bytes -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
mod_perl 2.0 on Apache 2
Dunno if this is the right place to ask, but anyhow: Where can I find information on building / installing mod_perl 2.0 on Windows? Is this already possible? Greetings, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: mod_perl 2.0 on Apache 2
William A. Rowe, Jr. wrote: Huh? Of course it works [great job Doug :-] Good to know. perl makefile.pl MP_USE_DSO=1 MP_GENERATE_XS=1 MP_AP_PREFIX=c:\apache2 Then nmake. perl makefile.pl MP_USE_DSO=1 MP_GENERATE_XS=1 MP_AP_PREFIX=c:\server\apache No such signal: SIGUSR1 at Apache-Test/lib/Apache/TestSmoke.pm line 16. Compilation failed in require at Apache-Test/lib/Apache/TestSmokePerl.pm line 7. BEGIN failed--compilation aborted at Apache-Test/lib/Apache/TestSmokePerl.pm line 7. Compilation failed in require at makefile.pl line 13. BEGIN failed--compilation aborted at makefile.pl line 13. You first need to set up your environment for command line builds (VCVARS32 and SETENV if you have brought your PSDK up to date) and this; I guess I have to do this now :-) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [PHP-DEV] Apache2Filter crashes on Windows
Sebastian Bergmann wrote: ap_save_brigade(ap_filter_t * 0x00564f00, apr_bucket_brigade * * 0x10d95984, apr_bucket_brigade * * 0x10a6bdf8, apr_pool_t * 0x10cd4070) line 416 + 71 bytes php_output_filter(ap_filter_t * 0x00564f00, apr_bucket_brigade * 0x00565068) line 350 + 32 bytes ap_pass_brigade(ap_filter_t * 0x00564f00, apr_bucket_brigade * 0x00565068) line 388 + 16 bytes default_handler(request_rec * 0x10cd5bf0) line 2825 ap_run_handler(request_rec * 0x10cd5bf0) line 186 + 78 bytes ap_invoke_handler(request_rec * 0x10cd5bf0) line 360 + 9 bytes ap_internal_redirect(const char * 0x10cd5bc8, request_rec * 0x10cd40a0) line 454 + 9 bytes handle_dir(request_rec * 0x10cd40a0) line 198 ap_run_handler(request_rec * 0x10cd40a0) line 186 + 78 bytes ap_invoke_handler(request_rec * 0x10cd40a0) line 360 + 9 bytes ap_process_request(request_rec * 0x10cd40a0) line 292 + 9 bytes ap_process_http_connection(conn_rec * 0x00580e60) line 280 + 9 bytes ap_run_process_connection(conn_rec * 0x00580e60) line 84 + 78 bytes ap_process_connection(conn_rec * 0x00580e60) line 231 worker_main(int 248) line 908 _threadstartex(void * 0x005fc9c0) line 212 + 13 bytes Has anyone had a look at this? Is this a bug in httpd-2.0 or in PHP's Apache2Filter SAPI Module? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Apache2Filter crashes on Windows
Daniel Stone wrote: Please provide a full gdb backtrace of the problem; just the last call on the stack won't help the developers much. How do I generate a backtrace with MSVC? :-/ -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: [PHP-DEV] Apache2Filter crashes on Windows
Sebastian Bergmann wrote: Setup: Windows 2000, Apache 2 (current CVS), PHP 4 (current CVS). After several requests Apache.exe crashes, when using the Apache2Filter SAPI module of PHP 4. I built both debug versions of Apache 2 and PHP 4, and the debugger shows the cause of the crash to be in server/util_filter.c:416: APR_BRIGADE_CONCAT(*saveto, *b); Here's a backtrace, thanks to Sander Striker for pointing me to ALT+7: ap_save_brigade(ap_filter_t * 0x00564f00, apr_bucket_brigade * * 0x10d95984, apr_bucket_brigade * * 0x10a6bdf8, apr_pool_t * 0x10cd4070) line 416 + 71 bytes php_output_filter(ap_filter_t * 0x00564f00, apr_bucket_brigade * 0x00565068) line 350 + 32 bytes ap_pass_brigade(ap_filter_t * 0x00564f00, apr_bucket_brigade * 0x00565068) line 388 + 16 bytes default_handler(request_rec * 0x10cd5bf0) line 2825 ap_run_handler(request_rec * 0x10cd5bf0) line 186 + 78 bytes ap_invoke_handler(request_rec * 0x10cd5bf0) line 360 + 9 bytes ap_internal_redirect(const char * 0x10cd5bc8, request_rec * 0x10cd40a0) line 454 + 9 bytes handle_dir(request_rec * 0x10cd40a0) line 198 ap_run_handler(request_rec * 0x10cd40a0) line 186 + 78 bytes ap_invoke_handler(request_rec * 0x10cd40a0) line 360 + 9 bytes ap_process_request(request_rec * 0x10cd40a0) line 292 + 9 bytes ap_process_http_connection(conn_rec * 0x00580e60) line 280 + 9 bytes ap_run_process_connection(conn_rec * 0x00580e60) line 84 + 78 bytes ap_process_connection(conn_rec * 0x00580e60) line 231 worker_main(int 248) line 908 _threadstartex(void * 0x005fc9c0) line 212 + 13 bytes -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Apache2Filter crashes on Windows
Setup: Windows 2000, Apache 2 (current CVS), PHP 4 (current CVS). After several requests Apache.exe crashes, when using the Apache2Filter SAPI module of PHP 4. I built both debug versions of Apache 2 and PHP 4, and the debugger shows the cause of the crash to be in server/util_filter.c:416: APR_BRIGADE_CONCAT(*saveto, *b); -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: FW: Windows XP
Rodent of Unusual Size wrote: I'm currently using Windows XP Pro and was wondering if the Windows distribution has been tested on this OS as of yet. Any information will be of a great help. I have Apache 2.0.2X running under Windows XP Pro on my notebook, together with PHP 4.X.X and MySQL for some time now -- no problems at all. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
Re: Current CVS on Win32
Sebastian Bergmann wrote: I'm getting hundreds of errors, all referring to the following dso.c C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872) : error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881) : error C2061: Syntax error: Identifier 'rpcLOGPALETTE' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(883) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(884) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(978) : error C2143: Syntax error: Missing '{' before '*' dir.c C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872) : error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881) : error C2061: Syntax error: Identifier 'rpcLOGPALETTE' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(883) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(884) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(978) : error C2143: Syntax error: Missing '{' before '*' fileacc.c C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872) : error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881) : error C2061: Syntax error: Identifier 'rpcLOGPALETTE' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(883) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(884) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(978) : error C2143: Syntax error: Missing '{' before '*' mktemp.c C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872) : error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881) : error C2061: Syntax error: Identifier 'rpcLOGPALETTE' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(883) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(884) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(978) : error C2143: Syntax error: Missing '{' before '*' filedup.c C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872) : error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881) : error C2061: Syntax error: Identifier 'rpcLOGPALETTE' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(883) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(884) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(978) : error C2143: Syntax error: Missing '{' before '*' filepath.c C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872) : error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881) : error C2061: Syntax error: Identifier 'rpcLOGPALETTE' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(883) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(884) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(978) : error C2143: Syntax error: Missing '{' before '*' filestat.c filesys.c C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872) : error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881) : error C2061: Syntax error: Identifier 'rpcLOGPALETTE' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(883) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(884) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(978) : error C2143: Syntax error: Missing '{' before '*' flock.c C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872) : error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873) : error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881) : error C2061: Syntax
Current CVS on Win32
I'm getting hundreds of errors, all referring to the following C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872): error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873): error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(881): error C2061: Syntax error: Identifier 'rpcLOGPALETTE' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(883): error C2059: Syntax error: '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(884): error C2059: Syntax error : '}' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(978): error C2143: Syntax error: Missing '{' before '*' -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
PHP4 as CGI with 2.0.25
Hi there, I just updated to 2.0.25 on my Win32 system, where I have the following lines in the httpd.conf to use PHP 4 as CGI ScriptAlias /php/ e:/server/php/ AddType application/x-httpd-php .php Action application/x-httpd-php /php/php.exe Action application/x-httpd-php-source /php/php.exe This worked fine until now. Now I only get an The requested URL /php/php.exe/index.php was not found on this server. error when trying to access /index.php. Were there any changes that I might have missed? -- Sebastian Bergmann Measure Traffic Usability http://sebastian-bergmann.de/http://phpOpenTracker.de/
Re: cvs commit: httpd-2.0/server util_filter.c
[EMAIL PROTECTED] wrote: rbb 01/08/26 23:00:51 Modified:.CHANGES include util_filter.h modules/ssl mod_ssl.c ssl_engine_io.c server util_filter.c util_filter.c httpd-2.0\server\util_filter.c(205) : warning C4098: 'ap_remove_input_filter' : 'void' function returns a value httpd-2.0\server\util_filter.c(210) : warning C4098: 'ap_remove_output_filter' : 'void' function returns a value -- Sebastian Bergmann Measure Traffic Usability http://sebastian-bergmann.de/http://phpOpenTracker.de/