#22279 [Opn->Csd]: Would like tar/tar.gz/tar.bz2 files in include_path

From: Date: Tue, 18 Feb 2003 20:24:26 +0000
Subject: #22279 [Opn->Csd]: Would like tar/tar.gz/tar.bz2 files in include_path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33465@lists.php.net to get a copy of this message
ID: 22279 Updated by: wez@php.net Reported By: carl at carldunham dot com -Status: Open +Status: Closed Bug Type: Feature/Change Request PHP Version: 4.3.0 New Comment: This is not something we plan to have in the core of PHP (too much bloat, and not as fast as regular files), but starting in PHP 4.3.0, it is possible to implement a virtual filesystem based on a tar archive using PHP code itself by registering your own wrapper with the streams subsystem. However, the performance will not be so good on some platforms. (this will be addressed in PHP 5). Previous Comments: ------------------------------------------------------------------------ [2003-02-18 12:58:30] carl at carldunham dot com From a configuration management point of view, it would be convenient to package up a library of files in a .tar file (optionally compressed) to include in an application. Of course, this can be done by untaring into a directory in the include_path, but being able to skip that step is preferred. This would be a similar feature Java's ".jar" file concept. Thanks! Love PHP to death! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22279&edit=1

« previous php.bugs (#33465) next »