Comments (2)
是啊。
sudo -u www-data php onlinejudge/cli/judged.php
PHP pcntl and posix extension must be installed!
出现这个问题,查了一下:
php -i |grep pcn
pcntl
pcntl support => enabled
为什么报错呢?
from moodle-local_onlinejudge.
93 if (!function_exists('pcntl_fork') || !function_exists('posix_setsid')) {
94 cli_error('PHP pcntl and posix extension must be installed!');
95 }
按照这个修改了,好像就过了,原来的判断有问题哦。
from moodle-local_onlinejudge.
Related Issues (20)
- 提交的代码判断报错受限函数
- 判断提交的代码时提示函数受限 HOT 7
- Problem with sandbox HOT 1
- Incorrect Return Code for the Answer HOT 1
- moodle2.9版本可以使用这个插件吗 HOT 2
- Fail to recognize ideone.com user HOT 1
- 如果moodle3.0版本使用这个插件,应该如何修改? HOT 1
- sandbox compiler error! HOT 4
- Guide for Sphere Engine integration HOT 2
- sandbox does not compile HOT 6
- $onlinejudge is no-object in mod/assign/feedback/onlinejudge/locallib.php HOT 3
- 安装问题 HOT 13
- Error when compling C files through sandbox HOT 7
- Sandbox Compilation Error
- [!] frontend: assignfeedback plugin settings is glitched (cpu and memory range loading) HOT 1
- [!] deprecated usage of implode
- review issues HOT 1
- Core Dumped During Sandbox Compilation[!] HOT 2
- A Question About Its Usage HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-local_onlinejudge.