Re: Some extensions can't be loaded by mod_php without adding PHPdirectory into PATH
[email protected] (Evgeny Vrublevsky) Thu, 4 Nov 2021 16:41:53 +0300
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <CAM9wj5HQar__oWNR=r5eM+naj_Vd2RVR5gfAxQDLT9aMGsjRiQ@mail.gmail.com> |
--00000000000026df3005cff6b1f8 Content-Type: text/plain; charset="UTF-8" > > I have no strong feelings about this; setting the PATH as needed > shouldn't be an issue for a developer, but some convenience is nice as > well. I suggest that you submit a pull request[1], though. > > Also note that we still support Windows 7/Server 2008 RC2, so this would > require some special handling (unless we want to drop support for these > Windows versions as of PHP 8.2). > > [1] <https://github.com/php/php-src/pulls> > > Hi, These new APIs have been supported in Windows Vista, 7, and 2008 R2 since 2011. It was delivered with the update KB2533623. But if we want to keep compatibility with not updated Windows 7, I can manually get the functions using GetProcAddress, and enable this piece of code if the functions are available only. -- Best regards, Evgeny --00000000000026df3005cff6b1f8--