Re: php + cygwin - some more
| From: | Melvyn Sopacua | Date: | Sun, 10 Mar 2002 01:40:49 +0000 |
| Subject: | Re: php + cygwin - some more | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80957@lists.php.net to get a copy of this message | ||
Edin Kadribasic said at 14:45 4-3-2002:
* Cygwin 1.3.10 * latest binary autotools, including -devel branches * './configure' '--prefix=/usr/local/php' '--with-apache=../apache_1.3.23' '--enable-debug' '--without-pear' '--enable-magic-quotes' '--disable-short-tags' '--enable-trans-sid' '--enable-session' '--disable-xml' '--with-pic' The --with-pic is a left-over from the dso install-attempt. 2 problems: 1) Can't do it as a DSO, since LTLIBRARY_NAME is set to libphp4.la and it doesn't build libphp4.so from that. Then fails apxs install, which expects libs/libphp4.so. 2) In the above configure-line, the -DCYGWIN define isn't set, which causes problems with datetime.c as I fixed the _timezone/timezone for the DSO install with #ifndef CYGWIN. If it doesn't trigger anything else in the makefiles, it prolly is the best way to fix it, since it's quite common. Benchmarks for CYGWIN_NT-5.0 SERVER 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown (Celeron 400MhZ, running W2k Adv. Server, 100Mbit connection to BSDi benchmark host): mdev@bsdi /ap/bin $ ./ab -n 1000 -c 5 -k http://192.168.0.1:82/phpinfo.php This is ApacheBench, Version 1.3d <$Revision: 1.58 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2001 The Apache Group, http://www.apache.org/ Benchmarking 192.168.0.1 (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests Finished 1000 requestsOk, seeing that some people indeed do use cygwin to build PHP, here's report about my achievements:Just checked with new cygwin and it builds, compiles but does not link, seem to be a problem with underscore generation. The cli executable does not find its functions....maybe i check this later by the way i have now problems with php 4.1.1 and 4.1.2 but then came cli... Just compiled php from cvs and have encountered no problems.
Server Software: Apache/1.3.23 Server Hostname: 192.168.0.1 Server Port: 82
Document Path: /phpinfo.php Document Length: 46985 bytes
Concurrency Level: 5Time taken for tests: 60.129 seconds
Complete requests: 1000 Failed requests: 0 Broken pipe errors: 0 Keep-Alive requests: 0 Total transferred: 47222144 bytes HTML transferred: 47054476 bytes Requests per second: 16.63 [#/sec] (mean) Time per request: 300.64 [ms] (mean) Time per request: 60.13 [ms] (mean, across all concurrent requests) Transfer rate: 785.35 [Kbytes/sec] receivedConnnection Times (ms)
min mean[+/-sd] median max Connect: 0 1 0.3 1 11 Processing: 35 295 397.4 172 4295 Waiting: 34 294 397.4 172 4295 Total: 35 296 397.4 173 4296Percentage of the requests served within a certain time (ms)
50% 173 66% 272 75% 333 80% 384 90% 63695% 1093 98% 1516 99% 2112 100% 4296 (last request) Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster