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-27, 17:01:54

Author Topic: [TEST] PHP53s for Kloxo-MR panel  (Read 3338 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
[TEST] PHP53s for Kloxo-MR panel
« on: 2014-02-15, 04:54:18 »
As we know, Kloxo-MR still using php52s (special php 5.2) for running their panel.

Since Kloxo-MR 6.5.1.a-2014021501, we are able using php53s (special php 5.3) for running panel.

Need action for enable it:

1. update Kloxo-MR with 'yum clean all; yum update'
2. Run cleanup with 'sh /script/cleanup'
3. install php53s with 'sh /script/php53s-install'
4. Stop kloxo service with 'killall -u lxlabs'
5. Start kloxo service with 'sh /script/restart' or 'service kloxo restart'

For back to use php52s, just change step 1 with 'yum remove php53s*'.

Yes, different with Kloxo official (6.1.15) approach, KLoxo-MR still 'dual-php' compatible. Many reason why using this approach:

1. Php53s still testing and need report from users where this php have a problem or not
2. Still found 'memory leaks' when install Kloxo-MR using php53s. Look like the code need optimize
3. Php53s using php-fpm (with 'ondemand' pm) instead spawn-fcgi for php and make less memory usage, especially in idle situation.

Beside implementing php53s, any other changes/features:
1. Add '+SymLinksIfOwnerMatch' in apache/httpd and similar function for other webserver. Again, It's make more secure for Kloxo-MR rather than Kloxo official
2. Use 'ondemand' instead 'dynamic' for php-fpm. It's make more efficient memory usage (but little bit slow). In many cases, less memory usage when website/panel idle.

NOTE:
- For fresh install, just follow step 3-5
« Last Edit: 2014-03-17, 12:26:46 by MRatWork »
..:: 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: [TEST] PHP53s for Kloxo-MR panel
« Reply #1 on: 2014-02-17, 18:28:07 »
I got it working on my production server but on my Virtualbox machine after reboot I just got blank page...

Why ?

It seems to be working fine:

Quote
root      1946  0.0  0.0 106060  1300 pts/0    S    18:20   0:00 /bin/sh /usr/bin/lxphp.exe /usr/local/lxlabs/kloxo/sbin/kloxo.php master
root      1954  0.0  0.0 467172 31760 pts/0    S    18:20   0:00 /opt/php53s/usr/bin/php -c /usr/local/lxlabs/kloxo/init/php53s/php.ini /usr/local/lxlabs/kloxo/sbin/kloxo.php master
root      1957  0.0  0.0 445688  7040 ?        Ss   18:20   0:00 php-fpm: master process (/usr/local/lxlabs/kloxo/init/php53s/php-fpm.conf)                                     
lxlabs    1983  0.0  0.0 187908  1832 ?        Ssl  18:20   0:00 /usr/local/lxlabs/kloxo/init/kloxo-hiawatha -c /usr/local/lxlabs/kloxo/init
root      2309  0.0  0.0 103260   884 pts/1    S+   18:27   0:00 grep kloxo

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: [TEST] PHP53s for Kloxo-MR panel
« Reply #2 on: 2014-03-17, 08:54:04 »
hello

i restart-all   and than

warnings and errors
Code: [Select]
Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/enchant.so' - libenchant.so.1: cannot open shared object file: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/lzf.so' - liblzf.so.1: cannot open shared object file: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/recode.so' - librecode.so.0: cannot open shared object file: No such file or directory in Unknown on line 0
Stopping kloxo-phpcgi:
Starting kloxo-phpcgi: <br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/enchant.so' - libenchant.so.1: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/lzf.so' - liblzf.so.1: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib/php/modules/recode.so' - librecode.so.0: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />


how can i fix PHP53s problem

yum remove php53s* not fix the problem
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

 


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

Page created in 0.038 seconds with 18 queries.

web stats analysis