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-03-28, 22:20:02

Author Topic: php in Kloxo 6.5.1b  (Read 5233 times)

0 Members and 1 Guest are viewing this topic.

Offline kloxo-fan

  • Junior Member
  • *
  • Posts: 31
  • Karma: +2/-0
    • View Profile
php in Kloxo 6.5.1b
« on: 2014-04-25, 13:31:12 »
Hello,
I did an update of 6.5.0f to 6.5.1b -2014042401
But in my site started to happen strange situations - you're standing in your profile, then go somewhere else or just reload the page and you find yourself in someone else's profile, reload the page again and you see that you are in third profile, and again, and again... just log into another profile.
It seems that the php has trouble recognizing user sessions.
In Kloxo 6.5.0f I used php53u_(as_5.3.28) + php53u-xcache and I have no problems.
In Kloxo 6.5.1b I used again php53u_(as_5.3.28) + php53u-xcache but I started getting these problems.
So I changed PHP version to php55u_(as_5.5.11) but no results, I tried with php54_(as_5.4.27) again no results.
Finally put php53_(as_5.3.3) without xcache, just only the main php5.3 in the Kloxo panel and now I have no problems.
What is wrong with the versions of php in Kloxo 6.5.1b?
More than a 5-6 years I use Kloxo panel (since as LxAdmin) but I've never had such a strange problems.
Please help me mr. MRatWork.
I want to use php55u or php54 or php53u but unfortunately they make mistakes with user sessions.

If needed "sh /script/sysinfo":

Code: [Select]
A. Kloxo-MR: 6.5.1.b-2014042401
B. OS: CentOS release 6.5 (Final) x86_64
C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el6.x86_64
   2. PHP: php-5.3.3-27.el6_5.x86_64
   3. Httpd: httpd-2.2.27-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.5-1.mr.el6.x86_64
   6. Nginx: nginx-1.5.13-1.el6.x86_64
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64
D. Php-type (for Httpd/proxy): php-fpm_event
E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048        988       1059          0          0          0
   -/+ buffers/cache:        988       1059
   Swap:            0          0          0
« Last Edit: 2014-04-25, 13:44:32 by kloxo-fan »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php in Kloxo 6.5.1b
« Reply #1 on: 2014-04-25, 18:14:55 »
In 'webserver configure', install php in 'Multiple PHP Install' and then after listing in 'Multiple PHP Already Installed:' you can select one of them in 'PHP Used' (as php53m until php55m).

But, to make sure, go to 'switch program' and then select apache (or one of proxy). After that go to 'webserver configure' and then select 'php-fpm_event' in 'php-type'.

So, don't use '--use php branch--' in 'php used'.
« Last Edit: 2014-04-25, 18:18:04 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kloxo-fan

  • Junior Member
  • *
  • Posts: 31
  • Karma: +2/-0
    • View Profile
Re: php in Kloxo 6.5.1b
« Reply #2 on: 2014-04-25, 20:25:12 »
Web: nginxproxy

Multiple PHP Already Installed: php52m php53m php54m php55m

PHP Type: php-fpm_event

PHP Used: php53m

I have no problem  :)

But If I choose PHP Used: php54m or php55m then again I have a problem with user sessions.
For me is not a problem to use php 5.3.28 but I wanted to see if php 5.4 or 5.5 is better or not.  :)

Can you tell me how in php53m to install xcache.
I tried "yum install php53u-xcache" and "php -v" says:

PHP 5.3.28 (cli) (built: Mar  5 2014 17:33:49)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Optimizer v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo

But with "phpinfo();" I don't see any installed xcache packages.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php in Kloxo 6.5.1b
« Reply #3 on: 2014-04-25, 23:05:05 »
For php53m, go to /opt/php53m/etc/php.d and then copy xcache.nonini to _xcache.ini. After that, run 'sh /script/restart-web'. The same ways for other .nonini and php54m and php55m.

I don't know about user session issue but php55 have more trouble rather than php53 or php54.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.028 seconds with 21 queries.

web stats analysis