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

VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Section with additional software for Vesta
Post Reply
  • Print view
Advanced search
272 posts
  • Page 24 of 28
    • Jump to page:
  • Previous
  • 1
  • …
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • 28
  • Next
mahmoud123
Posts: 2
Joined: Mon Aug 26, 2019 10:07 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Help VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by mahmoud123 » Mon Aug 26, 2019 10:13 am

hello im Beginner and I couldn't knowhow to install this script on my control panel , can you help me , Add a quick video or even some pictures , Or even help me with anything , because i need this script
Top

sysdop
Posts: 88
Joined: Fri Dec 08, 2017 1:46 am
Contact:
Contact sysdop
Website Skype

Os: CentOS 6x
Web: nginx + php-fpm
Re: Help VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by sysdop » Fri Aug 30, 2019 3:33 am

mahmoud123 wrote: ↑
Mon Aug 26, 2019 10:13 am
hello im Beginner and I couldn't knowhow to install this script on my control panel , can you help me , Add a quick video or even some pictures , Or even help me with anything , because i need this script

If you use native nginx with php-fpm it is not compatible for you, I am working on a multiphp for native nginx and php-fpm but it will not be ready for a while.

For now, you need to update PHP by console or switch to using apache with nginx.
Top

AmiGator
Posts: 26
Joined: Wed Mar 05, 2014 2:28 pm

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by AmiGator » Sat Sep 07, 2019 12:55 pm

skamasle wrote: ↑
Tue Aug 20, 2019 5:26 pm
AmiGator wrote: ↑
Sun Aug 18, 2019 3:00 pm
I have updated the default php to version 7.2. Everything works fine, but when I install with this script php 5.4 and restart httpd, I get the error "/bin/bash: line 1: 4832 Segmentation fault /usr/sbin/httpd". I delete php54* and again everything works :-(
P.S. CentOS 6
Hi

Maybe some module cause segmentation fault,

Try install php54 manually without modules like opcache and check if issue persists
Looks like a solution has been found. I installed everything except php54-php and the error was gone. It's definitely him, though I don't know what php54-php doing... This solution also works on php56
Top

CristianD
Posts: 3
Joined: Sat Jul 13, 2019 6:34 am

Os: CentOS 5x
Web: apache
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by CristianD » Sat Oct 12, 2019 8:06 am

Hello guys,

Dose this work any more ?

I made this instalation long time ago was all ok, i made now a new instalation on a new vesta, my httpd dies and not able to start it again.

Installed only php56

VestaCP with apache, no nginx ... on centos 6
Top

Phogo
Posts: 60
Joined: Fri Dec 09, 2016 12:40 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by Phogo » Mon Oct 14, 2019 1:17 pm

CristianD wrote: ↑
Sat Oct 12, 2019 8:06 am
Hello guys,

Dose this work any more ?

I made this instalation long time ago was all ok, i made now a new instalation on a new vesta, my httpd dies and not able to start it again.

Installed only php56

VestaCP with apache, no nginx ... on centos 6
Is there any reason you are using centos 6 for a new server? Centos 8 has just been released.
Top

taicv
Posts: 4
Joined: Thu Apr 16, 2015 8:24 am

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by taicv » Fri Nov 08, 2019 5:39 am

head wrote: ↑
Wed Mar 22, 2017 5:23 am
Just tried on my server and it set php from 7.0 to 5.5.6 as default.
How to fix that and revert 7 to default and rest optional?
I need 5.5 only for one site.

UPDATE (solution?):
check your /etc/httpd/conf.modules.d dir and remove (backup somewhere for sure)
php-related conf files except ones related to version you need by default.
For example - i removed 10-php55-php.conf and 10-php56-php.conf.
Files 15-php70-php.conf and 15-php.conf still there and now i have default php7.

Please someone confirm my information.
It works!
Thank you so much
Top

laguaz
Posts: 8
Joined: Fri Dec 06, 2019 4:51 am

Os: Ubuntu 17x
Web: apache + nginx
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by laguaz » Fri Dec 06, 2019 4:53 am

Today I tested this script on a fresh installation of CentOS 7 64-bit minimal on VirtualBox with VestaCP latest version. The script runs smoothly and installed php55, php56 and php70 for me.

Now, the question is: where are those php.ini files respectively? I want to modify some PHP configuration such as max upload size.

Thank you.
Top

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

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by skamasle » Tue Dec 17, 2019 7:52 pm

You can find PHP.ini in /etc is a symbolink link to each php version
Top

shonir
Posts: 42
Joined: Tue Sep 20, 2016 10:58 am
Contact:
Contact shonir
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by shonir » Sun Jan 12, 2020 10:52 pm

i need help


i have posted topic but got no response viewtopic.php?f=11&p=80634#p80634

due to i need to sort out this issue asap thats why posting here my problem


i am new in vestacp move from cpanel. i recently installed vestacp (CentOS+Apache+Nginx) on my VPS. everything is working fine. vestacp given me by default php7.4 and its nice. one of my website required php 5.6 so i choose php selector and installed. after the installation my all websites moved to php5.6 and bu default now php version is 5.6 but when i run command in ssh php -v its show me php 7.4. my phpmyadmin is dead because its required atleast php 7.1 and roundcube also dead because of php old version.

i want to keep php 7.4 as default version and 5.6 for some website when i required. i created package with different php version but still getting same php 5 version.

i reinstall all version of php but no luck now showing version php 5.4.

i think its automatically picking oldest version first. because when i delete php.5.4 its start showing php.5.6 after remove 5.6 its start showing next version 7.0

i dont how to fix it. i research alo on google and read existing topic on vestacp.com but no solution found.
Top

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

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
  • Quote

Post by skamasle » Wed Jan 22, 2020 8:17 pm

You first upgrade php 7.4 manually and then run this script ?

If yes,this can break phpmyadmin, this topic have similar issue some time a go

You always need leave your default php version and then install aditional

You always can try remove all php verions and start from 0 if you know what you do, so you can leave default php version of centos and then add remi repos and install orther versions
Top


Post Reply
  • Print view

272 posts
  • Page 24 of 28
    • Jump to page:
  • Previous
  • 1
  • …
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • 28
  • 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