You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the Microsoft CAPICOM 2.1.0.2 SDK if someone needs it.
While kinda obscure in 2022, it's still an easy way for to add crypto capability for Windows PHP if for some reason you can't upgrade PHP itself.
The text was updated successfully, but these errors were encountered:
Problem:
method_exists
does not work for the COM class.Tested non-working on Windows 7 x64, PHP5.6.32 (VC11-x86-ts) and PHP 7.3.33 (VC15-x86-nts)
Solution: Use
is_callable
instead.See this gist for implementation example: https://gist.github.com/anzz1/29a787fac8ef6d693b41779911287505
Here is the Microsoft CAPICOM 2.1.0.2 SDK if someone needs it.
While kinda obscure in 2022, it's still an easy way for to add crypto capability for Windows PHP if for some reason you can't upgrade PHP itself.
The text was updated successfully, but these errors were encountered: