On Saturday 28 February 2015 08:11:20 Dave Festing wrote:
> Upgraded a system that has been working nicely with the previous BSP and
> 3.7 and having a few problems.
>
> My main PHP script starts with:
>
> #!/usr/bin/php5
>
> <?php
> ...
>
> and the error I get when I invoke:
>
> ./data.php   (from the directory where this script is located) is
>
> ./data.php line 3: ?php: No such file or directory
>
> I can work around this problem by calling:
>
> php5 data.php

Another guess: has your 'data.php' still execute permissions?

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

Reply via email to