We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
bash sk-php-selector2.sh allskamasle wrote: ↑Fri Mar 04, 2016 9:08 pmPHP SELECTOR IS NOT OFFICIALLY SUPPORTED BY VESTACP RUN AT YOUR OWN RISK - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
This is a personal script
SK PHP Selector:
- This script using vesta templates.
- This script using remi repo.
- I make this script to help people who whant run Multiple PHP versions on vestacp, is easy to do manually but this script makes it easier even
- Ubuntu PHP selector for vesta ?
-- Coming soon, but you need spend time on compilation of php 15 / 20 minutes for each versión.
- Not SUPPORT NGINX + PHP-FPM
Some caps:
===========================================SpoilerShow
Need select php version you install ? read in github new options in beta 0.3 -> https://github.com/Skamasle/sk-php-selector
UPDATE- This version is available from github -> https://github.com/Skamasle/sk-php-selectorCode: Select all
Beta 0.2.4 - Added php 7.1 and php 7.2RC3 - Fix some issues with phpmyadmin
Code: Select all
Beta 0.2.3 - Remove some code and tests. - Using simlinks for templates. [code]Beta 0.2.2 - Fix bug on centos 6 paths thanks @tjebbeke to reporting -- Now check twice php path on centos 6 - Fix Include Optional on centos 6
Code: Select all
Beta 0.2.1 - Working on Centos 6.7 and Centos 7 - Detect PHP versión. - Install php 5.4, php 5.5, php 5.6 and php 7. - Support if php was upgraded, skip that version. -- Requirements: - Centos 6 or centos 7 - Default vetacp installed whit remi repo
beta 0.2.3 installer:
Run at own risk ! still in beta, This it provided without any warranty !
Need select php version you install ? read in github new options in beta 0.3 -> https://github.com/Skamasle/sk-php-selector
Code: Select all
wget http://mirror.skamasle.com/vestacp/PHP/sk-phpinstaller_beta02_3.sh
Need PHP 5.2 ?Code: Select all
bash sk-phpinstaller_beta02_3.sh
Check this -> viewtopic.php?f=19&t=13406
Multiple PHP on VestaCP - Adding Modules
You can install any modules to aditional php versión using remi repo:
Search module:Install:Code: Select all
yum search php70 --enablerepo=remi |grep opcache #output: php70-php-opcache.x86_64 : The Zend OPcache
Then search ini if need it:Code: Select all
yum install php70-php-opcache --enablerepo=remi
Some problems whit big files on joomla, wordpress, plugins or modules fix -> http://forum.vestacp.com/viewtopic.php? ... 843#p43749Code: Select all
/usr/bin/php70 --ini |grep opcache Additional .ini files parsed: /etc/opt/remi/php70/php.d/10-opcache.ini,
Update main PHP version and get phpmyadmin broken -> viewtopic.php?f=19&t=10854&p=67369#p67369 no script fail
sk-php-selector2.sh: line 7: syntax error near unexpected token `newline'
sk-php-selector2.sh: line 7: `<!DOCTYPE html>'
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
You download incorrect file, maybe from github, download file from "raw" option
You download a html file and not a script.
You download a html file and not a script.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hello. Is it planned: SUPPORT NGINX + PHP-FPM?
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Great thing but I have a problem....
Installed Vestacp, upgraded PHP to 7.0
After that I run the script: bash sk-php-selector2.sh php56 php70
It said me that "PHP 7.0 is already installed and nothing to do"
Installed 5.6
But now Ive got my existing sites on PHP 5.6, not 7.0! It is "web template" default in both. And the choice exist only as standard and "sk-php5.6"
Please, how to shitch to 7.0 back???
Installed Vestacp, upgraded PHP to 7.0
After that I run the script: bash sk-php-selector2.sh php56 php70
It said me that "PHP 7.0 is already installed and nothing to do"
Installed 5.6
But now Ive got my existing sites on PHP 5.6, not 7.0! It is "web template" default in both. And the choice exist only as standard and "sk-php5.6"
Please, how to shitch to 7.0 back???
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Great! It works for me so far! I'm back on PHP7!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.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hi,skamasle wrote: ↑Fri Mar 04, 2016 9:08 pmPHP SELECTOR IS NOT OFFICIALLY SUPPORTED BY VESTACP RUN AT YOUR OWN RISK - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
This is a personal script
SK PHP Selector:
- This script using vesta templates.
- This script using remi repo.
- I make this script to help people who whant run Multiple PHP versions on vestacp, is easy to do manually but this script makes it easier even
- Ubuntu PHP selector for vesta ?
-- Coming soon, but you need spend time on compilation of php 15 / 20 minutes for each versión.
- Not SUPPORT NGINX + PHP-FPM
Some caps:
===========================================SpoilerShow
Need select php version you install ? read in github new options in beta 0.3 -> https://github.com/Skamasle/sk-php-selector
UPDATE- This version is available from github -> https://github.com/Skamasle/sk-php-selectorCode: Select all
Beta 0.2.4 - Added php 7.1 and php 7.2RC3 - Fix some issues with phpmyadmin
Code: Select all
Beta 0.2.3 - Remove some code and tests. - Using simlinks for templates. [code]Beta 0.2.2 - Fix bug on centos 6 paths thanks @tjebbeke to reporting -- Now check twice php path on centos 6 - Fix Include Optional on centos 6
Code: Select all
Beta 0.2.1 - Working on Centos 6.7 and Centos 7 - Detect PHP versión. - Install php 5.4, php 5.5, php 5.6 and php 7. - Support if php was upgraded, skip that version. -- Requirements: - Centos 6 or centos 7 - Default vetacp installed whit remi repo
beta 0.2.3 installer:
Run at own risk ! still in beta, This it provided without any warranty !
Need select php version you install ? read in github new options in beta 0.3 -> https://github.com/Skamasle/sk-php-selector
Code: Select all
wget http://mirror.skamasle.com/vestacp/PHP/sk-phpinstaller_beta02_3.sh
Need PHP 5.2 ?Code: Select all
bash sk-phpinstaller_beta02_3.sh
Check this -> viewtopic.php?f=19&t=13406
Multiple PHP on VestaCP - Adding Modules
You can install any modules to aditional php versión using remi repo:
Search module:Install:Code: Select all
yum search php70 --enablerepo=remi |grep opcache #output: php70-php-opcache.x86_64 : The Zend OPcache
Then search ini if need it:Code: Select all
yum install php70-php-opcache --enablerepo=remi
Some problems whit big files on joomla, wordpress, plugins or modules fix -> http://forum.vestacp.com/viewtopic.php? ... 843#p43749Code: Select all
/usr/bin/php70 --ini |grep opcache Additional .ini files parsed: /etc/opt/remi/php70/php.d/10-opcache.ini,
Update main PHP version and get phpmyadmin broken -> viewtopic.php?f=19&t=10854&p=67369#p67369 no script fail
how completely remove?
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Don't work
Vesta 0.9.8
Centos 7
PHP 5.4.45
When switching to the version above 5.6
error "The site ... can not process this request yet."
in 5.6 php -v shows 5.4
Forget about the switch?
Any ideas?
Vesta 0.9.8
Centos 7
PHP 5.4.45
When switching to the version above 5.6
error "The site ... can not process this request yet."
in 5.6 php -v shows 5.4
Forget about the switch?
Any ideas?
-
- Posts: 4
- Joined: Mon Apr 02, 2018 4:53 pm
- Os: CentOS 6x
- Web: apache + nginx
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Vesta Installation
When I try to update a website php version. I get Internal Server Error (500)
Can you help me?
SpoilerShow
You have remi repo installed and run:
CentOS Linux release 7.4.1708 (Core)
##########
Start installing aditional php version
##########
Actually you runing php 5.6, so I will skip it
Installing PHP 7.1
.......
PHP 71 Ready!
Actually you runing php 5.6, so I will skip it
Installing PHP 7.2
.......
PHP 72 Ready!
CentOS Linux release 7.4.1708 (Core)
##########
Start installing aditional php version
##########
Actually you runing php 5.6, so I will skip it
Installing PHP 7.1
.......
PHP 71 Ready!
Actually you runing php 5.6, so I will skip it
Installing PHP 7.2
.......
PHP 72 Ready!
SpoilerShow
[Sun May 27 20:53:23.425116 2018] [fcgid:warn] [pid 30646] (104)Connection reset by peer: [client] mod_fcgid: error reading data from FastCGI server
[Sun May 27 20:53:23.425150 2018] [core:error] [pid 30646] [client ] End of script output before headers: index.php
[Sun May 27 20:53:28.359167 2018] [fcgid:warn] [pid 30644] (104)Connection reset by peer: [client ] mod_fcgid: error reading data from FastCGI server
[Sun May 27 20:53:28.359194 2018] [core:error] [pid 30644] [client ] End of script output before headers: index.php
[Sun May 27 20:53:23.425150 2018] [core:error] [pid 30646] [client ] End of script output before headers: index.php
[Sun May 27 20:53:28.359167 2018] [fcgid:warn] [pid 30644] (104)Connection reset by peer: [client ] mod_fcgid: error reading data from FastCGI server
[Sun May 27 20:53:28.359194 2018] [core:error] [pid 30644] [client ] End of script output before headers: index.php
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
This fail in any php script ? can you do a info.php file ?altayevrim wrote: ↑Sun May 27, 2018 8:59 pmVesta InstallationWhen I try to update a website php version. I get Internal Server Error (500)SpoilerShowYou have remi repo installed and run:
CentOS Linux release 7.4.1708 (Core)
##########
Start installing aditional php version
##########
Actually you runing php 5.6, so I will skip it
Installing PHP 7.1
.......
PHP 71 Ready!
Actually you runing php 5.6, so I will skip it
Installing PHP 7.2
.......
PHP 72 Ready!Can you help me?SpoilerShow[Sun May 27 20:53:23.425116 2018] [fcgid:warn] [pid 30646] (104)Connection reset by peer: [client] mod_fcgid: error reading data from FastCGI server
[Sun May 27 20:53:23.425150 2018] [core:error] [pid 30646] [client ] End of script output before headers: index.php
[Sun May 27 20:53:28.359167 2018] [fcgid:warn] [pid 30644] (104)Connection reset by peer: [client ] mod_fcgid: error reading data from FastCGI server
[Sun May 27 20:53:28.359194 2018] [core:error] [pid 30644] [client ] End of script output before headers: index.php
<?php phpinfo();
You install version from github ?