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-25, 03:31:01

Author Topic: activate secondary-php issue  (Read 9874 times)

0 Members and 1 Guest are viewing this topic.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
activate secondary-php issue
« on: 2013-03-01, 13:34:10 »
How can I activate secondary-php 5.2?

When I remove # in front of 'AddHandler x-httpd-php52' on .htaccess file, 500 Internal Server Error appeared.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: activate secondary-php issue
« Reply #1 on: 2013-03-01, 15:52:57 »
Because secondary-php using suphp as php-type, running 'sh /script/fix-chownchmod' is necessory for 'error 500' issue.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: activate secondary-php issue
« Reply #2 on: 2013-03-01, 16:05:40 »
Thanks mustafa...
I try it but did not help to my issue.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: activate secondary-php issue
« Reply #3 on: 2013-03-01, 18:17:16 »
Update your Kloxo-MR and then run 'sh /script/cleanup; sh /script/fixweb; sh /script/restart-services'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: activate secondary-php issue
« Reply #4 on: 2013-03-01, 19:43:44 »
I update my kloxo-mr to v6.5.0.c.20130030102 (I think this version has one more zero!) but issue still not solved.  :(
Also I switch to php53u before it. (What is difference between 'php53u_' and 'php_' ?)
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: activate secondary-php issue
« Reply #5 on: 2013-03-01, 19:46:18 »
Quote from: "WISTFUL"
I update my kloxo-mr to v6.5.0.c.20130030102 (I think this version has one more zero!) but issue still not solved.  :(
Also I switch to php53u before it. (What is difference between php53u_ and php_?)
Better choose php53u rather than php.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: activate secondary-php issue
« Reply #6 on: 2013-03-01, 19:51:17 »
Try select php-fpm_event + enable secondary again (click their update) and then 'sh /script/restart-services'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: activate secondary-php issue
« Reply #7 on: 2013-03-01, 19:56:43 »
wow! issue solved...
Thanks...
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: activate secondary-php issue
« Reply #8 on: 2013-03-01, 20:38:28 »
*Issue1:
After I switch to php53u below error appeared:
Quote
Site error: the file /home/admin/domain.ltd/admin/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the site administrator.
I switched back to php 5.4 and below error appeared:
Quote
Site error: the file /home/admin/domain.ltd/admin/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.4.so to be installed by the site administrator.
Then I try 'yum install php54-ioncube-loader'
Now blank white page displayed!

*Issue2:
I have installed ImageMagick on php 5.4 but when I switch to php 5.2 it is not installed!
How can I install it on php 5.2?

*Issue3:
Why memory limit is 80000 MB on php 5.2?! (I have pm it's link for you)
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: activate secondary-php issue
« Reply #9 on: 2013-03-01, 20:55:39 »
Most of php module is version-dependence. So, if you switch from 5.4 to 5.3, you must change their external module(s) too.

You not able to use xcache module from php 5.4 for php 5.3.

So, it's not Kloxo-MR fault but you don't know what's you must doing for this situation.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: activate secondary-php issue
« Reply #10 on: 2013-03-01, 21:09:52 »
- Is it possible to remove ioncube_loader and reinstall it?
- What is your opinion about my above second and third issue?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: activate secondary-php issue
« Reply #11 on: 2013-03-01, 21:15:58 »
Issue for imagick as the same as issue for xcache. You can replace xcache and imagick.

For php52, this php is special php (use lxphp) and that mean all setting for lxphp (using for Kloxo) is affect for php52 on apps.

Open '/etc/suphp.inf' and you can see how secondary-php work.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: activate secondary-php issue
« Reply #12 on: 2013-03-01, 21:33:53 »
- xcache hase related to ioncube_loader? (I can not understand your mean)
- how can I  replace xcache and imagick? (Is it possible that describe it step by step?)
- When primery php is 5.4, How can I install imagick for secondary php?

 :?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: activate secondary-php issue
« Reply #13 on: 2013-03-01, 23:53:31 »
Update again your Kloxo-MR and running 'sh /script/lxphp-module-install'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: activate secondary-php issue
« Reply #14 on: 2013-03-02, 00:16:02 »
Thank!

For blank page issue after install ioncube-loader, I first try 'yum remove php54-ioncube-loader' then update kloxo-mr and finally run 'yum install php54-ioncube-loader' and issue solved!
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

 


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

Page created in 0.028 seconds with 18 queries.

web stats analysis