View Single Post
Old 01-23-2004, 08:49 AM  
notjoe
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
add
#!/usr/local/bin/php
as the first line of your script, unless you're excuting the script such as

/usr/local/bin/php gal_update.php

from your crontab. Also, the path to the php binary file may be different than your location so double check that.

You'll also need to set execute permissions.

chmod 755 gal_update.php
notjoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote