Winbinder-PHP8 icon indicating copy to clipboard operation
Winbinder-PHP8 copied to clipboard

php 8.4.5 compatiblity fails

Open N6REJ opened this issue 7 months ago • 6 comments
trafficstars

After using your example code with php 8.2.3 and alot of rework, we were able to get https://github.com/Bearsampp/Sandbox working. We are attempting now to upgrade that code to php 8.4.5 and we're getting php module failures for

  1. php_win32ps.dll
  2. php_win32service.dll
  3. php_winbinder.dll and php_win32std.dll no longer exists in php 8.4.5 Here is the errors we received.
[06-Apr-2025 01:39:55 UTC] PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:55 UTC] PHP Warning:  PHP Startup: winbinder: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:55 UTC] PHP Warning:  PHP Startup: win32ps: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:55 UTC] PHP Warning:  PHP Startup: win32service: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:55 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_win32std.dll' (tried: ./ext\php_win32std.dll (The specified module could not be found), ./ext\php_php_win32std.dll.dll (The specified module could not be found)) in Unknown on line 0
[06-Apr-2025 01:39:55 UTC] PHP Deprecated:  PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
[06-Apr-2025 01:39:55 UTC] PHP Warning:  PHP Startup: Declaration of case-insensitive constants is no longer supported in Unknown on line 0
[06-Apr-2025 01:39:55 UTC] PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: winbinder: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: win32ps: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: win32service: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_win32std.dll' (tried: ./ext\php_win32std.dll (The specified module could not be found), ./ext\php_php_win32std.dll.dll (The specified module could not be found)) in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Deprecated:  PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: Declaration of case-insensitive constants is no longer supported in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: winbinder: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: win32ps: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: win32service: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_win32std.dll' (tried: ./ext\php_win32std.dll (The specified module could not be found), ./ext\php_php_win32std.dll.dll (The specified module could not be found)) in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Deprecated:  PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
[06-Apr-2025 01:39:56 UTC] PHP Warning:  PHP Startup: Declaration of case-insensitive constants is no longer supported in Unknown on line 0
[06-Apr-2025 01:39:57 UTC] PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:57 UTC] PHP Warning:  PHP Startup: winbinder: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:57 UTC] PHP Warning:  PHP Startup: win32ps: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:57 UTC] PHP Warning:  PHP Startup: win32service: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:39:57 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_win32std.dll' (tried: ./ext\php_win32std.dll (The specified module could not be found), ./ext\php_php_win32std.dll.dll (The specified module could not be found)) in Unknown on line 0
[06-Apr-2025 01:39:57 UTC] PHP Deprecated:  PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
[06-Apr-2025 01:39:57 UTC] PHP Warning:  PHP Startup: Declaration of case-insensitive constants is no longer supported in Unknown on line 0
[06-Apr-2025 01:40:06 UTC] PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:40:06 UTC] PHP Warning:  PHP Startup: winbinder: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:40:06 UTC] PHP Warning:  PHP Startup: win32ps: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:40:06 UTC] PHP Warning:  PHP Startup: win32service: Unable to initialize module
Module compiled with module API=20220829
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0
[06-Apr-2025 01:40:06 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_win32std.dll' (tried: ./ext\php_win32std.dll (The specified module could not be found), ./ext\php_php_win32std.dll.dll (The specified module could not be found)) in Unknown on line 0
[06-Apr-2025 01:40:06 UTC] PHP Deprecated:  PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
[06-Apr-2025 01:40:06 UTC] PHP Warning:  PHP Startup: Declaration of case-insensitive constants is no longer supported in Unknown on line 0

Can you solve these issues or should I attempt to use purely php/vbs/windows native code. I don't know how I would solve the issue of not having php_winbinder.dll however becaUse we do have a gui in our loading and unloading screens.

N6REJ avatar Apr 06 '25 01:04 N6REJ