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 2 of 28
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 28
  • Next
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 Mar 07, 2016 1:40 pm

baijianpeng wrote:A little different on my centos 7 server:

Code: Select all

/opt/remi/$PHPVERSION/root/etc/php.ini
PS: I have two suggestions for your multi-php installer script:

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.
Hi

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.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

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

Post by baijianpeng » Mon Mar 07, 2016 1:58 pm

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.
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 Mar 07, 2016 2:36 pm

I dont see that, if know its in progress I dont do this scripts.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

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

Post by pandabb » Mon Mar 07, 2016 3:31 pm

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.
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 Mar 07, 2016 10:27 pm

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.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

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

Post by baijianpeng » Tue Mar 08, 2016 9:05 am

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:

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]# 
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.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

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

Post by pandabb » Tue Mar 08, 2016 1:44 pm

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?
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 08, 2016 2:56 pm

baijianpeng 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:

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]# 
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.
Hi

This is a remi problem :/ they put php.ini for php70 in /etc/opt/
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 » Wed Mar 09, 2016 7:35 pm

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?
You only need edit php.ini, you dont need do nothing more.

May I add symlinks to php.ini in next updateto to get all php.ini fileson etc /etc/php70.ini /etc/php55.ini etc.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

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

Post by pandabb » Thu Mar 10, 2016 12:58 am

thats a good idea to add shortcut
Top


Post Reply
  • Print view

272 posts
  • Page 2 of 28
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 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