Hi, again...
On 08/05/22 06:51 pm, Paul Smedley wrote:
>
> Hey Lewis,
>
> On 6/8/22 07:59, Lewis G Rosenthal wrote:
>> Two nits with 8.1.8:
>>
>> PHP 8 should now prefer module names specified in php.ini sans filename
>> extensions, however, our build seems incapable of appending ".dll"
>> internally. I suggest this be addressed, as we don't know when they might
>> do away with allowing the extension in a later release (see note in
>> php.ini-production, for example).
> I wasn't aware of this - I'll investigate.
>
As I requested quite some versions back (and as you added to previous
releases), it would be handy to include php.ini-development and
php.ini-production in the package. This way, one wouldn't have to go
upstream to fetch the matching sample files with each release. ;-)
>> When starting up (php.exe -l), I get:
>>
>> PHP Notice: PHP Startup: update_beginlibpath set BEGINLIBPATH to modules
>> in Unknown on line 0
>>
>> This seems like so much ado about nothing, but just want to check. php -i
>> doesn't seem to know about BEGINLIBPATH (not listed), so I'm wondering
>> whether this is actually being set.
>
https://github.com/psmedley/php-os2/commit/b95ab74e57da14a93550a51ec94a73f0042119df
> has more detail
>
> Essentially Steven added code to include the modules directory in
> beginlibpath to avoid having to add the dir to the environment in a .cmd file
>
Indeed, I was aware of the change (though not the code, until now; thanks
for the ref). If BEGINLIBPATH has already been set before starting php, the
report is a tad different (as expected):
PHP Notice: PHP Startup: update_beginlibpath set BEGINLIBPATH to
modules;%BEGINLIBPATH% in Unknown on line 0
I suspect the "in Unknown on line 0" is misleading, but without seeing
evidence of BEGINLIBPATH in the php info report, I'm suspicious that this is
actually doing what we expect. I'll wait for Steve to weigh in on it, though.
Thanks!