Доброго времени суток )))Есть тупой скрипт
<?php
if( exec("/usr/bin/mplayer /var/www/html/sounds/dingdong.mp3 " ))
{
echo 'good';
}
?>
Есть Федора 20 , голова уже идет кругом , не играет музыка ((( .
good-bash-4.2$ php /var/www/html/test1.php
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Home directory not accessible: Permission denied
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
Home directory not accessible: Permission denied
[AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
[AO_ALSA] Playback open error: Connection refused
Failed to initialize audio driver 'alsa'
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
Home directory not accessible: Permission denied
[AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
[AO_ALSA] Playback open error: Connection refused
Home directory not accessible: Permission denied
AO: [pulse] Init failed: Connection refused
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
[AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
Под обычным пользователем играет , но нужно ж апачем (((
Заранее благодарен )))