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.
Very well! your script function well on my dedicated server. CentOS 6.7
-
- 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.
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
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
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):
But I have script correct execution via default version:
It seems live *.php files are not marked as executable or something like this...
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";
?>
Code: Select all
# php /home/*/public_html/index.php
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 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 versionliamgibbins wrote: ↑Fri Jan 05, 2018 9:41 pmI 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
-
- Posts: 27
- Joined: Wed Jun 15, 2016 10:22 am
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hi
How to connect imagick to php7 ?
How to connect imagick to php7 ?
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
I want to add php 7.2 to my VPS so:
But php 7.2 not show up in vesta. Do i do something wrong?
Selector version beta 0.3
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]#
Selector version beta 0.3
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Tryczaczawik wrote: ↑Sun Mar 11, 2018 3:20 pmI want to add php 7.2 to my VPS so:But php 7.2 not show up in vesta. Do i do something wrong?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]#
Selector version beta 0.3
Code: Select all
bash sk-php-selector2.sh php72
-
- Posts: 12
- Joined: Sun Nov 08, 2015 12:55 am
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
it is any possibility to make it work on nginx+php-fpm?
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
With this script is not posible, this just install PHP, php-fpm need more work.