https://bugs.koozali.org/show_bug.cgi?id=12426

            Bug ID: 12426
           Summary: smeserver-phpki-ng Setting httpd-pki PHPVersion does
                    not alter template
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-phpki-ng
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

I wanted to test my fixes for PHP 8+

config setprop httpd-pki PHPVersion 82
signal-event smeserver-phpki-ng-update

I noticed that the PHPki was not running.

I could see a socket for php82.

However, /var/log/httpd/pki_error_log showed 

attempt to connect to Unix domain socket /var/run/php-fpm/php73-phpki.sock (*)
failed


I checked

/etc/httpd/pki-conf/httpd.conf

and could see that this had not been expanded although it showed it being
expanded in the message log, but there were no errors anywhere.

Checked and found some entries like this with missing quotes.

-  my $version             = ${httpd-pki}{'PHPVersion'} || '73';
+  my $version             = ${'httpd-pki'}{'PHPVersion'} || '73';

I amended the ones I found and it now seems to work as expected.

Patch coming.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to