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, 16:38:17

Author Topic: [UPDATE] Please update to 6.5.0.f/6.5.1.b to 201405102/201405104  (Read 15812 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Because security issue related to php-fpm in php 5.3/5.4, php-fpm config need modified/adjustment.

In every php-fpm pool, must exists 'listen.owner', 'listen.group' and 'listen.mode' parameters. Without this parameters, we will see 'error 500' in website and panel.

To fix this issue, follow this steps:
Code: [Select]
yum clean all

## update Kloxo-MR and also others
yum update

## only for Kloxo-MR 6.5.1.b
sh /script/php53s-installer
## importance if using mariadb instead mysql
sh /script/php54s-installer
sh /script/fixlxphpexe php54s

## run cleanup
sh /script/cleanup

## to make sure php-fpm running well
killall -9 php-fpm
sh /script/restart
sh /script/restart-web

If using phpXYm series (aka 'multiple php'), reinstall via 'webserver configure'. The same way via ssh with 'sh /script/php53m-installer' (example for php53m).
« Last Edit: 2014-05-11, 04:39:33 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline carbar

  • Junior Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Thanks for the instructions;
the udate went smoothly :)
Although I didn't find /script/php53s-installer on Centos 6, there is php53s-extension-install instead. What do we do now?
Thanks

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Check again php53s-installer file. No problem if we still using 'old' version of php53s in 'new' version but not otherwise.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Hello Mustafa.

I am using the stable version of Kloxo-MR and I still can't use PHP-FPM after the update.  I have followed your update instructions but cannot downgrade PHP53u

A. Kloxo-MR: 6.5.0.f-2014020301

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.5.34-1.el6.x86_64
   2. PHP: php53u-5.3.28-3.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.35.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: bind-9.9.5-1.el6.x86_64

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

Thanks for your help

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
This issue only impact for php-fpm_event/php-fpm_worker (in apache or -proxy) or nginx or lighttpd. No impact for fcgid/mod_php/suphp
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Mustafa,

I am using fcgid because I cannot use PHP-FPM....   I thought that was implicit

EDIT: any help on fixing the issue would be great.

Thanks
« Last Edit: 2014-05-12, 19:06:23 by asciiker »

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
I was able to fix the issue, for those who maybe facing the same issue with PHP 5.4 + PHP-FPM on the Kloxo MR Stable here is what I had to do:

(Make sure you're using PHP 5.4 in the webserver config of the control panel)

- on mratwork.repo  add/modify:

Code: [Select]
[mratwork-ius]
name=MRatWork - IUS Community Packages for EL $releasever - arch
baseurl=http://dl.iuscommunity.org/pub/ius/stable/Redhat/$releasever/$basearch
mirrorlist=http://dmirr.iuscommunity.org/mirrorlist/?repo=ius-el$releasever&arch=$basearch
enabled=1
gpgcheck=0
exclude=php52* mysql51* php53* php54*

[mratwork-ius-archive]
name=MRatWork - IUS Community Packages for EL $releasever (archive) - arch
baseurl=http://dl.iuscommunity.org/pub/ius/archive/Redhat/$releasever/$basearch
enabled=1
gpgcheck=0
exclude=mysql51* php53*-5.3.28* php54*-5.4.28

- then run the following:

Code: [Select]
yum clean all
yum downgrade php54*
sh /script/restart-web

If all goes well you should be on PHP 5.4.(x86_64 0:5.4.27-1.ius.el6)  and PHP-FPM should be working.

Note: This should also work for PHP 5.3 but I did not test it.

Offline nyol

  • Junior Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Hello Mustafa.

I'm with a new installation of Kloxo 6.5.0.f in a clean VPS with Centos 6.5 64bit

I used the tutorial: https://github.com/mustafaramadhan/kloxo/blob/dev/how-to-install.txt

Code: [Select]
cd /
yum update -y
yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip -y
yum install telnet wget -y
setenforce 0
echo 'SELINUX=disabled' > /etc/selinux/config

cd /tmp
wget https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/mratwork-testing-0.0.1-1.noarch.rpm --no-check-certificate
rpm -ivh mratwork-testing-0.0.1-1.noarch.rpm

cd /
yum update mratwork-* -y
yum install kloxomr -y
sh /script/upcp -y
reboot

After completing the installation the problem came with the update, because I can not find the file php53s-installer



What should I do to get a clean and updated installation of Kloxo-mr?
« Last Edit: 2014-05-22, 15:40:19 by nyol »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Php53s-installer only exist if install Kloxo-MR 6.5.1. Your Kloxo-MR is 6.5.0 and no need step:
Code: [Select]
## only for Kloxo-MR 6.5.1.b
sh /script/php53s-installer
## importance if using mariadb instead mysql
sh /script/php54s-installer
sh /script/fixlxphpexe php54s
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nyol

  • Junior Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Okay I understand

I had not read your instructions, I'm sorry.

Is there a way to install Kloxo 6.5.1.b without having to upgrade 6.5.0.f?

Because every time I follow with a clean install always results in version 6.5.0.f.




Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
You must replace mratwork.repo with 'yum replace mratwork-release --replace-with=mratwork-testing' and then better re-run 'yum update; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.033 seconds with 22 queries.

web stats analysis