NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
johnx1010
Joined: 26 Nov 2008 Posts: 4
|
Posted: Wed Nov 26, 2008 10:18 pm Post subject: Script run configuration mac os x 10.5 php interpreter |
|
|
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.
|
Posted: Thu Nov 27, 2008 10:44 am Post subject: Script run configuration mac os x 10.5 php interpreter |
|
|
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
|
|
| Back to top |
|
 |
johnx1010
Joined: 26 Nov 2008 Posts: 4
|
Posted: Thu Nov 27, 2008 9:57 pm Post subject: good link, but not the answer |
|
|
| 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
|
Posted: Thu Nov 27, 2008 10:33 pm Post subject: answer |
|
|
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.
|
Posted: Fri Nov 28, 2008 11:43 am Post subject: Script run configuration mac os x 10.5 php interpreter |
|
|
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
|
Posted: Fri Nov 28, 2008 7:56 pm Post subject: that works |
|
|
| "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 |
|
 |
|
|
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
|
|