On 11/05/14 23:27, Bill Traynor wrote:
So I tried to go the luasandbox route in hopes that it
would solve my
problem. Followed the installation instructions which appeared to
succeed, but am receiving this error:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/luasandbox.so' -
/usr/lib64/php/modules/luasandbox.so: undefined symbol: isfinite in
Unknown on line 0
I compiled luasandbox on the server with gcc 4.1.2. Am I missing a
library that provides isfinite perhaps?
isfinite() is meant to be a macro defined by math.h, so if it is
treated as a symbol rather than a macro, then maybe something was
wrong with your math.h at compile time.
On Fri, May 9, 2014 at 6:05 PM, Bill Traynor
<btraynor(a)gmail.com> wrote:
> I'm trying to get Scribunto working and keep receiving this error when
> trying to use Modules:
>
> Script error: Lua error: Cannot create process: proc_open(/dev/null):
> failed to open stream: Operation not permitted.
>
> Does this mean that proc_open is restricted on my server?
No, it means /dev/null is not writable (or possibly not readable).
-- Tim Starling