title: * failed to open vchiq instance
body: <p>I try to play sound from a php script to my raspberry pi 3 via the audio jack. I use in the php script the following code:</p>
  
  <pre><code>&lt;?php
  $fetch = 'wget "http://192.168.1.127/sound.mp3" -O sound.mp3 --no-check-certificate';
  $play = 'omxplayer -o local sound.mp3';
  echo shell_exec($fetch);
  echo shell_exec("sudo chown upload sound.mp3");
  echo shell_exec($play);
  ?&gt;
  </code></pre>
  
  <p>I got the file from a local ip adress and save it to the pi. Then I play the sound via the <code>omxplayer</code> command. On the real shell (over SSH in Putty), the Pi will output the sound without any problems. When I try the script, I got the following error message when I use the omxplayer <code>command</code>.</p>
  
  <pre><code>* failed to open vchiq instance
  </code></pre>
  
  <p>I searched then in forums for this error. They mean that it will be something with the missing permission of the file. For that I set the whole directory to the permission level 777 and the fileowner, as you can see in the script, to <code>upload</code>.</p>
  
  <p>Unfortunately, this didn't work. Does anyone have another solution to get an output from the pi?</p>
  
  <p>Thanks for every responses.</p>