Re: [PHP-WIN] 64 bit platform improvements

2014-01-06 Thread Jan Ehrhardt
Jan Ehrhardt in php.windows (Thu, 26 Dec 2013 00:58:34 +0100): >Ontopic again: the bad news is that I am now getting segfaults with the >experimental builds in Drupal7. I do not know what caused the change >(might be the upgrade of some Drupal modules). Anyway: opcache in the >experimental builds n

Re: [PHP-WIN] Re: Opcache crashes. Was: [PHP-WIN] 64 bit platform improvements

2014-01-06 Thread Jan Ehrhardt
Jan Ehrhardt in php.windows (Sun, 05 Jan 2014 17:25:31 +0100): >OK, got a ZwTerminateProcess.dmp by tracking the php-cgi.exe PID on >memory leaks and the like. No debug symbols yet, so I will run another >analysis. I cannot get DebugDiag to find the correct symbols. And I do not know how to do the

Re: [PHP-WIN] 64 bit platform improvements

2013-12-28 Thread Anatol Belski
Hi Jan, great you stay on this issue. On Sat, December 28, 2013 15:06, Jan Ehrhardt wrote: > "Anatol Belski" in php.windows (Thu, 26 Dec 2013 23:10:41 +0100): > >> Yeah, there is a page >> https://bugs.php.net/bugs-generating-backtrace-win32.php , the debug >> tool is in current version 2.0 now,

Re: [PHP-WIN] 64 bit platform improvements

2013-12-28 Thread Jan Ehrhardt
"Anatol Belski" in php.windows (Thu, 26 Dec 2013 23:10:41 +0100): >Yeah, there is a page >https://bugs.php.net/bugs-generating-backtrace-win32.php , the debug tool >is in current version 2.0 now, but the screenshots are compatible. I am now getting this result with a x64 debug build: WARNING - De

Re: [PHP-WIN] 64 bit platform improvements

2013-12-28 Thread Pierre Joye
On Sat, Dec 28, 2013 at 3:06 PM, Jan Ehrhardt wrote: > "Anatol Belski" in php.windows (Thu, 26 Dec 2013 23:10:41 +0100): >>Yeah, there is a page >>https://bugs.php.net/bugs-generating-backtrace-win32.php , the debug tool >>is in current version 2.0 now, but the screenshots are compatible. > > I am

Re: [PHP-WIN] 64 bit platform improvements

2013-12-28 Thread Anatol Belski
Jan, On Sat, December 28, 2013 19:18, Jan Ehrhardt wrote: > Jan Ehrhardt in php.windows (Sat, 28 Dec 2013 17:53:13 +0100): > >> Silly design of DebugDiag. Why does not it look by default in the >> directory where the DLL is located? VC does it that way >> >> I am now putting then in c:\symcach

Re: [PHP-WIN] 64 bit platform improvements

2013-12-26 Thread Jan Ehrhardt
Jan Ehrhardt in php.windows (Thu, 26 Dec 2013 22:25:25 +0100): >Program received signal SIGSEGV, Segmentation fault. >[Switching to Thread 872.0xb44] >0x6fdfdf9f in zend_mm_set_custom_handlers () > from D:\phpdev\php57.x86\php5ts.dll >(gdb) bt >#0 0x6fdfdf9f in zend_mm_set_custom_handlers () >

Re: [PHP-WIN] 64 bit platform improvements

2013-12-26 Thread Jan Ehrhardt
Jan Ehrhardt in php.windows (Thu, 26 Dec 2013 20:47:08 +0100): >I will try to get a BT with GDB. Probably that wil mean I have to load >PHP 5.7 as mod_php in a VC11 Apache, because GDB does not catch errors >of a php-cgi that is loaded from within Apache. > >I will install Apache 3.4.7 VC11 now on

Re: [PHP-WIN] 64 bit platform improvements

2013-12-26 Thread Jan Ehrhardt
"Anatol Belski" in php.windows (Thu, 26 Dec 2013 22:35:06 +0100): >On Thu, December 26, 2013 20:47, Jan Ehrhardt wrote: >> I will try to get a BT with GDB. Probably that wil mean I have to load >> PHP 5.7 as mod_php in a VC11 Apache, because GDB does not catch errors >> of a php-cgi that is loaded

Re: [PHP-WIN] 64 bit platform improvements

2013-12-26 Thread Anatol Belski
On Thu, December 26, 2013 22:25, Jan Ehrhardt wrote: > Jan Ehrhardt in php.windows (Thu, 26 Dec 2013 21:24:39 +0100): > >> Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' >> in includes\database\mysql\database.inc on line 46 > > False alarm, this had something to do with the e

Re: [PHP-WIN] 64 bit platform improvements

2013-12-26 Thread Anatol Belski
On Thu, December 26, 2013 22:45, Jan Ehrhardt wrote: > "Anatol Belski" in php.windows (Thu, 26 Dec 2013 22:35:06 +0100): > >> On Thu, December 26, 2013 20:47, Jan Ehrhardt wrote: >> >>> I will try to get a BT with GDB. Probably that wil mean I have to >>> load PHP 5.7 as mod_php in a VC11 Apache, b

Re: [PHP-WIN] 64 bit platform improvements

2013-12-26 Thread Jan Ehrhardt
Jan Ehrhardt in php.windows (Thu, 26 Dec 2013 21:24:39 +0100): >Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in >includes\database\mysql\database.inc on line 46 False alarm, this had something to do with the extension_dir settings. I have php 5.7 x86 TS now running as mod_

Re: [PHP-WIN] 64 bit platform improvements

2013-12-26 Thread Jan Ehrhardt
"Anatol Belski" in php.windows (Thu, 26 Dec 2013 19:37:21 +0100): >There was a number of commits to opcache last week, I also merged them >into str_size_and_int64 branch. So the code base should be comparable. I >think the best way to handle it yet is using bugs.php.net, especially as >you mean the

Re: [PHP-WIN] 64 bit platform improvements

2013-12-26 Thread Anatol Belski
On Thu, December 26, 2013 20:47, Jan Ehrhardt wrote: > "Anatol Belski" in php.windows (Thu, 26 Dec 2013 19:37:21 +0100): > >> There was a number of commits to opcache last week, I also merged them >> into str_size_and_int64 branch. So the code base should be comparable. I >> think the best way to

Re: [PHP-WIN] Re: phpinfo() not finding intl and mbstring

2013-12-16 Thread Wendell P
-- Wendell P wende...@operamail.com On Sun, Dec 15, 2013, at 08:12 PM, Good Guy wrote: > >>> ... phpinfo() indicates that > >>> the intl and mbstring extensions are not loaded > >> Have you enabled mbstring in your php.ini file? > > Yes, I did all that and intl & mbstring are working fine.

Re: [PHP-WIN] phpinfo() not finding intl and mbstring

2013-12-15 Thread Pierre Joye
On Sat, Dec 14, 2013 at 10:37 PM, Wendell P wrote: > With PHP 5.5.6 VC11 x64 Non Thread Safe: > > I unpacked the distribution on my machine, keeping the default file > structure but also installing a PECL extension in \ext. Running from the > CLI, everything seems to be working. However, phpinfo()

Re: [PHP-WIN] Re: phpinfo() not finding intl and mbstring

2013-12-15 Thread Wendell P
On Sat, Dec 14, 2013, at 01:59 PM, Good Guy wrote: > On 14/12/2013 21:37, Wendell P wrote: > > ... phpinfo() indicates that > > the intl and mbstring extensions are not loaded. Also, "php -i" says > > they are not loaded but "php -m" says that they are. I tested functions > > from both extensions a

Re: [PHP-WIN] Opcache Refresh Changed Files Problem

2013-10-01 Thread Aziz Saleh
Keith, What PHP version is this (mainly to figure out if its PECL or bundled)? What are you PHP.ini settings for opcache (mainly the revalidation frequency, etc..)? Aziz On Tue, Oct 1, 2013 at 3:05 PM, Keith Davis wrote: > Ok, I have a problem that at times, Opcache will not refresh changed >

Re: [PHP-WIN] Apache or IIS???

2013-09-18 Thread Jorge Hernandez
After careful examination of my configuration files (httpd.conf and php.ini) I could get it to run as Apache Module with these results: PHP version : 5.5.3 Platform : WINNT -- test_math : 1.059 sec. test_stringmanipulation : 2.210 sec. test_loo

Re: [PHP-WIN] win32service on php 5.4

2013-09-12 Thread Richard Quadling
On 12 September 2013 15:32, Momchil Bozhinov wrote: > Hi Anatol, > Thanks for the fast reply > The code from trunk worked.But it only worked because I used it to install > the service and then start it > which created two DWORD values that I did not have > before[HKEY_LOCAL_MACHINE\SYSTEM\Current

Re: [PHP-WIN] win32service on php 5.4

2013-09-12 Thread Momchil Bozhinov
Hi Anatol, Thanks for the fast reply The code from trunk worked.But it only worked because I used it to install the service and then start it which created two DWORD values that I did not have before[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\]WOW64 = 1BasePriority = 20 Once I added th

Re: [PHP-WIN] win32service on php 5.4

2013-09-12 Thread Anatol Belski
Hi, On Thu, September 12, 2013 14:26, Momchil Bozhinov wrote: > Hello, > I'm trying to migrate from 5.3 to 5.4, but I hit a road block > I'm using this > ext:http://windows.php.net/downloads/pecl/releases/win32service/0.1.0/ > According to the > documentation:http://www.php.net/manual/bg/win32serv

Re: [PHP-WIN] Apache or IIS???

2013-09-10 Thread br...@chalopin.fr
Le 10 sept. 2013 à 19:15, Jorge Hernandez a écrit : > Hey guys, > > Has anybody run this test, I'm in the middle of it and have found that > PHP runs faster as CGI-nts (IIS) than Module-ts (Apache), as per > Windows Server 2008 R2 running PHP 5.5.3 x64 with Apache 2.4 x64 I was > getting benchma

Re: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge

2013-09-10 Thread Bruno CHALOPIN
Le Fri, 23 Aug 2013 09:01:55 +0200, Pierre Joye a écrit : > In the long run yes, or maybe. Right now the last release is totally > unusable. For various reasons, some fixable and other will be hardly > fixable without changes in the engine > > ... Also windows as a whole is not a priority for Zen

Re: [PHP-WIN] GD imagerectangle() function - background transparency?

2013-09-06 Thread Jacob Kruger
uger" Cc: "php-windows" Sent: Friday, September 06, 2013 12:54 PM Subject: Re: [PHP-WIN] GD imagerectangle() function - background transparency? On Fri, Sep 6, 2013 at 11:13 AM, Jacob Kruger wrote: Well, here's one of the test images - literally just a test

Re: [PHP-WIN] GD imagerectangle() function - background transparency?

2013-09-06 Thread Pierre Joye
On Fri, Sep 6, 2013 at 11:13 AM, Jacob Kruger wrote: > Well, here's one of the test images - literally just a test image I took of > a pseudo-toy a while ago: > https://dl.dropboxusercontent.com/u/13327195/13771158254.png > > And, here's the current output/finished off version: > https://dl.dropbo

Re: [PHP-WIN] GD imagerectangle() function - background transparency?

2013-09-06 Thread Jacob Kruger
From: "Pierre Joye" To: "Jacob Kruger" Cc: "php-windows" Sent: Friday, September 06, 2013 10:45 AM Subject: Re: [PHP-WIN] GD imagerectangle() function - background transparency? thanks, but I was asking for the source image(s) and the resulting image (u

Re: [PHP-WIN] GD imagerectangle() function - background transparency?

2013-09-06 Thread Pierre Joye
Biker > Skype: BlindZA > '...fate had broken his body, but not his spirit...' > > - Original Message - From: "Jacob Kruger" > To: > Cc: "Pierre Joye" > Sent: Friday, September 06, 2013 8:39 AM > > Subject: Re: [PHP-WIN] GD imagerect

Re: [PHP-WIN] GD imagerectangle() function - background transparency?

2013-09-06 Thread Jacob Kruger
uot;Pierre Joye" Sent: Friday, September 06, 2013 8:39 AM Subject: Re: [PHP-WIN] GD imagerectangle() function - background transparency? Effectively, I've got sort of template images, and want to sort of draw multiple outline boxes onto them where users can then choose one to then ins

Re: [PHP-WIN] GD imagerectangle() function - background transparency?

2013-09-05 Thread Jacob Kruger
a link, and source code, etc. Thanks Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Pierre Joye" To: "Jacob Kruger" Cc: "php-windows" Sent: Friday, September 06, 2013 7:

Re: [PHP-WIN] PHP & Samba

2013-09-05 Thread Pierre Joye
hi On Thu, Sep 5, 2013 at 4:46 PM, Jorge F. Hernandez wrote: > Hey guys, > > Does anybody know a way to browse a Samba (smb) server using PHP? Network paths work just fine with any file functions. If you need special authentication like domain auth under a different users, then there are many cl

Re: [PHP-WIN] GD imagerectangle() function - background transparency?

2013-09-05 Thread Pierre Joye
hi! On Thu, Sep 5, 2013 at 10:35 PM, Jacob Kruger wrote: > Just wondering, if I load an existing image into an image resource, and then > draw a rectangle on it using the GD imagerectangle() function, and > specifically not using the imagefilledrectangle() function, does the new > rectangle/bo

Re: [PHP-WIN] PHP & Samba

2013-09-05 Thread Anatol Belski
Hi, On Thu, 2013-09-05 at 10:46 -0400, Jorge F. Hernandez wrote: > Hey guys, > > Does anybody know a way to browse a Samba (smb) server using PHP? > > Thanks. > If files were only I'd be interested on, I'd mount it as a drive on windows or as a folder on linux. Regards Anatol -- PHP Win

RE: [PHP-WIN] Re: Zend OPCache - Error - Unable to create view for file mapping

2013-08-28 Thread Keith Davis
I have no idea...maybe? I'll reference that issue in mine. Keith Davis (214) 906-5183 -Original Message- From: Jan Ehrhardt [mailto:php...@ehrhardt.nl] Sent: Tuesday, August 27, 2013 7:36 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Re: Zend OPCache - Error - Unable to create view

RE: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge

2013-08-23 Thread Eric Stenson
From: Pierre Joye [mailto:pierre@gmail.com] > > Right now the last release is totally unusable. For various > reasons, some fixable and other will be hardly fixable without > changes in the engine[.] Uh, this is news to me. We did our full release testing with WinCache + Zend Opcache enabl

Re: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge

2013-08-23 Thread Jan Ehrhardt
Pierre Joye in php.windows (Fri, 23 Aug 2013 09:01:55 +0200): >In the long run yes, or maybe. Right now the last release is totally >unusable. For various reasons, some fixable and other will be hardly >fixable without changes in the engine. I know there are some issues: https://github.com/zendtec

RE: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge

2013-08-23 Thread Keith Davis
m] Sent: Friday, August 23, 2013 2:02 AM To: Eric Stenson Cc: php-windows; Tomasz Krawczyk Subject: RE: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge On Aug 22, 2013 8:07 PM, "Eric Stenson" wrote: > > -Original Message- > From: Tomasz Krawczyk [mailto:tomkr...

RE: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge

2013-08-23 Thread Pierre Joye
On Aug 22, 2013 8:07 PM, "Eric Stenson" wrote: > > -Original Message- > From: Tomasz Krawczyk [mailto:tomkr...@gmail.com] > > > > You wrote Zend Opcache has to be enabled in PHP 5.5 so, > > it is an extension, not part of the PHP core, but it > > is bundled with PHP 5.5. > [...] > > > > Ar

RE: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge

2013-08-22 Thread Eric Stenson
-Original Message- From: Tomasz Krawczyk [mailto:tomkr...@gmail.com] > > You wrote Zend Opcache has to be enabled in PHP 5.5 so, > it is an extension, not part of the PHP core, but it > is bundled with PHP 5.5. [...] > > Are you sure you will have to remove opcode cache > from WinCache i

Re: [PHP-WIN] Folder permissions required to create/copy files in/into it during PHP script/code execution?

2013-08-22 Thread Jacob Kruger
Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: Richard Quadling To: Jacob Kruger Cc: php-windows Sent: Thursday, August 22, 2013 4:10 PM Subject: Re: [PHP-WIN] Folder permissions required to create/copy files in/

Re: [PHP-WIN] Folder permissions required to create/copy files in/into it during PHP script/code execution?

2013-08-22 Thread Richard Quadling
had broken his body, but not his spirit...' > > - Original Message - From: "Jacob Kruger" > To: > Sent: Wednesday, August 21, 2013 5:34 PM > Subject: Re: [PHP-WIN] Folder permissions required to create/copy files > in/into it during PHP script/code executio

Re: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge

2013-08-21 Thread Tomasz Krawczyk
W dniu 2013-08-21 17:11, Eric Stenson pisze: -Original Message- --E. Eric, thanks for an answer. You wrote Zend Opcache has to be enabled in PHP 5.5 so, it is an extension, not part of the PHP core, but it is bundled with PHP 5.5. I have no experience with Zend Opcache. About

Re: [PHP-WIN] Folder permissions required to create/copy files in/into it during PHP script/code execution?

2013-08-21 Thread Jacob Kruger
and write access are allowed 7 Everything is allowed Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Jacob Kruger" To: Sent: Wednesday, August 21, 2013 5:34 PM Subject: Re: [PHP-WIN] Folder per

Re: [PHP-WIN] Folder permissions required to create/copy files in/into it during PHP script/code execution?

2013-08-21 Thread Jacob Kruger
Ok, might have now fixed this - firstly set folder permissions to 777, but, then, again, turned off public execute permissions, which seemed to revert permissions to 776, but, creating the text file, using the test script still worked - but, still just wondering what the specific permission dif

RE: [PHP-WIN] Re: WinCache 1.3.5 release on SourceForge

2013-08-21 Thread Eric Stenson
-Original Message- From: Tomasz Krawczyk [mailto:tomkr...@gmail.com] > > Can you tell when sources will be available on the > http://pecl.php.net/package/wincache? Yeah, as soon as I remember how to do this, I'll take care of it. ^_^ > > Another question. Are you planing to make x64 ve

RE: [PHP-WIN] WinCache 1.3.5 release on SourceForge

2013-08-21 Thread Eric Stenson
From: Pierre Joye [mailto:pierre@gmail.com] > > What's about pecl? The repository > (http://svn.php.net/viewvc/pecl/wincache) and the web > part misses updates, package releases and tags, etc. > http://pecl.php.net/pecl. Any plan to sync them? Feel > free to ping me on lync if you need help

Re: [PHP-WIN] WinCache 1.3.5 release on SourceForge

2013-08-21 Thread Pierre Joye
hi Eric! On Tue, Aug 20, 2013 at 9:14 PM, Eric Stenson wrote: > The IIS team has published the release version of WinCache Extension 1.3.5 > for PHP 5.5 > . > This is the latest stable

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-18 Thread Pierre Joye
hi, On Sun, Aug 18, 2013 at 10:29 PM, R. S. wrote: > Pierre Joye wrote: > >> This is >> definitively a bug in the CRT and I have to discuss that with my >> colleagues from the vc team. > > Ok, so can you look at this bug report and tell me it is really a duplicate: > https://bugs.php.net/bug.php?

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-18 Thread Lester Caine
R. S. wrote: RS ... Just out of curiosity does the problem ranges of alphabets fall outside >of the limited 'UTF16' range that M$ uses for 'wide strings'. I'm busy out at an >exhibition this weekend so only have limited access to my database, but I do >seem to recall that since wide strings are

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-18 Thread R. S.
Pierre Joye wrote: > Ok, now I can reproduce it. That's actually weird and have to look at it :) Thank you! > Ok, it looks like a found a bug, not in php but in the windows API. > Which PHP version do you use (newest version uses a different CRT)? I'm using 5.4.18 Lester Caine wrote: > RS ...

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-18 Thread lester
Did you mean wide character? I was just flagging up that these are limited range on both M$ and on the Inprise platforms and some subsets do get missed. Just a thought as to possible source of problem Sent from my android device.

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-17 Thread Pierre Joye
hi! On Fri, Aug 16, 2013 at 10:45 PM, Lester Caine wrote: > R. S. wrote: >> >> if you make files like: >> testunicode-Ελλάδα or testunicode-Россия >> >> Then php can't get handle to these files with errors like: > > > RS ... Just out of curiosity does the problem ranges of alphabets fall > outsid

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-17 Thread Pierre Joye
On Sat, Aug 17, 2013 at 7:17 AM, Pierre Joye wrote: > On Fri, Aug 16, 2013 at 9:40 AM, R. S. wrote: >> Hello Pierre, >> >> Friday, August 16, 2013, 5:38:01 AM, you wrote: >> >>> and 'TESTUN~1.PHP' has unicode, created using CreateFileW with >>> 'testunicode-ßäü123-öâ.php' as path. Fetch the 8.3

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-17 Thread Pierre Joye
On Fri, Aug 16, 2013 at 9:40 AM, R. S. wrote: > Hello Pierre, > > Friday, August 16, 2013, 5:38:01 AM, you wrote: > >> and 'TESTUN~1.PHP' has unicode, created using CreateFileW with >> 'testunicode-ßäü123-öâ.php' as path. Fetch the 8.3 path and use it to >> open the file using php, works. In othe

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-17 Thread Lester Caine
R. S. wrote: if you make files like: testunicode-Ελλάδα or testunicode-Россия Then php can't get handle to these files with errors like: RS ... Just out of curiosity does the problem ranges of alphabets fall outside of the limited 'UTF16' range that M$ uses for 'wide strings'. I'm busy out at

Re: [PHP-WIN] Next question about data output...

2013-08-16 Thread Jacob Kruger
Meyer" To: "Jacob Kruger" Sent: Friday, August 16, 2013 1:39 PM Subject: Aw: Re: [PHP-WIN] Next question about data output... Jacob, could you post the part of your code where the error occurs? Perhaps we can optimize some of the code to reduce the amount of memory use

Re: [PHP-WIN] Next question about data output...

2013-08-16 Thread Jacob Kruger
der('Content-Type: image/png'); header('Content-Disposition: ' . $sDisposition . '; filename="template.png"'); header('Content-Transfer-Encoding: binary'); header('Content-Length: ' . strlen($row["b_image"])); imagepng(imagecreat

Re: [PHP-WIN] Next question about data output...

2013-08-16 Thread Jacob Kruger
OK, seems what's causing issue is imagecreatefromstring(), since, directly after retrieving longblob data from database, memory usage is: 3402136 = 3.*Mb and, then immediately after that calling: $imgOut = imagecreatefromstring($bOut); and, return that $imgOut variable to calling function, befo

Re: [PHP-WIN] Re: CLI Crash Bug

2013-08-16 Thread Jan Ehrhardt
Eric Stenson in php.windows (Thu, 25 Jul 2013 18:35:25 +): >I've filed bug https://bugs.php.net/bug.php?id=65338 to track this >issue. The root cause of the AV is when more than one module hooks the >interned strings, a "wrong" value will be left in >CG(interned_strings_start), which the Zend

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-16 Thread R. S.
Hello Pierre, Friday, August 16, 2013, 5:38:01 AM, you wrote: > and 'TESTUN~1.PHP' has unicode, created using CreateFileW with > 'testunicode-ßäü123-öâ.php' as path. Fetch the 8.3 path and use it to > open the file using php, works. In other words. exactly what your COM > script does. Now, why y

Re: [PHP-WIN] Next question about data output...

2013-08-16 Thread Jacob Kruger
Production server says following about version: PHP Version 5.3.3-7+squeeze16 My local machine is running on XAMPP, with PHP 5.3.5. Let me try out the memory_get_usage() [1] as well to see if can find out how much memory is being used up, when, and by what part of process. FWIW, here are the

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-15 Thread Pierre Joye
hi, On Thu, Aug 15, 2013 at 7:40 PM, R. S. wrote: > Hello Pierre, > > Thursday, August 15, 2013, 10:40:56 AM, you wrote: > >> Short paths work just fine. Not sure what goes wrong with the COM APIs > > Have you even read my example, or any of my posts before ? yes. > There is nothing wrong with

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-15 Thread R. S.
Hello Pierre, Thursday, August 15, 2013, 10:40:56 AM, you wrote: > Short paths work just fine. Not sure what goes wrong with the COM APIs Have you even read my example, or any of my posts before ? There is nothing wrong with COM API, paradoxically COM works ok and handles long and short paths ju

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-15 Thread Pierre Joye
hi! On Wed, Aug 14, 2013 at 7:15 PM, R. S. wrote: > Hello Pierre, > > Wednesday, August 14, 2013, 10:27:24 AM, you wrote: > >> COM is not PHP: You are calling the FileSystemObject's GetFile via COM >> which uses unicode APIs under the hood. Nothing to do with PHP >> streams. > > Yes, I know that,

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-14 Thread R. S.
Hello Pierre, Wednesday, August 14, 2013, 10:27:24 AM, you wrote: > COM is not PHP: You are calling the FileSystemObject's GetFile via COM > which uses unicode APIs under the hood. Nothing to do with PHP > streams. Yes, I know that, and here COM has no issues with unicode. But in my example COM

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-14 Thread Pierre Joye
hi, On Wed, Aug 14, 2013 at 9:09 AM, R. S. wrote: > The code is provided in this thread and in my (dismissed) > bug report. > > $FS = new \COM('Scripting.FileSystemObject', null, CP_UTF8); > $FS->CreateTextFile("c:\\Ελλάδα.txt"); > $ShortPath = $FS->GetFile("c:\\Ελλάδα.txt")->Sh

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-14 Thread R. S.
Hello Pierre, Thursday, August 8, 2013, 7:07:04 AM, you wrote: > PHP does nothing with the paths a script passes to the IO function. > The only operation being done is to resolve relative paths and the > likes but that will only prepend the given path with the current > directory and remove ../..

Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function?

2013-08-13 Thread Jacob Kruger
/mention of/for, etc. Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Jacob Kruger" To: Sent: Tuesday, August 13, 2013 7:03 PM Subject: Re: [PHP-WIN] Performance/handling limit on mys

Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function?

2013-08-13 Thread Jacob Kruger
); Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Jacob Kruger" To: Sent: Tuesday, August 13, 2013 5:49 PM Subject: Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function

Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function?

2013-08-13 Thread Jacob Kruger
- Original Message - From: "Jacob Kruger" To: Cc: "Pierre Joye" Sent: Tuesday, August 13, 2013 5:45 PM Subject: Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function? And, here's the current test code: //start code $f = fopen(&qu

Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function?

2013-08-13 Thread Jacob Kruger
]=> string(26) "MySQL server has gone away" ["sqlstate"]=> string(5) "HY000" ["id"]=> int(1) Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Jacob Kr

Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function?

2013-08-13 Thread Jacob Kruger
A '...fate had broken his body, but not his spirit...' - Original Message - From: "Jacob Kruger" To: Cc: "Pierre Joye" Sent: Tuesday, August 13, 2013 9:28 AM Subject: Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function? Thanks - looks pret

Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function?

2013-08-13 Thread Jacob Kruger
Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Pierre Joye" To: "Jacob Kruger" Cc: "php-windows" Sent: Tuesday, August 13, 2013 9:08 AM Subject

Re: [PHP-WIN] Performance/handling limit on mysqli_real_escape_string() function?

2013-08-13 Thread Pierre Joye
hi! On Mon, Aug 12, 2013 at 11:24 PM, Jacob Kruger wrote: > What with trying to store image data in mySQL database, I am saving the > results of fread() function carried out using the file handle returned from > fopen(), with the "rb" argument to tell it the file is for binary reading. > > Eith

Aw: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-12 Thread oli . laurel
Special Build: & 5.5.1 x86 + Windows 2008 R2 SP1 Regards Oli - Original Nachricht Von: Jacob Kruger An: php-windows@lists.php.net Datum: 02.08.2013 20:04 Betreff: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1 > And, if y

Re: Aw: Re: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-10 Thread Anatol Belski
On Fri, 2013-08-09 at 15:33 +0530, Kunal Bajpai wrote: > Unsubscribe me see http://php.net/mailing-lists.php Cheers Anatol -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Aw: Re: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-09 Thread Kunal Bajpai
Unsubscribe me

Aw: Aw: Re: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-09 Thread oli . laurel
Hi, it seems to be a problem with readfile() when file is downloaded in parts (as steam). If i remove "--limit-rate=20k" of wget all requests are 200. How can i solve this problem? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-07 Thread Pierre Joye
hi, On Thu, Aug 1, 2013 at 6:41 PM, R. S. wrote: > Hello Anatol, > > Wednesday, July 31, 2013, 12:47:58 AM, you wrote: > >> As a dessert I'd suggest you to read this ticket from not very recent past >> about how it's going in python http://bugs.python.org/issue13247 :) > > I tried this in python:

Re: [PHP-WIN] Cropping images with fading outline effects, using GD, etc.?

2013-08-07 Thread Jacob Kruger
Thanks Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Pierre Joye" To: "Jacob Kruger" Cc: "php-windows" Sent: Wednesday, August 07, 2013 10:08 AM Subject: Re: [PHP-WIN] Crop

Re: [PHP-WIN] Cropping images with fading outline effects, using GD, etc.?

2013-08-07 Thread Jacob Kruger
For example, the following imagick function might handle output image opacity setting, but, it would still be nice to just handle outline gradual fading on one go: http://www.php.net/manual/en/imagick.setimageopacity.php Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his

Re: [PHP-WIN] Cropping images with fading outline effects, using GD, etc.?

2013-08-07 Thread Pierre Joye
hi! Can you post a link to an image showing what you like to achieve? With the src image? Thanks! On Wed, Aug 7, 2013 at 9:46 AM, Jacob Kruger wrote: > I need/want to be able to take either uploaded, or stored image files, and > crop them into either rectangular, or elliptical pieces/shapes, a

Aw: Re: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-03 Thread oli . laurel
An: php-windows@lists.php.net Datum: 03.08.2013 00:11 Betreff: Re: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1 > And, what if you try reading the file's contents into a variable, and then > echo that to the output buffer: > > $track = &q

Aw: RE: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-03 Thread oli . laurel
za.co.za" , "php-windows@lists.php.net" Datum: 02.08.2013 22:51 Betreff: RE: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1 > I'm unable to repro on a VM with PHP 5.5.1. > > From systeminfo, the VM is running Server 2012 Datacenter > &

Re: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-02 Thread Jacob Kruger
lean' output of file contents. Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: To: ; Sent: Friday, August 02, 2013 8:48 PM Subject: Aw: Re: [PHP-WIN] Readfile() + mpg = http status 500

RE: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-02 Thread Eric Stenson
, "\n Aborting" unless $response->is_success; print "Got $url"; [end getmovie.pl] [test cmd line] for /L %i in (0,1,10) do start perl.exe getmovie.pl %i -Original Message- From: oli.lau...@arcor.de [mailto:oli.lau...@arcor.de] Sent: Friday, August 02, 2013 11:48 AM T

Aw: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-02 Thread oli . laurel
: Jacob Kruger An: php-windows@lists.php.net Datum: 02.08.2013 20:04 Betreff: Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1 > And, if you change Content-Disposition to something like?: > header('Content-Disposition: attachment; filename="movie.

Re: [PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-02 Thread Jacob Kruger
And, if you change Content-Disposition to something like?: header('Content-Disposition: attachment; filename="movie.mpg"'); Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: To: Sent: Friday, August 02, 2013 6:20 P

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-08-01 Thread R. S.
Hello Anatol, Wednesday, July 31, 2013, 12:47:58 AM, you wrote: > As a dessert I'd suggest you to read this ticket from not very recent past > about how it's going in python http://bugs.python.org/issue13247 :) I tried this in python: filename = "e:\z_Ελλάδα.txt" a = open(filename, "w")

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-07-30 Thread R. S.
Hello Anatol, Wednesday, July 31, 2013, 12:47:58 AM, you wrote: > Warning: fopen(ZZ~1.TXT): failed to open stream: Invalid argument in > Command line code on line 1 > bool(false) Yes, but how does the function even know that there are multibyte in it's arguments ? Since it was given the asci

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-07-30 Thread Anatol Belski
Dear R.S., On Tue, July 30, 2013 23:28, R. S. wrote: > I filled a bug here: https://bugs.php.net/bug.php?id=65358 > But they dismissed it as duplicate. > It has nothing to do with these bugs: > https://bugs.php.net/bug.php?id=64699 > https://bugs.php.net/bug.php?id=61315 > > > Where people tried t

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-07-30 Thread R. S.
Hello Anatol, Tuesday, July 30, 2013, 10:13:28 PM, you wrote: > In addition to the fact that 8.3 names are an issue themselves as they > might be not present on a particular system, I don't see any issue if 8.3 are not present. If they don't they don't. I think then com would even be able to cre

Re: [PHP-WIN] Re: CLI Crash Bug

2013-07-30 Thread Jan Ehrhardt
Keith Davis in php.windows (Tue, 30 Jul 2013 15:57:05 -0500): >But I thought from the previous fix, what was updated was php5.dll. So, >to be clear, I want to use a base (revert my php5.dll file to base) >5.5.1 build with the new php_wincache.dll and php_opcache.dll files? Yes. Dmitry took another

RE: [PHP-WIN] Re: CLI Crash Bug

2013-07-30 Thread Keith Davis
For clarity, I'm testing the whole 5.5.2-dev build. Seems to work fine. Keith Davis (214) 906-5183 From: Keith Davis [mailto:keithda...@pridedallas.com] Sent: Tuesday, July 30, 2013 3:57 PM To: php-windows@lists.php.net Subject: RE: [PHP-WIN] Re: CLI Crash Bug But I thought from the pre

RE: [PHP-WIN] Re: CLI Crash Bug

2013-07-30 Thread Keith Davis
...@ehrhardt.nl] Sent: Tuesday, July 30, 2013 11:25 AM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Re: CLI Crash Bug Jan Ehrhardt in php.windows (Tue, 30 Jul 2013 18:15:50 +0200): >Keith Davis in php.windows (Fri, 26 Jul 2013 16:24:26 -0500): >>Ok, I copied both php

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-07-30 Thread Anatol Belski
On Tue, 2013-07-30 at 18:53 +0200, R. S. wrote: > > This is a known issue with 8 bit filenames, please read here > > Yes, but 8.3 names are not 8-bit. In addition to the fact that 8.3 names are an issue themselves as they might be not present on a particular system, it's about a multibyte name in

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-07-30 Thread R. S.
Hello Anatol, Tuesday, July 30, 2013, 6:32:42 PM, you wrote: > This is a known issue with 8 bit filenames, please read here Yes, but 8.3 names are not 8-bit. > If you work with COM, why don't > you use it to get the file contents? I really need a file handle to use with for example curl which

Re: [PHP-WIN] php can't resolve 8.3 paths to unicode filenames, is that expected ?

2013-07-30 Thread Anatol Belski
On Tue, July 30, 2013 00:25, R. S. wrote: > The thing is these paths do not have any non ascii chars in them. Old 16b > win311 apps are perfectly fine with such files, they just can't correctly > show their name nor create a fresh file with non ascii name. And such > behavior I was expecting from p

Re: [PHP-WIN] Re: CLI Crash Bug

2013-07-30 Thread Jan Ehrhardt
Jan Ehrhardt in php.windows (Tue, 30 Jul 2013 18:15:50 +0200): >Keith Davis in php.windows (Fri, 26 Jul 2013 16:24:26 -0500): >>Ok, I copied both php5.dll and php_wincache.dll from the ones you >>compiled, Jan, with Eric's patch and it works! > >New compilation without Eric's patch, but with Dmitry

Re: [PHP-WIN] Re: CLI Crash Bug

2013-07-30 Thread Jan Ehrhardt
Keith Davis in php.windows (Fri, 26 Jul 2013 16:24:26 -0500): >Ok, I copied both php5.dll and php_wincache.dll from the ones you >compiled, Jan, with Eric's patch and it works! New compilation without Eric's patch, but with Dmitry's patch of today: https://dl.dropboxusercontent.com/u/8954372/php-5

  1   2   3   4   5   6   7   8   9   10   >