Search Results

  1. Note: This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. Set the alias for the Phar archive, and write it as the permanent alias for this phar archive. An alias can be used internally to a phar archive to ensure that use of the phar stream wrapper to access internal files always works regardless of ...

  2. Note: This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. Set the alias for the Phar archive, and write it as the permanent alias for this phar archive. An alias can be used internally to a phar archive to ensure that use of the phar stream wrapper to access internal files always works regardless of ...

  3. This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. Set the alias for the Phar archive, and write it as the permanent alias for this phar archive.

  4. www.php-resource.de › phardata- PHP-Resource

    (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) PharData::setAlias — Dummy function (Phar::setAlias is not valid for PharData)

  5. ˷ Ҫ php.ini е phar.readonly Ϊ 0 ʺ Phar . , ׳ PharException. Set the alias for the Phar archive, and write it as the permanent alias for this phar archive.

  6. phpdoctest.github.io › en › bookPHP Manual: Phar

    Phar::running — Returns the full path on disk or full phar URL to the currently executing Phar archive Phar::setAlias — Set the alias for the Phar archive Phar::setDefaultStub — Used to set the PHP loader or bootstrap stub of a Phar archive to the default loader Phar::setMetadata — Sets phar archive meta-data

  7. The PharData class extends the Phar, and allows creating and modifying non-executable (data) tar and zip archives even if phar.readonly =1 in php.ini. As such, PharData::setAlias () and PharData::setStub () are both disabled as the concept of alias and stub are unique to executable phar archives.