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-06-02, 09:04:05

Author Topic: PHP 5.2  (Read 4411 times)

0 Members and 1 Guest are viewing this topic.

Offline starbolt

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
PHP 5.2
« on: 2013-08-07, 06:21:01 »
Hello

I've found 2 problems on Kloxo-MR and I'm not sure if it's a bug.

- If you go to "Server settings" and click on PHP 5.2 as php branch, kloxo will process the request and return to the screen showing the current php version. In other words, Kloxo-MR won't update/downgrade to php 5.2, it will leave stuck on your current php version (any php version different from 5.2).

- On one of my servers I can't select nginx as webserver. Kloxo-MR will not update it too, it will be stuck on the current webserver software I have (apache or any other). I can only run nginx-proxy. The problem only happens on one of my server, I have another server running nginx server normally.

Does anyone know what is this?

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

Offline visadz

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: PHP 5.2
« Reply #1 on: 2014-01-07, 14:39:35 »
hello,
@starbolt it's true what you say and it's very important for same kind of cms to work only with 5.2
cuz with php 5.3 they show this error :
"Deprecated: Assigning the return value of new by reference is deprecated in  path"

cuz they use =& !!!.

it's very important to get switch to php 5.2 work thanks.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.2
« Reply #2 on: 2014-01-07, 14:42:03 »
Instead use php branch as 'php 5.2' better enable 'secondary php' and modified .htaccess for using this php 5.2 for certain domain.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline visadz

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: PHP 5.2
« Reply #3 on: 2014-01-07, 16:13:55 »
Instead use php branch as 'php 5.2' better enable 'secondary php' and modified .htaccess for using this php 5.2 for certain domain.

like my case am using lighttpd i can't use .htaccess.
did there any way to dowgrade to php52 ?
it's very important to get php 5.2.17 work cuz many cms like all vbulletin <3.8.7 wordpress show the deprecated massege.

thank you.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.2
« Reply #4 on: 2014-01-07, 16:34:40 »
From ssh, run 'yum replace php53u --replace-with=php52'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline visadz

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: PHP 5.2
« Reply #5 on: 2014-01-07, 16:49:52 »
first thank u mratwork.
"Error: No Package Matching php52"

in other one

"Error: Package: php52-cli-5.2.17-6.ius.centos5.x86_64 (mratwork-ius-c5)
           Requires: libcurl.so.3()(64bit)
Error: Package: php52-5.2.17-6.ius.centos5.x86_64 (mratwork-ius-c5)
           Requires: libcurl.so.3()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
"
« Last Edit: 2014-01-07, 16:54:06 by visadz »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.2
« Reply #6 on: 2014-01-07, 17:26:30 »
Try 'yum install libcurl' first.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline visadz

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: PHP 5.2
« Reply #7 on: 2014-01-07, 17:29:11 »
"Setting up Install Process
Package libcurl-7.19.7-37.el6_4.x86_64 already installed and latest version
Nothing to do"

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.2
« Reply #8 on: 2014-01-07, 18:21:46 »
It's not easy install php52 in centos 6 because centos 6 use php 5.3 as default php.
..:: 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
Click Here

Page created in 0.072 seconds with 18 queries.

web stats analysis