image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Closed Thread
 
Thread Tools
  #1  
Old July 30th, 2007, 02:30 PM
Registered User
 
Join Date: Jan 2006
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Moptop is on a distinguished road
PHP 5, and Exec.

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?
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 12:37 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.