NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Script run configuration mac os x 10.5 php interpreter

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
johnx1010



Joined: 26 Nov 2008
Posts: 4

PostPosted: Wed Nov 26, 2008 10:18 pm    Post subject: Script run configuration mac os x 10.5 php interpreter Reply with quote

Hi, I'm new to NetBeans, and pretty new to OS X 10.5.

I'm using the php that comes installed on my machine. I'm trying to set up the Script run configuration, but I don't know how to specify the php interpreter.

Does anyone know what file I should choose?

Thanks
John
Back to top
Jeff Rubinoff
Posted via mailing list.





PostPosted: Thu Nov 27, 2008 10:44 am    Post subject: Script run configuration mac os x 10.5 php interpreter Reply with quote

johnx1010 wrote:

Quote:
Hi, I'm new to NetBeans, and pretty new to OS X 10.5.



I'm using the php that comes installed on my machine. I'm trying to set up the Script run configuration, but I don't know how to specify the php interpreter.



Does anyone know what file I should choose?



John,
I'm not a Mac user, but I've been told that this post,
http://www.procata.com/blog/archives/2007/10/28/working-with-php-5-in-mac-os-x-105/,
may be useful.

Jeff

Quote:

Thanks

John











Back to top
johnx1010



Joined: 26 Nov 2008
Posts: 4

PostPosted: Thu Nov 27, 2008 9:57 pm    Post subject: good link, but not the answer Reply with quote

I just looked at the procrata site. It's a good resource, but it doesn't have the answer to this question.
Back to top
johnx1010



Joined: 26 Nov 2008
Posts: 4

PostPosted: Thu Nov 27, 2008 10:33 pm    Post subject: answer Reply with quote

I did some looking around and think I have answered my own question.

I set the php interpreter to:

/usr/bin/php

and the Script run configuration seems to work fine.
Back to top
Petr Pisl
Posted via mailing list.





PostPosted: Fri Nov 28, 2008 11:43 am    Post subject: Script run configuration mac os x 10.5 php interpreter Reply with quote

Probably this response is late, but you can try in command line:

which php

It should return the path to the php interpreter.

Regards,
Petr
Quote:
Hi, I'm new to NetBeans, and pretty new to OS X 10.5.



I'm using the php that comes installed on my machine. I'm trying to set up the Script run configuration, but I don't know how to specify the php interpreter.



Does anyone know what file I should choose?



Thanks

John










Back to top
johnx1010



Joined: 26 Nov 2008
Posts: 4

PostPosted: Fri Nov 28, 2008 7:56 pm    Post subject: that works Reply with quote

"which php" worked. It returned the same path I had decided to use. That's good. Now I have confirmation that I'm using the right file.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo