apache - create files.tar in debian PharData with PHP? -


define('__root__', dirname(__file__));  $phar = new phardata('proyecto.tar'); $phar->buildfromiterator(     new arrayiterator(      array(         'fichero/text.txt' => __root__ . '/text.txt',      ))); 

don't create files.tar in debian in windows works perfectly(with xampp), issue of permit folders or apache server configuration?

sorry, i'm noob in of unix. problem permissions in directory. solved conflict chmod 777 namecarpeta.


Comments

Popular posts from this blog

javascript - How to bind ViewModel Store to View? -

recursion - Can every recursive algorithm be improved with dynamic programming? -

c - Why does alarm() cause fgets() to stop waiting? -