php ?

Fanis Dokianakis madf at hellug.gr
Mon Jan 21 17:40:01 EET 2002


On Sun, Jan 20, 2002 at 01:18:52PM +0200, George Barbounis wrote:
> gia sas
> 
> $script="/usr/bin/script";
> system("$script");
> 
> h erwthsh einai otan trexei auto, se mia selida php, giati psaxnei na brei
> to arxeio script sto /script kai oxi sto /usr/bin/script, pou tou exw dwsei?
> 
> blepe arxeio  error_log tou apache ---->>>>>> sh: /script: No such file or
> directory
>

To provlima de tha einai stin php alla sto script sou,

px stin 1h grammi mporei na ehei
#!/usr/bin/perl-5.6

kai na min yparhei ayto to link i file
stin periptosi ayti tha vgalei
sh: /script: /usr/bin/perl-5.6: bad interpreter: No such file or directory
h me ligoteres plirofories
sh: /script: No such file or directory

Fanis

P.S giati xrisimopoieis php gia na kaleseis ena allo script?
i php de sou kanei gia ti douleia pou kanei to script?



More information about the Linux-greek-users mailing list