I want to execute some unix command from php script. The code is below.
$filepath='/home/biplab/hft'; $folder='0b'; exec('export HFT_BASEDIR='.$filepath); chdir($file_path.'/'.$folder); exec('make prod');
Now the problem is that exec('export HFT_BASEDIR='.$filepath); doesnβt work, so many errors are displayed ... Is there an alternative for executing the same command.
please help me as soon as possible .. thanks in advance
source share