« first day (4793 days earlier)      last day (290 days later) » 

5:17 AM
is php curl still used today
 
3 hours later…
8:03 AM
so man new faces
 
1 hour later…
9:10 AM
Morning
@Derick I'm getting this on github action for PHP 7.4
Can't load module '..\php_solr.dll' as it's linked with 14.29, but the core is linked with 14.16 in Unknown on line 0

Shouldn't it be vc15, and do u know if this is related to the setup-php-sdk
ref: https://github.com/omars44/pecl-search_engine-solr/actions/runs/7044213283/job/19171467757
9:59 AM
@Omar best to use php/[email protected] now — we moved it there.
@Omar I don't know whether github.com/omars44/setup-php-sdk/pull/1/files is right — but the one commit you have in your master (that adds some docs) should be PR'ed against php/setup-php-sdk
10:22 AM
@Omar Comparing this logic (github.com/php/setup-php-sdk/blob/main/run.ps1#L32) with the table at en.wikipedia.org/wiki/… I indeed think that the "9" is wrong, but you've changed it to 16, which is also not right. For PHP 7.4, it needs vc15, which is 14.1 through 14.16. But yours seem to have been compiled against 14.29, which is vs16
That's all I can say for now.
10:50 AM
I think the script is also buggy, I just printed inside the loop and I found these dirs
Found toolset: 14.16.27023
Found toolset: 14.25.28610
Found toolset: 14.29.30133
11:14 AM
Why do you have so many installed?! :-)
no, clue. I just forked the setup-sdk action, and added a print in the loop, and I found those, which means that vc14 doesn't exist for some reason.

https://github.com/omars44/setup-php-sdk/pull/1/files
I figured out why it was using the wrong compiler
You sure?
I was using the toolset, before the action that sets it so it was falling back to default, so it was just wrong order :D. now I'm using the php/php-sdk action
* not using, I'm testing against the [email protected] action
11:37 AM
ah :-)
 
3 hours later…
2:17 PM
o/
2:56 PM
\o
 
1 hour later…
4:07 PM
@Derick email would be great. If you want to send to [email protected] I can forward it along from there. Thanks
@jmikola on the way
 
3 hours later…
JRL
JRL
7:17 PM
hmmm
is there any way in PHP, even with extensions, that I could set up things like vector multiplication to occur on devices that are specialized for it like GPUs?
i mean, there's a way to GPU accelerate vector multiplication and matrix multiplication on javascript. there should be a way to do it in PHP.
JRL
JRL
7:38 PM
that is extremely handy
i'll have to look at the implementation
 
3 hours later…
10:42 PM
Anyone have experience with ftp in php? Having an issue where the same command only works once.
Example code:

$ftp = ftp_ssl_connect($host) or die('Connect didn\'t work');
$a = ftp_login($ftp, $user, $passw) or die('Login didn\'t work');
ftp_pasv($ftp, true);
$contents = ftp_rawlist($ftp, "/home");
$contents2 = ftp_rawlist($ftp, "/home");
the 2nd ftp_rawlist doesnt work
11:02 PM
error message?
None
I just get an empty variable.
I do see this when the script ends:

Warning: PHP Request Shutdown: SSL_read on shutdown: error:0A000126:SSL routines::unexpected eof while reading in Unknown on line 0


But that also shows if I only do a single rawlist which is successful (and a different bug, im assuming unrelated)
11:17 PM
I remember seeing something like that in our bugtracker.
Possibly, something that ftp_rawlist does messes up some state at the server, and the server disconnects, causing that warning. Please make a bug report at github.com/php/php-src
Or, also possible, the ftp server is non-compliant and we're just missing SSL_OP_IGNORE_UNEXPECTED_EOF to ignore the error. The error was introduced in OpenSSL 3.x to prevent truncation attacks.
So that would mean your code does not emit the error in PHP <=8.1 but does emit an error in versions above 8.1?
Right, I read about that. I see that Ubuntu 22.04 doesn't give me anything more than PHP 8.1.12
I don't have a server running any other version of PHP at the moment (that I can play with).
Do you know what server software your FTP server runs on?
Checking.
vsftpd: version 3.0.5
Okay let me set that up, I'll try real quick here with a PHP debug build to check if I see anything weird.
I still recommend creating an issue on the bugtracker though, just to make it easier to track the issue and update you
I'm happy to send you some deets in PM if that will save you some time.
Is there a way to do that in SO chat?
11:27 PM
SO has 1 on 1 rooms, but they are publicly readable
I can email you, I've seen your name around in the Internals etc
you can mail [email protected] if you want to share some details
So I do get the same SSL error on shutdown, but the rawlist command works fine twice
This is with a local server with vsftpd
Hmm. I wonder if it has to do with SSL / PASV.
Ok received your email, will check
Thank you
Some additional info, if it helps:

Ubuntu 22.04.3 LTS (GNU/Linux 6.2.0-1016-aws x86_64)

PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2-1ubuntu2.14, Copyright (c), by Zend Technologies
11:38 PM
I can reproduce it on a debug build of the master branch with the file you sent
Second call returns false
OK, thank you very much for your time. I'm a bit under the weather, so I'm going to head to bed. I'll file an issue presumably tomorrow. Thank you again.
@Daniel Ok cya
11:58 PM
@Daniel Not sure if you're still around but I found the issue and sent you a reply

« first day (4793 days earlier)      last day (290 days later) »