|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-07-11 15:47 UTC] requinix@php.net
-Status: Open
+Status: Duplicate
[2017-07-11 15:47 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 22:00:02 2025 UTC |
Description: ------------ When running php from another path the extensions cannot be loaded in alpha3 if extension_dir is a relative path (extension_dir = "ext"). This works in all versions before. Test script: --------------- When calling this in a CMD window: C:\Sandbox\tests\php7.2-bug>c:\php\7.2.0alpha3-nts\php test2.php Several warnings will arise because libraries cannot be loaded. When calling the script the other way round the extensions are loaded without a problem: C:\php\7.2.0alpha3-nts>php c:\Sandbox\tests\php7.2-bug\test2.php Actual result: -------------- PHP Warning: Cannot access dynamic library 'gd2' (tried : ext\gd2, ext\php_gd2.dll) in Unknown on line 0 Warning: Cannot access dynamic library 'gd2' (tried : ext\gd2, ext\php_gd2.dll) in Unknown on line 0 ...