OSX Leopard and PATH issue
Andrea D'Amore
andrea.damore at macports.org
Mon May 12 02:15:24 PDT 2008
On 12/mag/08, at 09:24, Tony Crockford wrote:
> On 12 May 2008, at 07:57, Andrea D'Amore wrote:
>>
>> On 12/mag/08, at 08:30, Tony Crockford wrote:
>>> How do I do that for _www user?
>> Use /etc/profile that is system wide.
>
> it's in there.
>
> I have:
> PATH="/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/
> usr/local/mysql/bin:/Users/boldfish/Sites/Django/djtrunk/django/bin"
>
> export PATH
>
> but it doesn't work. for IM finding Ghostscript. at least.
Use php's exec() to echo $PATH and check the actual env variable.
More information about the macports-users
mailing list