View Single Post
Old 01-23-2004, 09:06 AM  
Phrona
So Fucking Banned
 
Join Date: Nov 2003
Location: Czech Republic
Posts: 96
Quote:
Originally posted by notjoe
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
I did what you said and I received this error:

/bin/sh: /home/phrona/public_html/gal_update.php: /home/phrona/public_html/: bad interpreter: Permission denied

Of course I chmoded gal_update.php.
Phrona is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote