Author Topic: Roundcube + PHP-FPM problem  (Read 6036 times)

Offline EthraZa

  • Newbie
  • *
  • Posts: 4
Roundcube + PHP-FPM problem
« on: October 21, 2017, 02:06:06 AM »
I have Roundcube 1.2.5 working perfect under Apache 2.4 mpm events + PHP 7.1 + FGCI + MariaDB under Ubuntu 16.04 (ISPConfig 3).

But, if I change the Site PHP setting from Fast-CGI to PHP-FPM, I start to get this error, for RC only (all the rest, i.e. MantisBT 2.6.0, keep working):
Code: [Select]
Fatal error: ini_set/set_include_path does not work.
There is something I can do to get it working with PHP-FPM?

I've searched Google a lot and found nothing about RC + Apache + PHP-FPM. Looks like only Ngynx users want RC + PHP-FPM!


Thank you in advance.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Roundcube + PHP-FPM problem
« Reply #1 on: October 21, 2017, 11:59:24 AM »
Do you have ini_set/set_include_path disabled in your php.ini config?

Offline EthraZa

  • Newbie
  • *
  • Posts: 4
Re: Roundcube + PHP-FPM problem
« Reply #2 on: October 21, 2017, 09:52:19 PM »
Hi.

No they are enabled.

Here is what I have disabled in /etc/php/7.1/fpm/php.ini (Ubuntu's default):
Code: [Select]
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
I tryed to disable then. Disabling ini_set changed nothing, disabling set_include_path makes roundcube to fail with Error 500.