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.
Hibaijianpeng wrote:A little different on my centos 7 server:
PS: I have two suggestions for your multi-php installer script:Code: Select all
/opt/remi/$PHPVERSION/root/etc/php.ini
1. please add "progress bar" for installing process, to avoid users think "nothing happened, is it dead?"
2. please submit this script to VestaCP official team so that all VestaCP users will benefit from it.
Thank you.
Thanks for suggestions,
I can do it verbose, scripts is so easy only detect and install new php versión, I can enable output from yum o say wait a minute
May I add option to enable out put or progress bar :)
Still in beta, so I need add more changes, I remove some code oin next realease.
I think vesta dont add php selector because you cant do it universal, so is really easy make it working on centos whit remi repo, but in ubuntu you need or make your own repo ( or find some similar to remi ) or compile PHP,
I have some script to do the same on ubuntu 14, script download an compile PHP, but you need 25 minutos or more to compile one php versión (time vary server to server )
If vesta team whant to take this script they can ( the script dont have any license ), but I think they can do some better script because I dont have much time to programing it.
Thanks for suggestiongs and share your experience.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
hi, VestaCP team is working on "multiple php version" feature, see:
https://bugs.vestacp.com/issues/102
and this:
https://bugs.vestacp.com/issues/103
Hope you can join them and make this feature more powerful and easier.
Thank you.
https://bugs.vestacp.com/issues/102
and this:
https://bugs.vestacp.com/issues/103
Hope you can join them and make this feature more powerful and easier.
Thank you.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
I dont see that, if know its in progress I dont do this scripts.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
thanks bro does it also have diffrent template options like basedir,hosting,phpcgi and so on..
thanks agian, i will wait for the next or stable release for my production server.
thanks agian, i will wait for the next or stable release for my production server.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
No support for more templates yet.
I update script to beta 0.2.3, make some changes to reduce amount of code and downloaded files, no important changes, using simlinks and some more.
I update script to beta 0.2.3, make some changes to reduce amount of code and downloaded files, no important changes, using simlinks and some more.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Today I tried the 0.23 version of this script on a fresh installation of CentOS 7 minimal and VestaCP. Then I want to switch to php 7 and change some parameters of php.ini, but I can not find the php.ini for php70 now:
You can see that I can find php.ini files for php55 and php56 both in the same pattern of file path. But the php70 version does not use the same path.
So where is the php.ini for php70?
Thank you.
Code: Select all
[root@localhost root]# cd /opt/remi/php55/root/etc/
[root@localhost etc]# ls
opt pear pear.conf php.d php.ini pki pm skel sysconfig X11 xdg xinetd.d
[root@localhost etc]# cd /opt/remi/php56/root/etc/
[root@localhost etc]# ls
opt pear pear.conf php.d php.ini pki pm skel sysconfig X11 xdg xinetd.d
[root@localhost etc]# cd /opt/remi/php70/root/etc/
-bash: cd: /opt/remi/php70/root/etc/: No such file or directory
[root@localhost etc]#
So where is the php.ini for php70?
Thank you.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
skamasle wrote:No support for more templates yet.
I update script to beta 0.2.3, make some changes to reduce amount of code and downloaded files, no important changes, using simlinks and some more.
ok so one setting for all, i just need to edit the php.ini and apply custom settings corerct?
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hibaijianpeng wrote:Today I tried the 0.23 version of this script on a fresh installation of CentOS 7 minimal and VestaCP. Then I want to switch to php 7 and change some parameters of php.ini, but I can not find the php.ini for php70 now:
You can see that I can find php.ini files for php55 and php56 both in the same pattern of file path. But the php70 version does not use the same path.Code: Select all
[root@localhost root]# cd /opt/remi/php55/root/etc/ [root@localhost etc]# ls opt pear pear.conf php.d php.ini pki pm skel sysconfig X11 xdg xinetd.d [root@localhost etc]# cd /opt/remi/php56/root/etc/ [root@localhost etc]# ls opt pear pear.conf php.d php.ini pki pm skel sysconfig X11 xdg xinetd.d [root@localhost etc]# cd /opt/remi/php70/root/etc/ -bash: cd: /opt/remi/php70/root/etc/: No such file or directory [root@localhost etc]#
So where is the php.ini for php70?
Thank you.
This is a remi problem :/ they put php.ini for php70 in /etc/opt/
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
You only need edit php.ini, you dont need do nothing more.pandabb wrote:skamasle wrote:No support for more templates yet.
I update script to beta 0.2.3, make some changes to reduce amount of code and downloaded files, no important changes, using simlinks and some more.
ok so one setting for all, i just need to edit the php.ini and apply custom settings corerct?
May I add symlinks to php.ini in next updateto to get all php.ini fileson etc /etc/php70.ini /etc/php55.ini etc.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
thats a good idea to add shortcut