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

Sort a complex associative array in PHP -

c++ - Fill edges and center of array/vector with different values -

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