← Back to team overview

sslug-teknik team mailing list archive

Re: Bad interpreter

 

I sslug.teknik, skrev Toke Herkild:
>  Hej igen,
>   
>  Når jeg prøver at bruge php i commandline for jeg denne dejlige besked:
>   
>  -bash: /path to script/script.php: /usr/bin/php^M: bad interpreter...
>   
>  scriptet indeholder #!/usr/bin/php på første linie.

Nej, scriptet indeholder #!/usr/bin/php^M på første linie.. det er det
den skriver. Fjern ^M og du er kørende. 

>  <http://www.concare.net/logo.gif> 
>  Concare it  <http://www.concare.net/mail-bullet.gif>  Humleorevej 10, Vigersted  <http://www.concare.net/mail-bullet.gif>  DK-4100 Ringsted
>  Tlf. (+45) 43 71 39 99  <http://www.concare.net/mail-bullet.gif>  Fax. (+45) 43 71 39 98 
> 
>  Mail: th@xxxxxxxxxxx <mailto:th@xxxxxxxxxxx>   <http:///>  Web: www.concare.net <http://www.concare.net/> 
> 
>  This E-mail and the information it contains, is intended to be a privileged and confidential communication only to the person or entity to whom it is addressed. If you have received this E-mail in error, please notify us by telephone and destroy the E-mail.

Er jeg den rigtige modtager? Eller bør jeg ringe? 

Jesper
-- 
./Jesper Krogh, jesper@xxxxxxxx, Jabber ID: jesper@xxxxxxxxxxxx



Follow ups

References