i was wondering how i can setup php with apache the right way. I have installed both, and i need to run some scripts including bash scripts.
Code: Select all
$amount=shell_exec("vmrun <options> <user> <password> > <file> | wc -l");
When i remove the read permissions, php cannot read the script.
Any suggestions ?