i came across this error:
Call to undefined function posix_getuid()
which was solved by these commands:
yum -y install php-process
service httpd restart
(PHP 4, PHP 5, PHP 7, PHP 8)
posix_getgid — Retourne l'UID du groupe du processus courant
Retourne l'ID réel du groupe du processus courant.
Cette fonction ne contient aucun paramètre.
Retourne l'ID réel du groupe, sous la forme d'un entier.
Exemple #1 Exemple avec posix_getgid()
Cet exemple affichera l'ID réel du groupe.
<?php
echo 'Mon ID réel de groupe est : '.posix_getgid(); //20
posix_setegid(40);
echo 'Mon ID réel de groupe est : '.posix_getgid(); //20
echo 'Mon ID effectif de groupe est : '.posix_getegid(); //40
?>
i came across this error:
Call to undefined function posix_getuid()
which was solved by these commands:
yum -y install php-process
service httpd restart