HTRouter
HTRouter copied to clipboard
stub.php seems not included in the phar
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?
I'm having the same problem
Same here.
Same problem here.