We are starting CHRISTMAS Sale. Get 30% OFF on lifetime licenses with code: FYSKK72

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

Section with additional software for Vesta
Pim
Posts: 10
Joined: Fri Sep 30, 2016 12:44 pm

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

Postby Pim » Fri Jul 07, 2017 7:07 am

Where I can disable APC? When I try to add apc.enable=0 into /etc/php.ini I see no effect?

Thank you.

skamasle
Collaborator
Posts: 384
Joined: Mon Feb 29, 2016 6:36 pm

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

Postby skamasle » Fri Jul 07, 2017 1:07 pm

APC is not installed by default, if you have it you need check in what version you have it installed

So make a info.php and see if you have it and check if you have a apc.ini or something like that

crivenly
Posts: 2
Joined: Mon Sep 04, 2017 7:20 pm

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

Postby crivenly » Mon Sep 04, 2017 7:22 pm

Hi,

How can I solve phpmyadmin blank page and http 500 error ?

skamasle
Collaborator
Posts: 384
Joined: Mon Feb 29, 2016 6:36 pm

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

Postby skamasle » Fri Sep 29, 2017 6:46 pm

What error exactly you get ?
Patch your ubuntu 16 or mysq5.7 -> viewtopic.php?f=20&t=13239
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075

skamasle
Collaborator
Posts: 384
Joined: Mon Feb 29, 2016 6:36 pm

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

Postby skamasle » Sun Oct 08, 2017 5:34 pm

Php 7.1 and PHP 7.2.0RC3

is available now int github, for testing

https://github.com/Skamasle/sk-php-sele ... elector.sh
Patch your ubuntu 16 or mysq5.7 -> viewtopic.php?f=20&t=13239
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075

balinese
Posts: 12
Joined: Thu Nov 26, 2015 9:36 am

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

Postby balinese » Wed Oct 25, 2017 7:19 am

hello guys. can someone explain how to enable this selector for user? because it's not available for end user. but if i log in as admin and then log in as user - it's available

skamasle
Collaborator
Posts: 384
Joined: Mon Feb 29, 2016 6:36 pm

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

Postby skamasle » Wed Nov 08, 2017 10:13 pm

balinese wrote:hello guys. can someone explain how to enable this selector for user? because it's not available for end user. but if i log in as admin and then log in as user - it's available


This is not posible,

Not is a php selector issue, you cannot edit any httpd template from user, so this a litte vesta bug.
Patch your ubuntu 16 or mysq5.7 -> viewtopic.php?f=20&t=13239
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075

demian
Posts: 458
Joined: Thu May 16, 2013 5:19 am
Location: Russua, Germany, UK, Ireland, Tuvalu

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

Postby demian » Tue Nov 14, 2017 8:14 am

skamasle wrote:
balinese wrote:hello guys. can someone explain how to enable this selector for user? because it's not available for end user. but if i log in as admin and then log in as user - it's available


This is not posible,

Not is a php selector issue, you cannot edit any httpd template from user, so this a litte vesta bug.

it's not bug. The fewer features a user has, the less he can foul.
However, if you use phpcgi templates, the user can change the version of the php on the installed system himself if syslinkes are installed on different versions

for example:

Code: Select all

# ls -l /usr/bin/ | grep php
... php52 -> /opt/php/php52/bin/php
... php52-cgi -> /opt/php/php52/bin/php-cgi
... php52-pear -> /opt/php/php52/bin/pear
... php53 -> /opt/php/php53/bin/php
... php53-cgi -> /opt/php/php53/bin/php-cgi
... php53-pear -> /opt/php/php53/bin/pear
... php53-phar -> /opt/php/php53/bin/phar.phar
... php54 -> /opt/remi/php54/root/usr/bin/php
... php54-cgi -> /opt/remi/php54/root/usr/bin/php-cgi
... php54-pear -> /opt/remi/php54/root/usr/bin/pear
... php54-phar -> /opt/remi/php54/root/usr/bin/phar.phar
... php56 -> /opt/remi/php56/root/usr/bin/php
... php56-cgi -> /opt/remi/php56/root/usr/bin/php-cgi
... php56-pear -> /opt/remi/php56/root/usr/bin/pear
... php56-phar -> /opt/remi/php56/root/usr/bin/phar.phar
... php70 -> /opt/remi/php70/root/usr/bin/php
... php70-cgi -> /opt/remi/php70/root/usr/bin/php-cgi
... php70-phar -> /opt/remi/php70/root/usr/bin/phar.phar

исправив файл /web/<sitename>/cgi-bin/php.cgi

skamasle
Collaborator
Posts: 384
Joined: Mon Feb 29, 2016 6:36 pm

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

Postby skamasle » Thu Nov 16, 2017 9:18 pm

Yes, maybe not is a bug, but same happen with nginx template and broken ssl, I think this need be enabled, so, admin need take desition to disable or not httpd template and nginx template modifications for clients
Patch your ubuntu 16 or mysq5.7 -> viewtopic.php?f=20&t=13239
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075

henu_45
Posts: 4
Joined: Wed Apr 12, 2017 1:02 am

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

Postby henu_45 » Tue Nov 28, 2017 2:05 am

good work!!! its fine :D

Thanks


Return to “3rd Party Software”



Who is online

Users browsing this forum: No registered users and 3 guests

cron