Re: No such file or directory
| From: | Edgard Berendsen | Date: | Mon, 03 Jun 2002 15:08:22 +0000 |
| Subject: | Re: No such file or directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100403@lists.php.net to get a copy of this message | ||
I have a web-hosting and they gave me ssh2 acces.
There I can run lynux commands with no problems.
I don't find php.exe for exectuting the script.
Can I upload a php.exe to the server and run it without any
other file from php?
What can I do?
"Edgard Berendsen" <edgard@ebm.cl> wrote in message
news:20020603081158.14335.qmail@pb1.pair.com...
> I'm trying to do a cronjob.
> If I'm right I should have a php file with
> #!/usr/lib/php -q
> at the beginning and a cronjob like
>
> MAILTO="edgard@vtr.net"
> 0 * * * * /usr/lib/php/ $HOME/myfile.php
>
> whereis php tells me:
> php: /usr/lib/php /usr/include/php
>
> What's wrong?
>
> At the beginning when I tried with other paths like /usr/bin/php I
received
> a mail
> with 'No such file or directory' error, now I don't receive anything!
> Even I change to the old /usr/bin/php wrong dir and I still receive
> nothing!!!
>
>
>
>