php-windows Digest 9 May 2012 05:29:16 -0000 Issue 4039
Topics (messages 30866 through 30871):
Re: Need php_wincache.dll for PHP 5.4
30866 by: Pierre Joye
30867 by: Jan Ehrhardt
30868 by: Jan Ehrhardt
30869 by: Ferenc Kovacs
30870 by: Jan Ehrhardt
Varying naming conventions/pre-defined method names...<smile>
30871 by: Jacob Kruger
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
hi!
why don't you ask the authors directly instead of using random binaries?
On Tue, May 8, 2012 at 8:59 AM, Jan Ehrhardt <php...@ehrhardt.nl> wrote:
> "Keith Davis" in php.windows (Mon, 7 May 2012 18:39:09 -0500):
>>Wait. Did you compile 1.3.0? We were never told that this was compiled
>>and we're actively working with MS to get this done.
>>
>>http://forums.iis.net/t/1187707.aspx
>
> As you can see at http://x32.elijst.nl/phpinfo.php5f I compiled the
> Wincache 1.3.0RC1. First it failed to compile because of a missing
> PHP_MEMCACHE_STATIC or something like that. After I had put the PECL
> Memcache package in my build path it compiled fine.
>
> Jan
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
It is no random binary. It is the wincache 1.3.0RC1 PECL release:
http://pecl.php.net/package/WinCache/1.3.0
I reported back to MS in this thread:
http://forums.iis.net/t/1187707.aspx
Jan
Pierre Joye in php.windows (Tue, 8 May 2012 09:28:37 +0200):
>why don't you ask the authors directly instead of using random binaries?
>
>On Tue, May 8, 2012 at 8:59 AM, Jan Ehrhardt <php...@ehrhardt.nl> wrote:
>> "Keith Davis" in php.windows (Mon, 7 May 2012 18:39:09 -0500):
>>>Wait. Did you compile 1.3.0? We were never told that this was compiled
>>>and we're actively working with MS to get this done.
>>>
>>>http://forums.iis.net/t/1187707.aspx
>>
>> As you can see at http://x32.elijst.nl/phpinfo.php5f I compiled the
>> Wincache 1.3.0RC1. First it failed to compile because of a missing
>> PHP_MEMCACHE_STATIC or something like that. After I had put the PECL
>> Memcache package in my build path it compiled fine.
>>
>> Jan
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
--- End Message ---
--- Begin Message ---
Pierre Joye in php.windows (Tue, 8 May 2012 09:28:37 +0200):
>why don't you ask the authors directly instead of using random binaries?
It seems you are (maybe without knowing it) one of those authors. The
1.3.0RC1 of the PECL wincache sources contained the line:
ADD_EXTENSION_DEP('memcache', 'session');
This caused the error about an undefined PHP_MEMCACHE_SHARED. Of course,
the line had to be
ADD_EXTENSION_DEP('wincache', 'session');
The offending line was exactly the same as the one in
http://svn.php.net/viewvc/pecl/memcache/trunk/config.w32?view=markup
Jan
--- End Message ---
--- Begin Message ---
On Tue, May 8, 2012 at 6:23 PM, Jan Ehrhardt <php...@ehrhardt.nl> wrote:
> Pierre Joye in php.windows (Tue, 8 May 2012 09:28:37 +0200):
> >why don't you ask the authors directly instead of using random binaries?
>
> It seems you are (maybe without knowing it) one of those authors. The
> 1.3.0RC1 of the PECL wincache sources contained the line:
>
> ADD_EXTENSION_DEP('memcache', 'session');
>
> This caused the error about an undefined PHP_MEMCACHE_SHARED. Of course,
> the line had to be
>
> ADD_EXTENSION_DEP('wincache', 'session');
>
> The offending line was exactly the same as the one in
> http://svn.php.net/viewvc/pecl/memcache/trunk/config.w32?view=markup
>
>
that was introduced in
http://svn.php.net/viewvc/pecl/wincache/trunk/config.w32?r1=324182&r2=324181&pathrev=324182
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
--- End Message ---
--- Begin Message ---
Ferenc Kovacs in php.windows (Tue, 8 May 2012 18:36:08 +0200):
>> ADD_EXTENSION_DEP('memcache', 'session');
>that was introduced in
>http://svn.php.net/viewvc/pecl/wincache/trunk/config.w32?r1=324182&r2=324181&pathrev=324182
OK. I can see you are quite more experienced with svn than I am ;-)
Jan
--- End Message ---
--- Begin Message ---
Something spent a bit of time trying to sort out yesterday, until I realised
that it doesn't always help to have recently worked in a few different
programming languages, etc...<smile>
Effectively, was trying to figure out why wasn't managing to pass varying
numbers of parameters to the class constructor function in PHP - and eventually
figured out that it doesn't help to have sort of automatically used the
__init__ method name for the constructor function/method, since that's the one
you'd use in python, but in PHP, you use __construct.
Think that aside from having sort of automatically just typed it in without
thinking too much about it, the fact that they both start with the double
underline character meant that thereafter, I was most likely ignoring/not
paying much attention to that specific piece/part of the code, while was trying
to figure out why it then wouldn't allow me to determine how many parameters
had been passed, which of them in the collection were then actually named/being
defined, etc. etc.
Meant that while I had some sort of class properties being pre-defined/pre-set,
it wasn't handling the re-assignment of values I thought I was passing in, and
then I moved over to thinking that was somehow handling the assignment
evaluation/determination incorrectly, etc., and even ended up trying to assign
certain property values sort of by default to make sure that the function
call/constructor was being made use of - that's roundabout when realised what
had done wrong...
Funny to think about it now, but at the time, it was becoming a little
frustrating...LOL!
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
--- End Message ---