Ваши клиенты хотели бы иметь несколько версий PHP?
Форум
  1. Forums
  2. General
  3. General Discussion
  1. Igor Seletskiy
  2. Monday, 09 April 2012
  3.  Subscribe via email
Now that we have CageFS & proper namespaces, it is very easy for us to add ability for the customer to choose which version of PHP to run.
We can offer customer php 5.1, 5.2, 5.3, 5.4 as well as \"Latest beta\" version. That would require suPHP, php as CGI or mod_fcgid. Beyond that requirement, it would work with pretty much any control panel.
Customer would be able to select PHP version that they want, as well as list of extensions (we can include pretty much everything to satisfy anyone).
We can even allow customer to edit php.ini

That would be in addition to \"default/system\" PHP.

I have heard a lot of people saying that they want to have it. Yet, some hosting companies voices that they don\'t want it, as it would create a lot of new support questions, and they are afraid it would be a support nightmare.

What do you think? Is that something you would like to have? Do you see any potential issues we should consider?
Rate this post:
  1. 09.04.2012 12:04:46
  2. # 1
John Slane Accepted Answer
Posts: 8
Joined: 29.04.2011
0
Votes
Undo
It sounds like a great idea. Would this become a feature they change in cPanel?

Thanks for everything, CloudLinux has really improved our server security and stability!
  1. 09.04.2012 12:04:14
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Yes, it will be an icon they would click, select version of PHP, and optionally php extensions they want to run.
  1. 09.04.2012 14:04:59
  2. # 3
Peter Abraham Accepted Answer
Posts: 10
Joined: 10.08.2010
0
Votes
Undo
Total cost of management includes support; so one version keeps support and administrative overhead lower.
  1. 09.04.2012 15:04:56
  2. # 4
Borislav Borislavov Accepted Answer
Posts: 1
Joined: 09.04.2012
0
Votes
Undo
For sure customers should be able to edit php.ini and choose the version and the extensions, because with shared services we have customers with different applications, different needs and different visions, but they share the same environment. The only way to provide customer satisfaction, without causing problems with other applications you need different PHPs at least!
  1. 10.04.2012 05:04:26
  2. # 5
Richard Hordern Accepted Answer
Posts: 219
Joined: 19.03.2011
0
Votes
Undo
This would be a very nice feature.

I know cPanel is preparing EA4 which will include RPM versions of PHP…

We are looking into php-fpm ( (FastCGI Process Manager) at the moment (cPanel are waiting for PHP 5.4.1 before starting work on this).
  1. 10.04.2012 08:04:21
  2. # 6
Steve Venter Accepted Answer
Posts: 28
Joined: 24.06.2010
0
Votes
Undo
Yes! This would allow me to convert all my servers running HIVE to CL. The clients on the HIVE servers really appreciate being able to switch between PHP versions, and overriding the PHP defaults.
  1. 10.04.2012 14:04:02
  2. # 7
Ryan Smith Accepted Answer
Posts: 5
Joined: 10.04.2012
0
Votes
Undo
Yes, this would be great!

Ideally it would be nice if the server admin could select how much the customer could configure, be it just the version, or extensions and all so it satisfies everyone. Those worried about increased support overhead could just disable this feature if they don\'t want to use it.

We\'ve been stuck on PHP 5.2 for too long as replacing it with 5.3 would create a lot of compatibility issues so it would be nice to be able to offer multiple versions to satisfy all clients. We\'ve looked at other options like Litespeed and Hive just to have this feature so it would be great if CloudLinux could include it.
  1. 11.04.2012 15:04:15
  2. # 8
Frank Doud Accepted Answer
Posts: 41
Joined: 21.08.2010
0
Votes
Undo
Sounds like a \"Win Win\" to me.

Frank
  1. 13.04.2012 07:04:03
  2. # 9
chcp a Accepted Answer
Posts: 20
Joined: 29.10.2010
0
Votes
Undo
Hi,

I have not voted. You can do it now with current technologies.
I think it should be a decision of the hosting offer it or not in cloudlinux way.
  1. 13.04.2012 07:04:29
  2. # 10
Richard Hordern Accepted Answer
Posts: 219
Joined: 19.03.2011
0
Votes
Undo
@chcp a, I do not currently know of a web interface that allows customers to do this easily without entering any code or editing complicated files.

I would love to have a web interface integrated into cPanel to select PHP version, PHP modules (a default or advanced mode) and also a web based php.ini file editor to for example extend maximum execution time and memory limits.

As far as I know cPanel do not concider these features as important because of their complexity. However if CloudLinux can do this easily then we would absolutly love this.

This would obviously have to be optional (for hosts that don\'t want it) and configurable (to maybe allow hosts to set certain limits).
  1. 10.05.2012 12:05:27
  2. # 11
Arieh Accepted Answer
Posts: 2
Joined: 27.02.2012
0
Votes
Undo
Almost everything has been said already, but I really like this idea. You always need to be very careful with updating, because you might break your customers sites. If you just can have multiple versions, its the customers responsibility to which version they run, and you can always just add the latest versions for those who want it. I think this seamlessly fits in the idea of a CL environment, where the customer has not much limitations to the environment.
  1. 03.07.2012 17:07:00
  2. # 12
Ryan Smith Accepted Answer
Posts: 5
Joined: 10.04.2012
0
Votes
Undo
Any idea what sort of time frame we are looking at for this feature to be offered?
  1. 03.07.2012 20:07:07
  2. # 13
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Somewhere in august. We already have all the PHP versions build, about 50 PEAR modules, and about top 30 PECL modules. We are working to fully automated the build process.
And once we are done with new LVE Manager (end of July), we will add UI to switch PHP (should be simple enough)
  1. 20.08.2012 04:08:47
  2. # 14
Greg Birch Accepted Answer
Posts: 1
Joined: 20.08.2012
0
Votes
Undo
Hi Igor

I am really excited about this feature being part of the cloudlinux offering. Are you any closer to a release date for mulitple php versions?
  1. 20.08.2012 08:08:47
  2. # 15
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Yes, I think we will have first beta in a week.
  1. 21.08.2012 15:08:36
  2. # 16
Richard Hordern Accepted Answer
Posts: 219
Joined: 19.03.2011
0
Votes
Undo
Great news :) Sound like it could be ready for our new server !

It could be almost a year before cPanel allows us to install multiple versions from the same branch or even install beta versions of PHP.
  1. 26.08.2012 10:08:40
  2. # 17
Dejan Accepted Answer
Posts: 6
Joined: 26.08.2012
0
Votes
Undo
This is a nice feature, but it must be an optional feature, and it is very important that server admin have the ability to configure this future, for example to choose PHP versions that should be offered to client, to choose if client should be able to use custom php.ini or not, because we for example does not allow this, since custom php.ini file would completely override global php configuration, suhosin, some modules, etc.

If you create this feature so that client can only alter some configuration values (admin configurable), and still forced to use global values for other parameters, that would be great. Otherwise it would be a security nightmare, and this feature should be disabled by default.

We would probably just offer two or max. three PHP versions for clients to use, and not to be able to use a custom php.ini file.
  1. 28.08.2012 05:08:23
  2. # 18
Rajesh Kumar Accepted Answer
Posts: 8
Joined: 28.08.2012
0
Votes
Undo
Waiting for the same :)
This is one of the most asked feature on our cPanel servers
  1. 18.09.2012 04:09:00
  2. # 19
Rajesh Kumar Accepted Answer
Posts: 8
Joined: 28.08.2012
0
Votes
Undo
Hi Igor,

Is there any updates on this?

Regards,
Rajesh
  1. 18.09.2012 08:09:57
  2. # 20
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
We are putting in final touches. The UI is about 99% done, and most of the PHP modules are compiled.
  • Page :
  • 1
  • 2
  • 3


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.