Hee,
I was trying to install FreePBX en got to this line.
Run the “install” script to install all the FreePBX files:
- /usr/src/FreePBX/install_amp
But then i get this error…
susevirt:~ # /usr/src/freepbx/install_amp
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…PHP Fatal error: Call to undefined function posix_getpwuid() in /usr/src/freepbx/install_amp on line 708
Here is line 708…
// **** Look for user = root
outn(“Checking user…”);
//$current_user=(isset($_ENV[“USER”]) ? $_ENV[“USER”] : exec(‘whoami’,$output));
$euid = (posix_getpwuid(posix_geteuid()));
$current_user = $euid[‘name’];
if ($current_user != “root”){
out(“FAILED”);
fatal($argv[0]." must be run as root");
}
Im loggged in as ROOT…
My OS is: Suse Open Enterprice 10.3
Ive installed: Mysql, DB, Apache enz ( everything needed for Asterisk en Freepbx )