I installed PHP on my mac's default apache, from this url - http://www.entropy.ch/software/macosx/php/
And I got the iTunes - to - terminal script from here:
http://www.tuaw.com/2007/04/02/terminal-tip-now-playing-info-from-the-command-line/
Which I would use in php, using exec("./nowplaying");
And it worked.
Then, I replaced my httpd.conf with my mac's default one. Now, the above command doesn't work.. But exec(); works with other terminal commands...
Also, I did try re-installing PHP.
What did I do wrong?
And I got the iTunes - to - terminal script from here:
http://www.tuaw.com/2007/04/02/terminal-tip-now-playing-info-from-the-command-line/
Which I would use in php, using exec("./nowplaying");
And it worked.
Then, I replaced my httpd.conf with my mac's default one. Now, the above command doesn't work.. But exec(); works with other terminal commands...
Also, I did try re-installing PHP.
What did I do wrong?