VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
-
- Posts: 2
- Joined: Mon Aug 26, 2019 10:07 am
- Os: CentOS 7x
- Web: nginx + php-fpm
Re: Help VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
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.
mahmoud123 wrote: ↑Mon Aug 26, 2019 10:13 amhello 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.
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 php56skamasle wrote: ↑Tue Aug 20, 2019 5:26 pmHiAmiGator wrote: ↑Sun Aug 18, 2019 3:00 pmI 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
Maybe some module cause segmentation fault,
Try install php54 manually without modules like opcache and check if issue persists
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
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
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.
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.
It works!head wrote: ↑Wed Mar 22, 2017 5:23 amJust 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.
Thank you so much