I\'m using PHP\'s shell_exec function to call a bash script on my server.
shell_exec(\"bash -x /tesladata/isetools/0-extractbytickerforweb.bash $ticker $ised
You can take a look at PHP's exec and system functions, however I don't really see a reason why they would speed up the execution of the script, worth a try though. I'm pretty sure it is an issue with apache (assuming you're using apache), not PHP the source of this conclusion being this bug thread.
Also you really should be extremely careful of using these commands on a public website. Make use of escapeshellarg and escapeshellcmd.