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 19 of 28
    • Jump to page:
  • Previous
  • 1
  • …
  • 17
  • 18
  • 19
  • 20
  • 21
  • …
  • 28
  • Next
bksoft
Posts: 5
Joined: Wed Apr 27, 2016 5:09 pm
Contact:
Contact bksoft
Website

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

Post by bksoft » Thu Jan 04, 2018 11:04 pm

Very well! your script function well on my dedicated server. CentOS 6.7
Top

liamgibbins
Posts: 28
Joined: Thu Jan 04, 2018 5:33 pm

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

Post by liamgibbins » Fri Jan 05, 2018 9:41 pm

I selected PHP v7 for a user to install magneto 2 on a domain and it wont install because it still thinks its running the original PHP 5.5
Top

dovecot
Posts: 1
Joined: Thu Jan 11, 2018 4:48 pm

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

Post by dovecot » Thu Jan 11, 2018 4:55 pm

Hello colleagues!

Please, I need your help :)
I have installed script (centos-release-7-4.1708.el7.centos.x86_64). In VestaCP I see PHP version selection. But when I selectm for example PHP7.2, php code is showing as text. I noticed (from console):

Code: Select all

# php72-cgi /home/*/public_html/index.php
X-Powered-By: PHP/7.2.1
Content-type: text/html; charset=UTF-8
<?
phpinfo();
echo "123";
?>

Code: Select all

# php72 /home/*/public_html/index.php
X-Powered-By: PHP/7.2.1
Content-type: text/html; charset=UTF-8
<?
phpinfo();
echo "123";
?>
But I have script correct execution via default version:

Code: Select all

# php /home/*/public_html/index.php
It seems live *.php files are not marked as executable or something like this...
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 » Mon Feb 12, 2018 2:47 pm

liamgibbins wrote: ↑
Fri Jan 05, 2018 9:41 pm
I selected PHP v7 for a user to install magneto 2 on a domain and it wont install because it still thinks its running the original PHP 5.5
This happen because you have a php 5.5 as default version, this happen in all system when you run aditional php version, so, you only can have one default versión in your case 5.5 order versions are aditional and run only for apache so you can do a symlink to change your default version
Top

ilya123456
Posts: 27
Joined: Wed Jun 15, 2016 10:22 am

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

Post by ilya123456 » Fri Feb 16, 2018 11:49 am

Hi
How to connect imagick to php7 ?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

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

Post by imperio » Fri Feb 23, 2018 7:16 am

calvarul, i create new topic with your problem
viewtopic.php?f=11&t=16257
Forum - Web server
Top

czaczawik
Posts: 2
Joined: Sun Mar 11, 2018 3:12 pm

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

Post by czaczawik » Sun Mar 11, 2018 3:20 pm

I want to add php 7.2 to my VPS so:

Code: Select all

[root@node ~]# cd /tmp
[root@node tmp]# bash sk-php-selector2.sh php7.2
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
################################
Aditional PHP versión installed!
More info on skamasle.com or vestacp forums or twit your experience in @skamasle
[root@node tmp]#
But php 7.2 not show up in vesta. Do i do something wrong?
Selector version beta 0.3
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 Mar 13, 2018 9:23 pm

czaczawik wrote: ↑
Sun Mar 11, 2018 3:20 pm
I want to add php 7.2 to my VPS so:

Code: Select all

[root@node ~]# cd /tmp
[root@node tmp]# bash sk-php-selector2.sh php7.2
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
################################
Aditional PHP versión installed!
More info on skamasle.com or vestacp forums or twit your experience in @skamasle
[root@node tmp]#
But php 7.2 not show up in vesta. Do i do something wrong?
Selector version beta 0.3
Try

Code: Select all

bash sk-php-selector2.sh php72
Top

mrfeathers
Posts: 12
Joined: Sun Nov 08, 2015 12:55 am

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

Post by mrfeathers » Tue Mar 13, 2018 9:37 pm

it is any possibility to make it work on nginx+php-fpm?
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 » Thu Mar 15, 2018 8:55 pm

mrfeathers wrote: ↑
Tue Mar 13, 2018 9:37 pm
it is any possibility to make it work on nginx+php-fpm?
With this script is not posible, this just install PHP, php-fpm need more work.
Top


Post Reply
  • Print view

272 posts
  • Page 19 of 28
    • Jump to page:
  • Previous
  • 1
  • …
  • 17
  • 18
  • 19
  • 20
  • 21
  • …
  • 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