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
https://forums.phpfreaks.com/topic/39349-solved-usrlocalbinphpwhere-is-it/
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...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.