Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2018-09-27 12:56:43
- ponsukeen
- New Member
- From: Canada
- Registered: 2018-09-27
- Posts: 1
pcntl needed?
Just curious if it’s really needed, just reinstalled my vps and switched to php 5.4(And as always, I run nginx) and noticed this error on a fresh install.
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,
I remember reading that it’s bad to have it enabled on production servers(not that I’m hosting tons of large sites or that my site even gets hits) so I was hesitant to enable it. Thought I would ask before I did enable it because if it’s not really needed and it’s not really good to run on a production server then meh. :p
Regards
Offline
Offline
Re: pcntl needed?
If we truly don’t need it – and honestly I’ve never seen a sniff of it in the code – then let’s just ditch the checks in Diagnostics.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: pcntl needed?
Bloke wrote #314192:
If we truly don’t need it – and honestly I’ve never seen a sniff of it in the code – then let’s just ditch the checks in Diagnostics.
The manual says
Process Control should not be enabled within a web server environment and unexpected results may happen if any Process Control functions are used within a web server environment.
So we shouldn’t rely on PCNTL
anywhere in the code, me deduce. And Pete’s demo site runs without.
Offline
Offline
Offline
Re: pcntl needed?
Welcome to the community, ponsukeen! Nice first post.
Offline
Pages: 1