emsy Posted May 22, 2010 Report Share Posted May 22, 2010 Sveiki, te atkal es un manas problēmas xD http://paste.php.lv/cacb835e1e27f08633163dca4dee1174?lang=php Šis kods uz l-hosta izpildās, bet uz servera nē... Kāda varētu būt problēma?? P.S. $loc = "http://adrese.lv"; $iloc = "/home/adrese/public_html"; Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted May 22, 2010 Report Share Posted May 22, 2010 tieši shell_exec() neizpildās? Varbūt ka to hostingā neļauj izmantot? Quote Link to comment Share on other sites More sharing options...
emsy Posted May 22, 2010 Author Report Share Posted May 22, 2010 shell_exec varbūt izpildās, bet nekādas reakcijas nav, nekādu erroru, neizveidojas faili, ne thumbs, ne video, pat 0b liels :@ Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted May 22, 2010 Report Share Posted May 22, 2010 Hosts noteikti ir Linux - tur nekadas .exe's neizpildīsies. Un ceļš uz ekzekjūtabli noteikti būs cits. Quote Link to comment Share on other sites More sharing options...
emsy Posted May 22, 2010 Author Report Share Posted May 22, 2010 (edited) Ir kāds veids kā šo ceļu noteikt, vai .exe uz cita servera izpildīt, lai saglabā video uz sākuma servera, tbš uz tā kurā neizpilda šo .exes vaicājumu?? Edited May 22, 2010 by emsy Quote Link to comment Share on other sites More sharing options...
mefisto Posted May 22, 2010 Report Share Posted May 22, 2010 izdrukā phpinfo() un apskaties kāda OS ir serverim. Quote Link to comment Share on other sites More sharing options...
emsy Posted May 22, 2010 Author Report Share Posted May 22, 2010 (edited) Linux Edited May 22, 2010 by emsy Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted May 22, 2010 Report Share Posted May 22, 2010 Tak gan jau, ka tas ffmpeg ir ieks PATH, tā kā var pa taisno viņu izsaukt: ffmpeg [arguments] Iekš Win arī izdari to pašu un nebūs jāraksta pilnais ceļš (un .exe galā). Ja nav iekš path un ir SSH pieeja serverim, tad atrast ceļu uz ekzekjūtabli vari šādi: whereis ffmpeg vai locate ffmpeg Tas protams, ja viņš vispār ir pieejams uz tava hostinga. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.