Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section 3rd Party Software
  • Search

Add PHP 5.2 Support in Centos 6 Topic is solved

Section with additional software for Vesta
Post Reply
  • Print view
Advanced search
14 posts
  • 1
  • 2
  • Next
skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Add PHP 5.2 Support in Centos 6
  • Quote

Post by 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

Instructions for CENTOS 7 -
> viewtopic.php?f=19&t=13406&p=61533#p61533
Top

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

Os: Debian 8x
Web: apache + nginx
Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by one » Fri Dec 30, 2016 12:56 pm

Hello,

what about running this script on CentOS 7?
Top

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

Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by 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
Top

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

Os: Debian 8x
Web: apache + nginx
Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by one » Fri Dec 30, 2016 2:04 pm

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

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

Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by 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
Top

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

Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by 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
Top

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

Os: Debian 8x
Web: apache + nginx
Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by one » Fri Dec 30, 2016 2:38 pm

Ok.

I will try to comple by my self.
Top

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

Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by 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
Top

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

Os: Debian 8x
Web: apache + nginx
Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by one » Fri Dec 30, 2016 2:58 pm

Thank you!
Top

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

Re: Add PHP 5.2 Support in Centos 6
  • Quote

Post by 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
Top


Post Reply
  • Print view

14 posts
  • 1
  • 2
  • Next

Return to “3rd Party Software”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password