Sound not working from shell script on rpi3
<p>I have a raspberry pi 3 hosting a simple little local server, all this server does is display a hyperlink to activate a shell script which plays a sound.
When said button is clicked it goes to the page, but the sound is not played though the raspberry pi. How would I go about fixing this?</p>

<p>index.php</p>

<pre><code>&lt;?php
if ($_GET['run']) {
shell_exec("/var/www/html/Alarm.sh");
}
?&gt;
&lt;a href="?run=true"&gt;Click Me!&lt;/a&gt;
</code></pre>

<p>Alarm.sh</p>

<pre><code>python /home/pi/alarm.py
</code></pre>

<p>Any idea what I have done wrong?</p>