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-04-29, 01:13:05

Author Topic: PHP-FPM custom config  (Read 4953 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
PHP-FPM custom config
« on: 2015-02-19, 08:33:51 »

Where do i customize the PHP-FPM's config such as max exex time etc ?
Changing inside /opt/php55m/custom/php55m.ini doesn't help!

Thanks!
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP-FPM custom config
« Reply #1 on: 2015-02-19, 08:55:25 »
In 'advanced php configure' (under server and each client/admin).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: PHP-FPM custom config
« Reply #2 on: 2015-08-21, 19:52:05 »
I need to customize php-fpm file for open_basedir to add /dev/urandom.
Where can i do it without being reset by /scripts/fix* scripts?
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP-FPM custom config
« Reply #3 on: 2015-08-22, 02:16:50 »
copy /opt/configs/php-fpm/php53-fpm-pool.conf.tpl to custom.php53-fpm-pool.conf.tpl and then modified this custom file. After that, run 'sh /script/fixphp; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: PHP-FPM custom config
« Reply #4 on: 2015-09-05, 14:19:17 »
Worked perfectly! Thanks.

 
copy /opt/configs/php-fpm/php53-fpm-pool.conf.tpl to custom.php53-fpm-pool.conf.tpl and then modified this custom file. After that, run 'sh /script/fixphp; sh /script/restart-web -y'.
Kloxo-MR!

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.054 seconds with 19 queries.

web stats analysis