According to official documents
5.4.0 This function can be used for fastcgi. Previously only supported when PHP was running as an Apache module.
But I'm in Nginx + php-fpm
mode, calling this function to report an undefined error.
Excuse me, do you have a classmate with this function under Nginx? Thank you so much!
PS: I know that I can solve this problem in the way of custom functions. Want to know if the native function can be used.
Reply content:
According to official documents
5.4.0 This function can be used for fastcgi. Previously only supported when PHP was running as an Apache module.
But I'm in Nginx + php-fpm
mode, calling this function to report an undefined error.
Excuse me, do you have a classmate with this function under Nginx? Thank you so much!
PS: I know that I can solve this problem in the way of custom functions. Want to know if the native function can be used.
This is a known bug, specifically you can look here