You are not logged in.

#1 2013-08-26 17:36:01

From: Campinas, Brazil
Registered: 2009-10-15
Posts: 20

PHP include path for command line applications

I'm packaging my first contribution to the AUR: a package for Boris, a tiny REPL for PHP.
The issue I'm finding is that it includes a file relative to where the bin is and it somewhat conflicts with Arch's recommendation for using /usr/lib/pkgname for shared files. You can see the offending line here: … n/boris#L6

I fixed it with sed, but I'm not happy with the solution I wrote. I hoped for PHP shared libraries to have a $PATH such as Python packages, but it seems like it doesn't (by default). See my pkgbuild here:


Board footer

Powered by FluxBB