Quantcast
Channel: Airtime Support Discussions on Sourcefabric Forum
Viewing all articles
Browse latest Browse all 1390

exec() problem!

$
0
0
Quote:
jkhost:/home# dpkg -i airtime_1.8.2-3_all.deb
******************************** Install Begin *********************************

Warning: exec() has been disabled for security reasons in /var/lib/airtime/install/include/AirtimeInstall.php on line 31
Must be root user.
dpkg: error processing airtime (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
airtime

or:
Quote:
/home/airtime/install# php airtime-install.php

******************************** Install Begin *********************************

Warning: exec() has been disabled for security reasons in /home/airtime/install/include/AirtimeInstall.php on line 31
Must be root user.

If im delete line 31:
    public static function ExitIfNotRoot()
    {
        // Need to check that we are superuser before running this.
        if(exec("whoami") != "root"){
            echo "Must be root user.\n";
            exit(1);
        }
    }


I have more Warning: exec() has been disabled for security reasons toubles.

How i can fix this?
Debian 5.0

Viewing all articles
Browse latest Browse all 1390

Trending Articles