HHVM not working

Discussion in 'ISPConfig 3 Priority Support' started by HSorgYves, Aug 16, 2017.

  1. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    I installed HHVM from buster and tried to switch to it in ISPConfig, however all I see is the php source file.
    When checking the Apache vhost configuration I see:
    Alias /hhvm-fcgi /var/www/clients/client<#>/web<#>/cgi-bin/hhvm-fcgi-<ip>-<domain>
    However that file doesn't exist in /var/www/clients/client<#>/web<#>/cgi-bin!
    The FastCgiExternalServer is running and the Repo, Pid & Sock files exist in /var/run/hhvm...
    Any suggestion?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which operating sytem do you use?
     
  3. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    Debian Stretch 9.1 with HHVM from Buster
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    HHVM for Debian 9 is not supported as you can see in perfect server tutorial, so my guess is that the HHVM package that you use is not compatible with the supported ones from Debian 8.
     
  5. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    What do you mean by not compatible? HHVM from Buster installs without trouble in Stretch...
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    If it would be compatible with ISPConfig, then a) it would work and b) it would be described in the perfect server tutorial that you shall install that package from that repository. Neither (a) nor (b) is the case here.
     
  7. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

  8. till

    till Super Moderator Staff Member ISPConfig Developer

  9. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    @till : I finally had time to debug this. HHVM ver. 3.21.0+dfsg-1 (by now) from Debian buster aka testing is fully compatible with ISPConfig 3.1.6 and works like a charm. Just the MySQL connection didn't work right away, but this can be solved by adding the following to /etc/hhvm/php.ini (and looks like a Debian package bug and no ISPConfig problem):
    hhvm.mysql.socket = /var/run/mysqld/mysqld.sock

    P.S.: I have old files remaining, how to get rid of the following:
    /sys/fs/cgroup/pids/system.slice/hhvm_web3.service
    /sys/fs/cgroup/devices/system.slice/hhvm_web3.service
    /sys/fs/cgroup/systemd/system.slice/hhvm_web3.service
     
    till likes this.
  10. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    How to get rid of the following?
    /sys/fs/cgroup/pids/system.slice/hhvm_web3.service
    /sys/fs/cgroup/devices/system.slice/hhvm_web3.service
    /sys/fs/cgroup/systemd/system.slice/hhvm_web3.service
     

Share This Page