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

python - Alternative to referencing variable before assignment -

vb.net - How to ignore if a cell is empty nothing -

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