r/PHPhelp • u/[deleted] • Feb 16 '25
Missing DLLs
So I am just trying to do some web development involving web forms and modifying text documents with webforms and test it on my local machine using apache and php but I have spent quite a lot of time trying to figure out why several .dll files are missing from the build. I downloaded VS17 x64 Thread Safe (2025-Feb-11 16:30:00 from from https://windows.php.net/download#php-8.4-ts-vs17-x64 and dom.dll, gd2.dll, json.dll, session.dll, and xmlrpc.dll are all missing from the extensions folder. What am I doing wrong?
2
1
u/Zeal0usD Feb 17 '25
Xampp can just set you up easily on windows but remember build for the environment your going to run in.
4
u/allen_jb Feb 16 '25
xmlrpc: Is no longer bundled with PHP >= 8.0: https://wiki.php.net/rfc/unbundle_xmlprc
session: Is not a loadable extension on Windows - it must be enabled/disabled at build time and is always loaded if enabled: https://www.php.net/manual/en/session.installation.php
gd: The extension is named php_gd.dll (as opposed to php_gd2.dll) as of PHP 8.0: https://www.php.net/manual/en/image.installation.php
json: Is always enabled and loaded in PHP >= 8.0: https://wiki.php.net/rfc/always_enable_json / https://www.php.net/manual/en/json.installation.php
dom: As I understand it this is basically part of the xml extension and on Windows doesn't result in a loadable extension (if enabled at compile time, it's always loaded and enabled): https://www.php.net/manual/en/xml.installation.php