2016-10-10 66 views

回答

0
exec('unset DYLD_LIBRARY_PATH ;'); 
putenv('DYLD_LIBRARY_PATH'); 
putenv('DYLD_LIBRARY_PATH=/usr/bin'); 
$voila = shell_exec("anything you want to execute!"); 
var_dump($voila); 
+0

沒有工作,對不起 –

+0

你試過指定您要運行該命令的完整路徑? (例如/ usr/bin/myapp) –

相關問題