Skip to content

stub.php seems not included in the phar #3

Description

@slopjong

In the phar directory I ran

php -dextension=phar.so -dphar.readonly=0 -f buildphar.php

and in the HTRouter root directory

php -dinclude_path=/tmp/HTRouter/phar -S localhost:8888 -t public htrouter.phar

but I'm getting

Warning: include(phar:///tmp/HTRouter/htrouter.phar/stub.php): failed to open stream: phar error: "stub.php" is not a file in phar "/tmp/HTRouter/htrouter.phar" in /tmp/HTRouter/htrouter.phar on line 9

Warning: include(): Failed opening 'phar:///tmp/HTRouter/htrouter.phar/stub.php' for inclusion (include_path='phar:///tmp/HTRouter/htrouter.phar:/tmp/HTRouter/phar') in /tmp/HTRouter/htrouter.phar on line 9

Can you tell me what's going wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions