On Sun, May 11, 2014 at 6:31 PM, Tim Starling <tstarling(a)wikimedia.org> wrote:
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.
I suspect an issue with the old RHEL5.6 version of gcc. Anyway,
trying to move gcc forward in hopes it'll fix the issue.
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).
Looks right to me:
ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Mar 4 01:12 /dev/null
-- Tim Starling
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l