HTRouter icon indicating copy to clipboard operation
HTRouter copied to clipboard

stub.php seems not included in the phar

Open slopjong opened this issue 11 years ago • 3 comments

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?

slopjong avatar May 19 '13 12:05 slopjong

I'm having the same problem

santagada avatar May 24 '13 16:05 santagada

Same here.

noscript avatar Jun 14 '13 16:06 noscript

Same problem here.

keskad avatar Jun 25 '13 13:06 keskad