Improve compatibility with ping under FreeBSD#5869
Conversation
|
@xmacan you need to make a check for /sbin/ as on Standard Linux, ping6 is in /usr/sbin and it's not in the apache users path. Can you do that? |
TheWitness
left a comment
There was a problem hiding this comment.
You must put a test to the ping6 location as in RH, Rocky, CentOS, Alma, it's in /usr/sbin/ and that path is not in Apache's path.
|
ChangeLog too. ;) |
|
My code is working. On freebsd is right location /sbin/ping6. I see a different problem there. Check ping.php code on line 195 - there is test file_exists('/bin/ping6') but if condition is true, called is |
TheWitness
left a comment
There was a problem hiding this comment.
We need a check for /sbin/ping6 as in Red Hat, Alma, CentOS, and Rocky, '/sbin' is NOT in the apache accounts path.
Use the -6 option of ping instead of ping6.
|
Please check the updates. I'm merging this now. |
No description provided.