Jump to content

[SOLVED] /usr/local/bin/php...where is it?


Recommended Posts

I setup a cronjob on this file and i've used the line #!/usr/local/bin/php at the top of the script before but for some reason on this server that doesn't exsist...I did a: whereis php and it came up with:

 

php: /usr/bin/php /etc/php.ini /etc/php.d /usr/lib/php /usr/share/man/man1/php.1.gz

 

Already tried /usr/bin/php and that doesn't work, my script is executable from the command line without:

#!/usr/local/bin/php

 

However the cronjob does not work either way

Link to comment
Share on other sites

  • 2 weeks later...

if anyone is trying to locate and access the /usr/local/ folder on Mac OS X, it's extremely simple... there are several hidden files on your machine which you can access thru the finder.  accessing these folders doesn't turn the folders permanently visible.

 

while in Finder, goto the "GO" menu heading at the top of the screen, then scroll down and select "Go To Folder"... a pop-up window will appear and prompt you to enter a path.  just enter "/usr/local/" (without the quotes) and you're there...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.