We really need this. PHP is getting sufficiently advanced, people want to start using new features.

Turns out it's really not that hard, if you use ubuntu16 or equivalent debian... install.sh script included.

Branch coming soon.

Comments

Jon Pugh created an issue. See original summary.

Jon Pugh’s picture

Project: Provision » Hosting
Jon Pugh’s picture

Status: Needs work » Needs review

This works, just about. Would love some testing of this.

Jon Pugh’s picture

Is anyone interested in this?

  • helmo committed d76ba29 on 3013194-phpfpm
    Issue #3013194: Add PHP 7.3
    
helmo’s picture

Would be nice. The packages from https://deb.sury.org/ have been very stable and easy to use.

On enabling I got:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'versions' in /var/aegir/hostmaster-7.x-3.182/includes/database/database.inc:2227

I added one commit to fix the column type. And another to add 7.3 in the list of versions.

helmo’s picture

Status: Needs review » Needs work

Hmm too early ..
When I open the edit page for a server node I get 'Error: Class 'hostingService_http_phpfpm_apache' not found in hosting_services_new_object() (line 236 of /var/aegir/hostmaster-7.x-3.182/profiles/hostmaster/modules/aegir/hosting/server/hosting_server.module).'

helmo’s picture

After renaming the hostingService_http_phpfpm class to hostingService_http_phpfpm_apache the edit pages works (now committed).

But I don't see it saving the settings.
And then again, I would prefer to set the on a per-site level.

SocialNicheGuru’s picture

This was given as a possible solution, which only works for apache2, in Slack
https://git.drupalcode.org/project/hosting/-/commit/9aaf9037e08fea425091...

the slack conversation by JonPugh:
https://drupal.slack.com/archives/C4ZN4SCQ2/p1561466033046700

SocialNicheGuru’s picture

you can manually change the php version for Nginx which is not ideal because it would get overwritten on verify

https://www.interserver.net/tips/kb/multiple-php-versions-nginx-ubuntu/