php memory errors

2020-06-19 Thread Richard H Lee via Cygwin
I've recently gotten out of memory errors with php, with tasks that previously have worked fine. Has anybody else experienced this too? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsu

Re: unable to run httpd with mod_rewrite

2019-02-26 Thread Richard H Lee
On 26/02/2019 10:30, jwang25...@gmail.com wrote: Hi Richard, Would you please shed some light on this (how to set the mutx for the rewrite map) as I am having the same issue? Thanks a lot in advance James My bad. I didn't check the error logs. Setting the mutex for the rewrite map in the conf

Re: inotify?

2018-05-03 Thread Richard H Lee
On 03/05/2018 10:35, Ulli Horlacher wrote: Is there a similar service "tell me of new files in this directory tree" in Windows which I can use instead? Windows does have its own file and directory watching API. -- Problem reports: http://cygwin.com/problems.html FAQ: htt

Re: msmtp depends on Gnome!?

2018-03-28 Thread Richard H Lee
On 28/03/2018 22:50, Stephen Paul Carrier wrote: What's not light-weight is its dependency on libgnome-keyring0 which has more dependencies that eventually bring in Gnome. This is for a headless workstation. Gnome doesn't just contain the desktop libraries, it also contains the libraries for go

Re: Trouble running ssh-host-config

2018-03-01 Thread Richard H Lee
On 01/03/2018 04:06, Steve Kelem wrote: When I right-click cygwin.bat and run as Administrator, ssh-host-config -y gets the following errors: What happens if you try running cygwin as admin by running mintty as administrator (as opposed to cygwin.bat)? -- Problem reports: http://cygwin.c

Re: Git status delay

2017-12-11 Thread Richard H Lee
On 21/11/2017 10:27, Adam Dinwoodie wrote: (I believe this is a bug in Git, on the grounds that (a) Git in general supports POSIX systems and giving special meaning to paths starting with `\\` is allowed, if unusual, POSIX behaviour, and (b) Git specifically supports Cygwin, and this is very well

Re: Cryptic characters at 4kboundary after ssh transfer

2017-12-09 Thread Richard H Lee
On 08/12/2017 13:39, Caduff Claudio DFRKSTA wrote: In some (about 1 of 100) of the transferred files there are cryptic characters (always 8 Bytes), always at an address which begins after 4k. Could this be related to any mmap calls? Cygwin mmaps in 4k blocks, but the caveat is that they are

Re: Git status delay

2017-11-20 Thread Richard H Lee
Can also confirm this on Windows 10. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Git status delay

2017-11-18 Thread Richard H Lee
I have an issue with git where it hangs for 10 to 20 seconds on several commands, including "git status". For me this is reproducible on a fresh install of Cygwin x64 in Windows 7. I get the feeling I am doing something wrong on my end as "git status" is a very commonly used command, yet I see

Re: [ATTN: Yaakov Selkowitz / PHP maintainer] Re: Composer segfault on multiple configurations

2017-05-30 Thread Richard H Lee
Yaakov, I probably should have copied you in on the last message to get your attention. It's just a simple patch to fix this page size issue with php on Cygwin. Would be grateful if you could review and possibly accept this patch, as it has been confirmed and does affect several people. Ri

Memcache/d (Orig: Re: Composer segfault on multiple configurations)

2017-05-25 Thread Richard H Lee
On 25/05/2017 08:50, Sky Diver wrote: Since then I went back in time and installed PHP 5.5.9, PHP 5.6.20 but the result is the same. PHP 5.5.9, PHP 5.6.2 on Cygwin? Were they even released on Cygwin? So I might end up following your steps in order to build PHP, hoping I could enable built-in m

Re: Composer segfault on multiple configurations

2017-05-22 Thread Richard H Lee
On 18/05/2017 08:42, Sky Diver wrote: I may compile php from cygports Just in case Sky Diver or anyone else is interested in compiling php from Cygports, here are some simple steps to do so. It's not really difficult and most of the time it takes up is downloading the packages and compiling

Re: ANSI colors not showing by default

2017-05-22 Thread Richard H Lee
On 21/05/2017 21:45, Sky Diver wrote: Lately I noticed that colors are not showing by default in some situations. The most apparent case is when running composer. The latest composer version on "Bash on Ubuntu on Windows" console, and even when running it via a mintty shell looks just fine. But

Re: 5 seconds to update link info?

2017-05-20 Thread Richard H Lee
On 20/05/2017 01:39, Andrey Repin wrote: I've tried to disable NetBIOS over TCP/IP on client for all adapters active, but nothing has changed. You could always try using Wireshark to get more insight as to what is causing the delay. -- Problem reports: http://cygwin.com/problems.html FAQ

Re: 5 seconds to update link info?

2017-05-19 Thread Richard H Lee
On 19/05/2017 23:01, Richard H Lee wrote: On 19/05/2017 22:37, Andrey Repin wrote: When executed this oneliner over Samba 4.3 network share, it takes 5 seconds to match the newly created hardlink. I'm wondering if this is Cygwin, Samba or Windows networking issue? I think it's somet

Re: 5 seconds to update link info?

2017-05-19 Thread Richard H Lee
On 19/05/2017 22:37, Andrey Repin wrote: When executed this oneliner over Samba 4.3 network share, it takes 5 seconds to match the newly created hardlink. I'm wondering if this is Cygwin, Samba or Windows networking issue? I think it's something to do with windows name resolution. Try running:

[ATTN: Yaakov Selkowitz / PHP maintainer] Re: Composer segfault on multiple configurations

2017-05-19 Thread Richard H Lee
On 18/05/2017 08:42, Sky Diver wrote: Any idea when your fix will get released as an official cygwin PHP package? Hi Yaakov, I can see you're really busy with package maintenance and all, but I was wondering if you could review and merge my patch for this issue. It's basically changing the def

Re: Composer segfault on multiple configurations

2017-05-18 Thread Richard H Lee
On 18/05/2017 13:34, Andrey Repin wrote: Try turning pcre.jit off, it was known to be a problem in the past. This is already turned off in the cygport patches. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://

Re: Composer segfault on multiple configurations

2017-05-17 Thread Richard H Lee
On 17/05/2017 20:17, Sky Diver wrote: Running "composer install" with the following composer.json ends up in a segmentation fault. -- START --- { "require": { "propel/propel": "~2.0@dev" }, "config": { "optimize-autoloader": true } }

Re: BUG: winmain GetCommandLine only returning program name and path with no arguments

2017-05-13 Thread Richard H Lee
It works when using the mingw cross compiler. On 13/05/2017 15:30, Mike Barry wrote: Below is a sample program that demonstrates that the GetCommandLine function is not returning the command line arguments. I attached cygcheck.out. #include #include int WINAPI WinMain(HINSTANCE hInst, HINST

[PHP-DEV] [FAO: Anatol Belski] Re: Patch for bug #65312: Segmentation fault with filesize=4096

2017-05-13 Thread Richard H Lee
Hi Anatol, I noticed you were quite involved with bug #65312 "Segmentation fault with=filesize=4096" and possibly may have a better idea of what is going on with it. Could you take a look at the patch please? It's basically two identical 3 line additions (#if, #define and #endif) that change the

Re: hdparm windows phisical disks question

2017-05-11 Thread Richard H Lee
What does ls /dev/hd* or ls /dev/sd* give you? On 11/05/2017 16:21, Emanuele Belfiore wrote: I'm using hdparm on windows, eg: hdparm -y /dev/hda My question is: if I have more than 26 phisical disks, what parameter I have to pass (/dev/hd?) ? -- Problem reports: http://cygwin.com/probl

[PHP-DEV] Patch for bug #65312: Segmentation fault with filesize=4096

2017-05-11 Thread Richard H Lee
I submitted a patch for bug #65312 "Segmentation fault with filesize=4096". It's to do with the way Cygwin handles mmap()ing. It is not a duplicate of another bug as marked, it is specific to Cygwin. I'm not sure about the release structure of PHP, but it would be great if I could get this pat

[ATTN: PHP maintainer] Re: Fix for REAL_PAGE_SIZE in PHP

2017-05-04 Thread Richard H Lee
definition needs to be fixed in two places as there are two different places where a PHP source file can be mmap()ed, depending on whether it is loaded using php-cli or loaded when php is run from a library. On 02/05/2017 11:28, Richard H Lee wrote: Should this fix go upstream to PHP or be submitted to

Fix for REAL_PAGE_SIZE in PHP

2017-05-02 Thread Richard H Lee
There is a bug with PHP on Cygwin where it segfaults if the php file size is a multiple of 4K. https://bugs.php.net/bug.php?id=65312 PHP mmap()s source files as it it faster than using normal I/O. The problem is with the page size in Cygwin. When a file is mmap()ed to memory, any remaining byte

[pypy-dev] Cygwin pypy patches (cpyext module)

2013-10-15 Thread Richard H Lee
Hi Uwe, I came across your tux.org page on how to build pypy on cygwin. I was wondering if you made any patches against the cpyext module to get it to build on cygwin? Richard ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/ma

[Gtk-sharp-list] Gtk# installer without mono for Windows

2013-10-07 Thread Richard H Lee
I've previously installed Gtk# on Widows without installing Mono. But it appears now that the Gtk# insaller is part of the Mono installer and you cannot deselect Mono for the install options. Is there a Gtk# for .net instller out there? Or can I only get Gtk# bundled with Mono now? __

Re: Command option

2013-08-28 Thread Richard H Lee
On 28/08/2013 16:10, Richard H Lee wrote: ./get_iplayer -g 372 --modes flashvhigh -c ./test '' Go it, I needed: ./get_iplayer -g 372 --modes flashvhigh -c "./test " ___ get_iplayer mailing list get_iplayer@list

Command option

2013-08-28 Thread Richard H Lee
How do I use the command option to run a command after a programme has been downloaded? I tried: ./get_iplayer -g 372 --modes flashvhigh -c ./test '' but I can't seem to get the right syntax. ___ get_iplayer mailing list get_iplayer@lists.infradead.o

Re: Basic gcc compilation on cygwin64

2013-07-23 Thread Richard H Lee
On 23/07/2013 13:35, JonY wrote: Try rerunning setup again, there was a mistake in the w32api-runtime -1 release. -2 should have this fixed. Yeah, I just installed xxd 5 mins ago and I saw w32api-runtime flash up on the download bar. I figured that was the package and gave gcc another shot. I

Basic gcc compilation on cygwin64

2013-07-22 Thread Richard H Lee
I'm trying to compile the following basic program on cygwin64: int main() { ; return 0; } But I get the following errors: $ gcc test.c /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../x86_64-pc-cygwin/bin/ld: cannot find -ladvapi32 /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../x86_64-pc-c

[Freedos-user] Only getting freedos text at boot when creating bootable USB

2012-12-16 Thread Richard H Lee
A few months ago I was using sys-freedos.pl to create bootable USB Freedos stick for bios updates. But I tried the same thing today, but now it is only showing "FREEDOS", with the caret after it. There is no command prompt. I essentially used the steps found here: http://wiki.gentoo.org/wiki/B

Building linux headers in an non-linux environment

2012-11-02 Thread Richard H Lee
I'm trying to install linux headers for cygwin using crostool-ng. ct-ng basically invokes the line: make -C /home/richard/scratch/x86linux/.build/src/linux-3.5 O=/home/richard/scratch/x86linux/.build/i386-unknown-linux-gnu/build/build-kernel-headers ARCH=x86 INSTALL_HDR_PATH=/home/richard/x-t

Re: [Libav-user] [libavcodec] requested bitrate is too low, when using VBR qscale

2012-07-24 Thread Richard H Lee
On 24/07/12 16:28, Nicolas George wrote: Multi-pass encoding is designed to achieve a certain average bitrate, and manage it over the whole file to give more bits to the parts that need more. The -q option sets the quantizer value (which, for any given frame, is directly related to the quality l

[Libav-user] [libavcodec] requested bitrate is too low, when using VBR qscale

2012-07-24 Thread Richard H Lee
(I'm not sure if this post belongs one of the other lists like ffmpeg-users, so please let me know if this is the wrong list.) I'm trying to do basic VBR 2-pass mpeg4 encoding with ffmpeg. The sample file is the 480p Big Buck Bunny trailer http://download.blender.org/peach/trailer/trailer_480p

Phantom processes left over

2012-07-04 Thread Richard H Lee
Has anybody come across processes being left over? I'm extending an open source project. The functionality I'm adding is keeping track of running processes. I store the list of active processes in shared memory. When querying the list I also call kill with a 0 signal on all the entries to test

Re: Persistence of file implemented objects

2012-07-01 Thread Richard H Lee
Fifos persist on reboot on Linux or Cygwin. They live on the filesystem. I don't see how POSIX IPC shared memory and semaphores could persist. Sorry, I meant unix/bsd sockets. Regarding the POSIX IPC's, they are stored in /dev . In regular *nix, /dev do not represent "physical" files on the

Persistence of file implemented objects

2012-06-30 Thread Richard H Lee
Various objects like fifo pipes, POSIX IPC shared memory and semaphores that are implemented through the filesystem in cygwin persist when the program abnornally terminates. They also persist through reboots, which is different to the behaviour on linux. This is also different with the case of

Re: FW: gdbserver on cygwin

2012-06-30 Thread Richard H Lee
On 30/06/2012 18:05, Christopher Faylor wrote: On Sat, Jun 30, 2012 at 04:22:03PM +0200, marco atzeri wrote: On 6/30/2012 3:18 PM, Richard H Lee wrote: On 30/06/2012 03:07, Buchbinder, Barry (NIH/NIAID) [E] wrote: >> Is it supported yet? > > http://cygwin.com/packag

Re: FW: gdbserver on cygwin

2012-06-30 Thread Richard H Lee
On 30/06/2012 03:07, Buchbinder, Barry (NIH/NIAID) [E] wrote: >> Is it supported yet? > > http://cygwin.com/packages/ > http://cygwin.com/cgi-bin2/package-grep.cgi?grep=gdbserver But the gdbserver binary is not available from setup.exe . It does however compile and function correctly from source.

gdbserver on cygwin

2012-06-29 Thread Richard H Lee
As of 2003 gdbserver was not supported on cygwin. Is it supported yet? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

POSIX or SYSV IPC calls on cygwin

2012-06-28 Thread Richard H Lee
I'm looking to use IPC calls on cygwin (shared memory and semaphores). The posix IPC api looks saner (easier), but it looks like it was only brought in in cygwin 1.7 . Am I better sticking to the SYSV IPC api? Or is the POSIX IPC api stable enough to use? -- Problem reports: http://cyg

[Libav-user] 2-pass bitrate problem

2012-06-11 Thread Richard H Lee
Hi, I have a problem with running the second pass encoding for mpeg4 video using libavcodec. The program that uses the lib is a non-official branch of mplayer2. It works fine for single pass and the first pass of 2 pass encoding. The error I get is "requested bitrate is too low", followed by

Re: Command parsing problem and tracefile

2012-06-08 Thread Richard H Lee
Hi Jonathan, On 08/06/12 18:17, Jonathan Nieder wrote: Thanks for writing. Who is setting _pkg_config to 'pkg-config --static', what are they trying to do, and can it be done another way? I'm compiling mplayer2. I'm basically running ./configure --enable-static . I assume without the --enabl

Command parsing problem and tracefile

2012-06-08 Thread Richard H Lee
Dash mailing list, I have one issue with dash and one question regarding debugging. First up, when I run a configure script and it hits the following line: if $_pkg_config --exists --print-errors $all_libav_libs ; then with $_pkg_config being 'pkg-config --static', dash throws the following er

Media key events

2012-02-27 Thread Richard H Lee
Hi, I'm using the MediaPlayerKeyPressed signals in org.gnome.SettingsDaemon. But they only signal when a key has been pressed, i.e. a keydown then key up cycle. Is there any where to detect the individual key up and key down events? This would be really useful for fastforwaring and rewinding

Re: [Freedos-user] Update kernel

2011-12-17 Thread Richard H Lee
On 17/12/11 20:57, Rugxulo wrote: > You mean copied the files from .iso to a native install (self-booting) > on USB? Or do you mean it uses something like UNetBootIn? > > http://unetbootin.sourceforge.net/ I created a bootable usb stick using syslinux and then copied the files over changing iso*

[Freedos-user] Update kernel

2011-12-17 Thread Richard H Lee
Hi, I copied the freedos iso to usb. I have an invalid opcode error. II have read that I need to update the kernel. The thing is is that I don't know where to copy the new kernel.sys as I can't find the existing kernel on the usb stick. Richard --

Re: [ubuntu-art] Community toolkit?

2010-11-23 Thread Richard H Lee
On 23/11/10 17:25, Сергей wrote: > Yes, I know it, but the problem is I can't locate the project. I'm not sure about the wiki, but the loco project is located here: https://launchpad.net/loco-directory/ You can modify the translations from there. -- ubuntu-art mailing list ubuntu-art@lists.ubu

Re: [ubuntu-art] Community toolkit?

2010-11-23 Thread Richard H Lee
On 23/11/10 17:19, Сергей wrote: > Second, where loco.ubuntu.com and > wiki.ubuntu.com are translated? There are > several translation errors and I don't know where to fix them. For the translation, if you can locate the launchpad project, there wi

Re: [ubuntu-art] Community toolkit?

2010-11-23 Thread Richard H Lee
On 23/11/10 16:40, Thorsten Wilms wrote: > However, an interesting list of branches can be found at > https://code.launchpad.net/ubuntu-website Yes, these are a branches for various theme frameworks and websites, e.g. Django, Wordpress. The web guidelines http://design.canonical.com/the-toolkit

Re: [ubuntu-art] screenshots.ubuntu.com

2010-11-18 Thread Richard H Lee
Hi, Thanks for all you input. It was very helpful. I will try and get them incorporated into the rethemed site. At the moment we are doing a just a retheming of the site to bring it inline with the other *.ubuntu.com sites. This is so that when vistors come to the site they instantly know that

[ubuntu-art] screenshots.ubuntu.com

2010-11-17 Thread Richard H Lee
Hi ubuntu art mailing list, I was half-way through retheming the screenshots.ubuntu.com when I saw the thread in this mailing list about it. I can get the basic elements which have been prescribed in the Guidelines for the Web found here http://design.canonical.com/the-toolkit/guides-for-websites

[ubuntu-art] test, plz ignore

2010-11-04 Thread Richard H Lee
-- ubuntu-art mailing list ubuntu-art@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-art

[PHP-INSTALL] Re: ./configure complaining about zlib dependency

2010-03-18 Thread Richard H Lee
All I needed to do was softlink the library

[PHP-INSTALL] ./configure complaining about zlib dependency

2010-03-17 Thread Richard H Lee
php.install, I'm trying to compile php 5.3.2 and I get an error about not having the right zlib version. I have zlib and zlib-devel installed at version 1.2.3 . I get the error: checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no checking for g

[PHP] $_FILE array being truncated

2010-03-16 Thread Richard H Lee
p.general, I have a form with 75 or so file input controls: Usually when I submit the form, I only upload two or so files. So in the post request, it sends the two files along with the other blank 73 fields. This has been working fine on my live and test servers so far. However as of the past

Re: [PHP] parse_ini_file problem [SOLVED]

2009-08-27 Thread Richard H Lee
line problems). (Arnaud) * Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file). (Jani) So I installed PHP 5.2.5 and it worked. Thanks to everyone for their help! Richard Lee Jim Lucas wrote: Richard H Lee wrote: Hi all, I think I'm havin

[PHP] parse_ini_file problem

2009-08-26 Thread Richard H Lee
Hi all, I think I'm having a problem with parse_ini_file in php. I am using wamp on two machines. I'm installing a Digishop e-commerce package. The blah.ini.php file starts with [SOMETITLE] some_setting="Ok, I Have Completed This Step" another_setting="Next" .. .. .. -