Page 24 of 24

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

Posted: Mon Aug 26, 2019 10:13 am
by mahmoud123
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

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

Posted: Fri Aug 30, 2019 3:33 am
by sysdop
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.

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

Posted: Sat Sep 07, 2019 12:55 pm
by AmiGator
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

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

Posted: Sat Oct 12, 2019 8:06 am
by CristianD
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

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

Posted: Mon Oct 14, 2019 1:17 pm
by Phogo
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.

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

Posted: Fri Nov 08, 2019 5:39 am
by taicv
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