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. 2017-11-07, 19:24:02

Author Topic: Changes in PHP for admin does not affect customer php settings  (Read 1916 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
I've changed memory_limit from 64M to 256M then runned /script/fixphp and customer still gets memory_limit=64M only admin has 256M...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Do you mean 'memory_limit' in php.ini?. In php-fpm, 'memory limit' re-declare in /etc/php-fpm.d/<user>.conf'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Do you mean 'memory_limit' in php.ini?. In php-fpm, 'memory limit' re-declare in /etc/php-fpm.d/<user>.conf'.

I mean everything ! Only admin php-fpm conf have proper values. I have to edit manually tpl file to force my settings for all customers...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
You must change in server-level php.ini.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
You must change in server-level php.ini.

I did this via PHP config icon right after login on admin desktop.

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
@spacedust, did you try setting the limit under 'server' php settings.  Then restart php-fpm.  It appears to go server wide.  If I change under 'admin' it only effects admin.
« Last Edit: 2014-05-23, 17:10:26 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
@spacedust, did you try setting the limit under 'server' php settings.  Then restart php-fpm.  It appears to go server wide.  If I change under 'afmin' it only effects admin.

I will give a try ;)

 


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

Page created in 0.039 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM