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

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -