[php-src] Issue #12725: Call to undefined function posix_fpathconf() in default configure setting

From: Date: Sun, 19 Nov 2023 13:58:46 +0000
Subject: [php-src] Issue #12725: Call to undefined function posix_fpathconf() in default configure setting
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245842@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/12725 Author: mumumu ### Description The following code: ```cli $ ./sapi/cli/php -r 'echo posix_fpathconf(0, POSIX_PC_LINK_MAX);' ``` Resulted in this output: ``` 127 ``` But I expected this output instead: ``` Fatal error: Uncaught Error: Call to undefined function posix_fpathconf() in Command line code:1 Stack trace: #0 {main} thrown in Command line code on line 1 ``` Extra description: https://github.com/php/php-src/pull/11774 fixes this issue, but not merged even in RC release cycle. ### PHP Version 8.3.0 RC6 ### Operating System Ubuntu 22.04

« previous php.bugs (#245842) next »