How to get system mac address - SOLVED

Recently I Purchase exeoutphp software in that I want to get user’s system mac address,
code :

// Turn on output buffering
//Get the ipconfig details using system commond
system(‘ipconfig /all’);

// Capture the output into a variable
// Clean (erase) the output buffer

$findme = “Physical”;
//Search the “Physical” | Find the position of Physical text
$pmac = strpos($mycom, $findme);

// Get Physical Address
echo $mac=substr($mycom,($pmac+36),17);
//Display Mac Address

//Note: above code working fine in wampserver

Error Message: PHP Error: PHP Warning: system(): Unable to fork [ipconfig /all].

Please help me.

Thanks !!

Which PHP version did you select in ExeOutput?

The problem can be fixed with: