Re: php_ssh2 and php-5.3.1 (on windows)
| From: | Richard Quadling | Date: | Tue, 24 Nov 2009 13:34:10 +0000 |
| Subject: | Re: php_ssh2 and php-5.3.1 (on windows) | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6832@lists.php.net to get a copy of this message | ||
2009/11/24 Felipe Pena <felipensp@gmail.com>:
> Hello,
>
> 2009/11/24 Nicolai Scheer <scope@planetavent.de>
>
>> Hi!
>>
>> Just tried to compile the pecl ssh2 (0.11) extension with php-5.3.1 and
>> VC9 on windows.
>>
>> I noticed a few things:
>>
>> At first, it seems as of php 5.3 the ZEND_BEGIN_ARG_INFO macro already
>> contains the static keyword (to be more precise, the
>> ZEND_BEGIN_ARG_INFO_EX macro in the next expansion step). Can anybody
>> confirm this?
>>
>
> Yes, It's right.
>
>
>> This was the first thing I needed to compile the ssh2 extension. (Seems
>
> to apply for all pecl extension when compiling for php 5.3)
>>
>> Secondly, the function php_ssh2_set_callback invokes zend_is_callable
>> without using the TSRMLS_CC macro, so I had to add the TSRMLS_DC/CC
>> macros to the function definition/function calls.
>>
>>
> Ditto.
>
> --
> Regards,
> Felipe Pena
>
I've seen that message when using strftime() on Windows with format
specifiers not understood by the underlying C library.
e.g.
php -r "var_dump(strftime('%V'));"
outputs ...
Warning: Invalid CRT parameters detected in Command line code on line 1
Warning: Invalid CRT parameters detected in Command line code on line 1
Warning: Invalid CRT parameters detected in Command line code on line 1
Warning: Invalid CRT parameters detected in Command line code on line 1
Warning: Invalid CRT parameters detected in Command line code on line 1
bool(false)
Why 5 lines? No idea.
I guess there must be some value being passed to the C runtime which
it doesn't understood.
Do you get the error from ...
php -m
or
php --ri ssh2
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling