Add PHP 5.2 Support in Centos 6 Topic is solved

Section with additional software for Vesta
skamasle
Collaborator
Posts: 371
Joined: Mon Feb 29, 2016 6:36 pm

Add PHP 5.2 Support in Centos 6

Postby skamasle » Thu Dec 15, 2016 10:59 pm

For complement php selector -> viewtopic.php?f=19&t=10854

Some time a go I do a lite script to compile php 5.2 in centos 6

Is a simple script and working in centos 6 whit default repos..

You can follow any internet guide to compile php 5.2 or use this script to compile it and add vesta templates.

This may help people runing old aplications, It save me a lot of time.

Code: Select all

wget http://mirror.skamasle.com/vestacp/PHP/sk-php52-installer.sh


Code: Select all

bash sk-php52-installer.sh

one
Posts: 274
Joined: Tue Sep 15, 2015 4:11 pm

Re: Add PHP 5.2 Support in Centos 6

Postby one » Fri Dec 30, 2016 12:56 pm

Hello,

what about running this script on CentOS 7?

skamasle
Collaborator
Posts: 371
Joined: Mon Feb 29, 2016 6:36 pm

Re: Add PHP 5.2 Support in Centos 6

Postby skamasle » Fri Dec 30, 2016 1:48 pm

one wrote:Hello,

what about running this script on CentOS 7?


I not test this in centos 7.

I think need some changes, install some more dependencies maybe

one
Posts: 274
Joined: Tue Sep 15, 2015 4:11 pm

Re: Add PHP 5.2 Support in Centos 6

Postby one » Fri Dec 30, 2016 2:04 pm

I have try this script but get message it only for CentOS 6.

skamasle
Collaborator
Posts: 371
Joined: Mon Feb 29, 2016 6:36 pm

Re: Add PHP 5.2 Support in Centos 6

Postby skamasle » Fri Dec 30, 2016 2:31 pm

one wrote:I have try this script but get message it only for CentOS 6.


Yes have some check to prevent runing it in order versions to avoid errors.

You can compile php manually .

I will add support to centos 7 also, just need check somethings

skamasle
Collaborator
Posts: 371
Joined: Mon Feb 29, 2016 6:36 pm

Re: Add PHP 5.2 Support in Centos 6

Postby skamasle » Fri Dec 30, 2016 2:31 pm

skamasle wrote:
one wrote:I have try this script but get message it only for CentOS 6.


Yes have some check to prevent runing it in order versions to avoid errors.

You can compile php manually whit same script procedure to check.

I will add support to centos 7 also, just need check somethings

one
Posts: 274
Joined: Tue Sep 15, 2015 4:11 pm

Re: Add PHP 5.2 Support in Centos 6

Postby one » Fri Dec 30, 2016 2:38 pm

Ok.

I will try to comple by my self.

skamasle
Collaborator
Posts: 371
Joined: Mon Feb 29, 2016 6:36 pm

Re: Add PHP 5.2 Support in Centos 6  Topic is solved

Postby skamasle » Fri Dec 30, 2016 2:45 pm

one wrote:Ok.

I will try to comple by my self.


You may need apply some patchs

https://www.centos.org/forums/viewtopic.php?t=53046

It appers than php 5.2 cant be compiled in centos 7 whitout patch

one
Posts: 274
Joined: Tue Sep 15, 2015 4:11 pm

Re: Add PHP 5.2 Support in Centos 6

Postby one » Fri Dec 30, 2016 2:58 pm

Thank you!

abe666
Posts: 1
Joined: Thu Mar 30, 2017 8:34 pm

Re: Add PHP 5.2 Support in Centos 6

Postby abe666 » Thu Mar 30, 2017 8:40 pm

Hi, please correct error in CentOS 6.8 install:

Code: Select all

configure: error: libjpeg.(a|so) not found.
Stop compile, we get some errors


Thanks


Return to “3rd Party Software”



Who is online

Users browsing this forum: No registered users and 3 guests

cron