Fedora 36: PHP Fatal error: Uncaught Error: Call to undefined function #2

Closed
opened 2022-08-15 15:01:52 +00:00 by hx · 5 comments
hx commented 2022-08-15 15:01:52 +00:00 (Migrated from git-old.n64.cc)

Describe the bug:

PHP Fatal error: Uncaught Error: Call to undefined function

To Reproduce:

Install autoload, ncc

Expected behavior:

Run through the installation

System:

  • OS: Fedora 36 Desktio
  • Terminal: Terminator, Gnome Terminal, Konsole
  • PHP Version: 8.1

Additional Logs:

bash-5.1$ sudo ./INSTALL

Nosial Code Compiler (NCC) Installation Script
Nosial Code Compiler is a program written in PHP designed
to be a multipurpose compiler, package manager and toolkit.

dependency: PHP 8.0+

Warning: Your terminal may have some issues rendering the output of this installer
PHP Fatal error: Uncaught Error: Call to undefined function posix_getuid() in /home/hax/GitHub/ncc/build/src/INSTALL:157
Stack trace:
#0 {main}
thrown in /home/hax/GitHub/ncc/build/src/INSTALL on line 157


**Describe the bug:** PHP Fatal error: Uncaught Error: Call to undefined function **To Reproduce:** Install autoload, ncc **Expected behavior:** Run through the installation **System:** - OS: Fedora 36 Desktio - Terminal: Terminator, Gnome Terminal, Konsole - PHP Version: 8.1 **Additional Logs:** bash-5.1$ sudo ./INSTALL Nosial Code Compiler (NCC) Installation Script Nosial Code Compiler is a program written in PHP designed to be a multipurpose compiler, package manager and toolkit. dependency: PHP 8.0+ Warning: Your terminal may have some issues rendering the output of this installer PHP Fatal error: Uncaught Error: Call to undefined function posix_getuid() in /home/hax/GitHub/ncc/build/src/INSTALL:157 Stack trace: #0 {main} thrown in /home/hax/GitHub/ncc/build/src/INSTALL on line 157 __________________________________________________________________
hx commented 2022-08-15 15:02:34 +00:00 (Migrated from git-old.n64.cc)

changed the description

changed the description
hx commented 2022-08-15 15:03:49 +00:00 (Migrated from git-old.n64.cc)

changed the description

changed the description
netkas commented 2022-08-15 15:08:54 +00:00 (Migrated from git-old.n64.cc)

Hello Hx,

Thank you for reporting the issue. Will look into fixing it when i get the time

Hello Hx, Thank you for reporting the issue. Will look into fixing it when i get the time
hx commented 2022-08-15 15:11:40 +00:00 (Migrated from git-old.n64.cc)

changed the description

changed the description
netkas commented 2022-08-15 17:18:36 +00:00 (Migrated from git-old.n64.cc)

An easy fix to this would be to

  • Check if the posix extension is available
  • Check if the function exists before calling it

And throwing an error if posix is not installed or available.

An easy fix to this would be to - Check if the posix extension is available - Check if the function exists before calling it And throwing an error if posix is not installed or available.
netkas (Migrated from git-old.n64.cc) closed this issue 2022-09-11 18:44:43 +00:00
Sign in to join this conversation.
No description provided.