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-19, 06:42:44

Author Topic: Advanced PHP Configure settings  (Read 5869 times)

0 Members and 1 Guest are viewing this topic.

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Advanced PHP Configure settings
« on: 2014-10-13, 10:09:17 »
Hello,

Why is it that when I create a new client, the settings that I have under Advanced PHP Configure, are not carried over from the defaults I set under Admin? In other words, for examples: I already changed timezone to my local one but it always set to "Europe/London" on newly created client. I also changed the limits (Max Execution, Max Input, etc), but they are also always set to the original values.

This is not the use-case behavior that I encounter with older KloxoMR.

My Kloxo info:
A. Kloxo-MR: 7.0.0.b-2014091704

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.39-1.ius.el6.x86_64
   2. PHP: php-5.3.3-27.el6_5.2.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.7.p2-1.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: --uninstalled--
   9. Qmail: --uninstalled--
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

D. Php-type (for Httpd/proxy): suphp

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Advanced PHP Configure settings
« Reply #1 on: 2014-10-13, 10:48:01 »
Update 'php configures' in 'admin>server>{select server}>php configures'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Advanced PHP Configure settings
« Reply #2 on: 2014-10-13, 11:10:23 »
Thank you for the response - I have already been doing what you suggested from the very start. My question was: why are the settings not copied to the new client's PHP settings? I am assuming the PHP configuration I modify at the beginning are supposed to be the 'updated' defaults. I believe this is a bug.

Here is general overview of the process I am asking about:
1. I update the Advance PHP configuration, like what you suggested.
    a. I update the timezone from "Europe/London" to my local tz.
    b. I update limits, etc.
2. I create a new client.
3. I click on the client name from the clients list, a prompt appears saying I need to update/set php. I click the link on this prompt.

At this point, I am taken to the page: admin - Clients - <clientname> - {PHP Configure}. Expected result is that the settings I updated before (#1) would have been copied here. Actual result is that the settings are still from the 'old' values (ex. timezone is still London).



Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Advanced PHP Configure settings
« Reply #3 on: 2014-10-13, 11:17:00 »
It's only for timezone or all values not work?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Advanced PHP Configure settings
« Reply #4 on: 2014-10-13, 11:21:15 »
All values, or least I think it is. I am changing:
- Max Execution Time
- Max Input Time
- Memory Limit
- Post Max Size
- Upload File Max Size
- Timezone

The results are the same whether I change them all at once + update, or, change one by one + update.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Advanced PHP Configure settings
« Reply #5 on: 2014-10-13, 11:30:41 »
It's because read 'initial values' instead 'value' of server's php.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Advanced PHP Configure settings
« Reply #6 on: 2014-10-13, 11:56:55 »
Thanks, I started to figure out that much as well. Is this going to be fixed? Or do I have an alternative, like edit the config file to make the values stick? I've been trying to modify "/opt/php53s/custom/php53s.ini" and "/opt/php53s/etc/php53s.ini" but it's not working (the values always get reverted to the original values).

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Advanced PHP Configure settings
« Reply #7 on: 2014-10-13, 12:25:51 »
No fixed at this moment.

BTW, php53s is special php for Kloxo-MR itself. It's different with php for website (php branch or phpm).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Advanced PHP Configure settings
« Reply #8 on: 2014-10-13, 14:27:00 »
I got the same always getting London !

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
Re: Advanced PHP Configure settings
« Reply #9 on: 2014-10-13, 17:35:39 »
Same for me, initial values set in admin should carry over and get rid of that annoying php 'must set' box for new clients.
Christopher

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

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Advanced PHP Configure settings
« Reply #10 on: 2014-10-13, 18:30:30 »
Same for me, initial values set in admin should carry over and get rid of that annoying php 'must set' box for new clients.

Exactly the same. The fix is simple. Kloxo must enter proper values to /etc/php-fpm.d/ directory.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.045 seconds with 21 queries.

web stats analysis