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

2014-01-12 Thread Jan Ehrhardt
Dmitry Stogov in php.windows (Mon, 30 Dec 2013 11:23:19 +0400): >I would very appreciate, if you provide more or less compact reproducable >case. OK, I tracked it down to the module that causes the internal server error 500: Superfish. https://drupal.org/project/superfish Take any Drupal7 site, u

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

2014-01-12 Thread Jan Ehrhardt
Jan Ehrhardt in php.windows (Sun, 12 Jan 2014 23:09:13 +0100): >Dmitry Stogov in php.windows (Mon, 30 Dec 2013 11:23:19 +0400): >>I would very appreciate, if you provide more or less compact reproducable >>case. > >OK, I tracked it down to the module that causes the internal server >error 500: Supe

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

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

2014-01-04 Thread Jan Ehrhardt
Jan Ehrhardt in php.windows (Thu, 02 Jan 2014 17:16:33 +0100): >This made it easy to switch the second PHP version and test when the >500-error occurs. A bit to my surprise it only happens for the NTS >versions of PHP 5.4 and PHP 5.5. The NTS version of PHP 5.3 runs without >problems with the opcac

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

[PHP-WIN] Windows builds PECL site integration

2013-10-04 Thread Anatol Belski
Hi, as one could already have seen, the links to the extension DLLs has been integrated into the PECL website. Basically the builds done until now are shown. Together with the automatic builds this brings automatic updates for every new release built for windows. A couple of notes I'd like to brin

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 >

[PHP-WIN] List Problems

2013-10-01 Thread Keith Davis
For some reason, my subscription was "broken." I was not receiving and I tried to send, twice, and it did not go through (no error, no nothing and not in archive.) So, I subscribed again, and was told I was already subscribed. Tried to send again, and now it's working. Just an FYI. This mess

[PHP-WIN] Opcache Refresh Changed Files Problem

2013-10-01 Thread Keith Davis
Ok, I have a problem that at times, Opcache will not refresh changed files. Sometimes it will and sometimes it won't. What can I do to improve / fix this? This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individ

[PHP-WIN] Color scheme/table differences, from operating system to operating system?

2013-09-29 Thread Jacob Kruger
What with all my attempts to sort out image manipulation, etc., am now working on playing around with imageMagick, and seems to be handling most things well enough, but, one specific thing am trying to figure out now is that when used GD to scan an image pixel by pixel and determine the colours

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

[PHP-WIN] win32service on php 5.4

2013-09-12 Thread Momchil Bozhinov
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/win32service.constants.php This one should exist: ​WIN32_ERROR_CALL_NOT_IMPLEMENTE

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

[PHP-WIN] Apache or IIS???

2013-09-10 Thread Jorge Hernandez
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 benchmarks of over 15 secs, I just ran the same benchmark on Windows Serv

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

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

2013-09-05 Thread Jacob Kruger
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/box overlay the existing image content, or just draw the outlines the

[PHP-WIN] PHP & Samba

2013-09-05 Thread Jorge F. Hernandez
Hey guys, Does anybody know a way to browse a Samba (smb) server using PHP? Thanks. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] More about file/directory permissions

2013-08-30 Thread Jacob Kruger
With regards to that CMS system of mine, I am, if necessary, creating the output/upload directories/folders when they need to be made use of using the following function call in PHP code: mkdir("./sites/" . $sRelPath, 0776); mkdir("./sites/" . $sRelPath . "/images", 0776); I can then do somethin

[PHP-WIN] My own, relatively simple, complete CMS system

2013-08-30 Thread Jacob Kruger
Smallish, simplish, and specifically, while using mySQL to handle user profiles, store content, for later editing/reference/use thereof, etc., also, specifically, generates 'flat'/static output content to a /sites sub-directory - but, that's a form of configuration option you can change/edit in

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 c

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

2013-08-27 Thread Jan Ehrhardt
Keith Davis in php.windows (Tue, 27 Aug 2013 16:00:21 -0500): >I have fixed this 2 different ways. The first is to run >opcache_reset() from localhost Is not this related to issue https://github.com/zendtech/ZendOptimizerPlus/issues/118 It might not be Windows-specific at all. Jan -- PHP Windo

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

2013-08-27 Thread Keith Davis
I just filed this bug report, but given this is appears to be such a Windows specific issue, I figured I'd post it here as well and see what feedback I got: https://github.com/zendtech/ZendOptimizerPlus/issues/127 Unable to create view for file mapping No milestone No one is assigned There was a

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

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

2013-08-21 Thread Jan Ehrhardt
Tomasz Krawczyk in php.windows (Wed, 21 Aug 2013 08:55:01 +0200): >Another question. Are you planing to make x64 version? PHP 5.5 is ready >for x64 and a lot of people is interested in. Just try it: http://www.apachelounge.com/viewtopic.php?t=5520 The NTS x64 version contains php_wincache.dll. I

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
difference/recommendation is/should be? Stay well 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:05 PM Subject: [PHP-WIN] Folder permission

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

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

2013-08-21 Thread Jacob Kruger
I have got a /images folder, and I want to sometimes copy uploaded files from the temp path - using their temp_name file names, which works for other things, to then copy them into this folder in the root of the website, and renaming them at the same time to a name based on time() . rand(1, 10),

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

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

2013-08-20 Thread Tomasz Krawczyk
W dniu 2013-08-20 21:14, Eric Stenson pisze: The IIS team has published the release version of WinCache Extension 1.3.5 for PHP 5.5 . This is the latest stable and production ready ver

[PHP-WIN] WinCache 1.3.5 release on SourceForge

2013-08-20 Thread Eric Stenson
The IIS team has published the release version of WinCache Extension 1.3.5 for PHP 5.5 . This is the latest stable and production ready version of the extension for PHP 5.5. Installati

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 ...

[PHP-WIN] Simple method for generating PDF files for output/download, based on pretty much just image content

2013-08-18 Thread Jacob Kruger
Like subject line says, while have come across various modules/classes for trying to handle all sorts of involved PDF output file generation, I pretty much only need/want to spit out a PDF file containing something like a single image file, or maybe one per page, and, yes, suppose, possibly with

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
27;...fate had broken his body, but not his spirit...' - Original Message - From: "Sascha Meyer" To: "Jacob Kruger" Sent: Friday, August 16, 2013 8:57 AM Subject: Aw: [PHP-WIN] Next question about data output... Good morning Jacob, could you check if memor

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
set($bOut); return $imgOut; imagedestroy($imgOut); } else { return NULL; } }//end of dbGetImage function Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Sascha Meyer" To: "Jacob Kruger"

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

2013-08-15 Thread Jacob Kruger
On my development, windows machine, the memory_limit iniValue is set to 128M, and on the production server - think linux box, it's set to 1280M, but, the bit of script to render an image from database as image resource to browser, works fine on my machine, but, on server, the following error occ

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,

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

2013-08-15 Thread oli . laurel
Hi List, I opend a bug report. Hope this helps to find the problem. https://bugs.php.net/bug.php?id=65453 Regards - Original Nachricht Von: sniukbp sniukbp An: php-windows@lists.php.net Datum: 14.08.2013 21:58 Betreff: [PHP-WIN] Readfile() + mpg = http status 500, windows

[PHP-WIN] imageManipulation wrapper class, etc.

2013-08-14 Thread Jacob Kruger
If interested, here's what seems to be a sort of working image manipulation utility class, etc., along with a few examples of usage - index.php loads a physical image, and applies multiple effects to it, before storing it in the DB, and then show_image.php renders the image out for display, and

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

2013-08-14 Thread sniukbp sniukbp
Good morning, I run into same trouble. Kind regards hi oli, i can confirm this if i use following command. one download one 500 [download.cmd] "C:\Program Files (x86)\GnuWin32\bin\wget.exe" --limit-rate=4 http://127.0.0.1/index.php did you find any solution? regards Hi List, i instal

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

[PHP-WIN] Found the cause of corrupted data storage in mySQL

2013-08-14 Thread Jacob Kruger
Along the lines of all my recent posts, finally 'woke up', and went to go double check limits on blob, and longblob data storage lengths, and, yes, blob is limited to 64Kb = 65536 bytes, which is why it was truncating the data I was attempting to store in a column of data type blob, which is now

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

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

2013-08-13 Thread james maisner
hi oli, i can confirm this if i use following command. one download one 500 [download.cmd] "C:\Program Files (x86)\GnuWin32\bin\wget.exe" --limit-rate=4 http://127.0.0.1/index.php did you find any solution? regards Hi List, i installed a blank Windows Server 2012 Standard, added Role IIS &

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

  1   2   3   4   5   6   7   8   9   10   >