Using espeak of ubuntu in php through System command

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Using espeak of ubuntu in php through System command

Postby tushar » 14. April 2010 19:58

Hi !!
I use xampp on ubuntu 8.04 . I have installed it as mentioned and everything works fine : apache, mysql and php.
I have just one problem. When i try to use following command in my php script.

System ("espeak -f <inputfile> -w <outputfile>");

it doesn't work. It displays nothing.

Although when I use System command to execute 'ls' like


It works fine. That means I am getting problems in executing espeak only.
espeak is an inbuilt engine in ubuntu for text to speech conversion.
A script like <?php System("espeak hello"); ?> should produce an output sound saying hello. But nothing happens with xampp.

Tell me if something needs to be changed in the configuration files of xampp.
I need to execute espeak through php script.
Guys i really need to do this. provide me a solution as soon as possible.
Posts: 1
Joined: 14. April 2010 19:41

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests