@barraponto: could you please fix the sed line in PKGBUILD, just add a blank around the dot like this:
sed -i -e "s*__DIR__ . '/../lib*'/usr/lib/boris*" bin/boris
@MightyPork: For a quick fix, change line 4 in /usr/bin/boris to this:
require_once '/usr/lib/boris/autoload.php';
Search Criteria
Package Details: boris 1.0.10-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2015-04-10)
| Package Base: | boris |
|---|---|
| Description: | A tiny REPL for PHP |
| Upstream URL: | https://github.com/borisrepl/boris |
| Category: | devel |
| Licenses: | |
| Submitter: | barraponto |
| Maintainer: | barraponto |
| Last Packager: | barraponto |
| Votes: | 3 |
| First Submitted: | 2013-08-28 14:50 |
| Last Updated: | 2015-03-31 14:14 |
Required by (0)
Sources
Latest Comments
Comment by Hoek
Comment by MightyPork
After I added usr/lib to the allowed paths in php.ini, I get:
PHP Warning: require_once(/usr/bin/../lib/autoload.php): failed to open stream: No such file or directory in /usr/bin/boris on line 4
PHP Fatal error: require_once(): Failed opening required '/usr/bin/../lib/autoload.php' (include_path='.:/usr/share/pear') in /usr/bin/boris on line 4
Comment by MightyPork
There's some bug in the new update, now it won't start at all:
$ boris
PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/bin/../lib/autoload.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/srv/webroot:/usr/bin/:/usr/lib/boris/) in /usr/bin/boris on line 4
PHP Warning: require_once(/usr/bin/../lib/autoload.php): failed to open stream: Operation not permitted in /usr/bin/boris on line 4
PHP Fatal error: require_once(): Failed opening required '/usr/bin/../lib/autoload.php' (include_path='.:/usr/share/pear') in /usr/bin/boris on line 4