Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Fatal error: Cannot redeclare pcntl_sigtimedwait() in src/functions.php #4

Open
kokmok opened this issue Jun 3, 2016 · 5 comments
Open

Comments

@kokmok
Copy link

kokmok commented Jun 3, 2016

When installing via GOS/WebsocketBundle i have this exception triggered at ScriptHandler::buildBootstrap step.

I'm using PHP7.0.0 and symfony 2.8.6

EDIT: I still have the exception with php5

@kokmok
Copy link
Author

kokmok commented Jun 3, 2016

Ok, on ubuntu/debian pcntl functions are disabled by default.

I just had to comment the directive argument in php.ini :: disable_functions

I just don't know why is this disabled by default

@mickadoo
Copy link

I had this too, I'm not sure it makes sense you should have to change your php.ini just to install this bundle

@jjsaunier
Copy link
Contributor

This is a strange behavior, because before registering the polyfill we check the existence of the function.

See https://github.com/GeniusesOfSymfony/PNCTLEventLoopEmitter/blob/master/src/functions.php#L3

Have you another library that create a polyfill of this extension

@mickadoo
Copy link

I was just testing a Stackoverflow question I was trying to help. I just had a default installation of Symfony3.

@fnash
Copy link

fnash commented Oct 29, 2018

So any solution? Or the root of the problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants