Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-02, 12:28:07

Author Topic: Custom FPM conf  (Read 3637 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Custom FPM conf
« on: 2014-02-23, 15:20:59 »
Hi,
i've tried to setup a custom.user1.conf in /etc/php-fpm.d/ but looks like it's deleted when /scripts/fixweb is run.
Is custom conf file for PHP-FPM supported?
Thanks.
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Custom FPM conf
« Reply #1 on: 2014-02-23, 17:33:19 »
Yes, you must customize with copy php53-fpm-pool.conf.tpl to custom.php53-fpm-pool.conf.tpl inside /home/php-fpm/tpl and then modified this custom file. After that, run fixweb and restart-web.

Read http://forum.mratwork.com/kloxo-mr-development/kloxo-mr-template-based-config/
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Custom FPM conf
« Reply #2 on: 2014-02-23, 22:59:29 »
Thanks, i will try this.

Yes, you must customize with copy php53-fpm-pool.conf.tpl to custom.php53-fpm-pool.conf.tpl inside /home/php-fpm/tpl and then modified this custom file. After that, run fixweb and restart-web.

Read http://forum.mratwork.com/kloxo-mr-development/kloxo-mr-template-based-config/
Kloxo-MR!

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Custom FPM conf
« Reply #3 on: 2014-04-24, 22:35:52 »
It looks like this will make changes to all the pools under /etc/php-fpm.d/<pool>.conf.
How can i have a custom php-fpm conf for only one of the pool? For instance i'd like to load ioncube just for chosen domains, not for all domains using global php.ini. Is this possible?


Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Custom FPM conf
« Reply #4 on: 2014-04-25, 06:35:35 »
Template using inline-php and that mean you php code inside template.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.067 seconds with 20 queries.

web stats analysis