Asheeown Posted February 20, 2007 Share Posted February 20, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/39349-solved-usrlocalbinphpwhere-is-it/ Share on other sites More sharing options...
Asheeown Posted February 20, 2007 Author Share Posted February 20, 2007 Nevermind I just took out the line and put "php" in front of the script path, apparently that works too Quote Link to comment https://forums.phpfreaks.com/topic/39349-solved-usrlocalbinphpwhere-is-it/#findComment-189798 Share on other sites More sharing options...
Chunk1978 Posted February 28, 2007 Share Posted February 28, 2007 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... Quote Link to comment https://forums.phpfreaks.com/topic/39349-solved-usrlocalbinphpwhere-is-it/#findComment-196469 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.