Jump to content
Froxlor Forum
  • 0

[merged] Add custom php.ini files for PHP-FPM


3bsd

Question

Hello

 

This patch adds the ability to use custom php.ini files together with php-fpm.

At first you have to apply the Apache 2.4 patch even if you use Nginx or Lighttpd.

patch -p0 < froxlor-apache24.patch

Apply the PHP-FPM patch:

patch -p0 < froxlor-php-fpm.patch

Configure php-fpm and PHP Configurations as usual.

Be careful defined settings in PHP Configurations can't be overwritten in ".user.ini" files.

http://php.net/manua...le.per-user.php

 

Furthermore this method to configure PHP works for the CGI, FastCGI and FPM SAPI.

So once support for PHP 5.2 in Froxlor is dropped this could be the default method to configure custom php.ini files.

 

Patch for Froxlor 0.9.28-svn5:

https://gist.github....smomill/4753944

 

Bye

Rene

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...