Results 1 to 12 of 12

Thread: Custombuild script Apache php-cgi with Debian 9

  1. #1
    Join Date
    May 2013
    Location
    New Zealand
    Posts
    47

    Question Custombuild script Apache php-cgi with Debian 9

    Hi DA Support / smtalk,

    It was a known issue where apache mod_php + mod_ruid2 compile has error on Debian 9, but that was like 5 months ago.

    I'm wondering if this still an issue now? Because we've been using php-fpm as our 'temporary' solution rather than reloading the whole system using Debian 8.

    Please advise. Thanks
    [ IDirectAdmin ] >

  2. #2
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,806
    It still has the bug, and no patch is available for it yet. I'd suggest using PHP-FPM on debian 9. Bug report is here: https://bugs.debian.org/cgi-bin/bugr...cgi?bug=866395
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  3. #3
    Join Date
    May 2013
    Location
    New Zealand
    Posts
    47
    Can anyone confirm if this still a bug?
    [ IDirectAdmin ] >

  4. #4
    Join Date
    May 2013
    Location
    New Zealand
    Posts
    47
    *bumpie..*
    [ IDirectAdmin ] >

  5. #5
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,806
    The bug is still there. I'd recommend using PHP-FPM or lsphp mode (if you run LiteSpeed webserver).
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  6. #6
    Join Date
    May 2013
    Location
    New Zealand
    Posts
    47
    We are currently using php-fpm but the performance different is real. And the problem is we are getting php apps incompatible issue.
    [ IDirectAdmin ] >

  7. #7
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,806
    Incompatibility might appear from the absence of htscanner=yes in the options.conf.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  8. #8
    Join Date
    May 2013
    Location
    New Zealand
    Posts
    47
    I'm not sure what you mean.
    [ IDirectAdmin ] >

  9. #9
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,806
    Everything what's compatible with mod_php (+mod_ruid2) should still be compatible with PHP-FPM. That's what I mean The only thing that might not work is php_flag/php_value in .htaccess, but you can enable them with htscanner=yes in the options.conf file of CB.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  10. #10
    Join Date
    May 2013
    Location
    New Zealand
    Posts
    47
    I just tried again and it looks like now I managed to compile using mod_php on Debian 9 (no debug needed, probably this bugs has been fixed by Debian team)

    However, I got this message:
    Code:
    root@cana:/usr/local/directadmin/custombuild# ./build rewrite_confs
    Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
    Using 1.2.3.4 for your server IP
    **************************************
    
    Apache 2.4.27 and higher will not negotiate http2 with mpm_prefork. Please do not use mod_php or disable http2 in the directadmin.conf
    http://www.apache.org/dist/httpd/CHANGES_2.4.27
    
    **************************************
    Restarting apache.
    root@cana:/usr/local/directadmin/custombuild#
    Should I ignore this message?
    [ IDirectAdmin ] >

  11. #11
    Join Date
    May 2013
    Location
    New Zealand
    Posts
    47
    Anyone still use this forum?
    [ IDirectAdmin ] >

  12. #12
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,355
    As far as I see you addressed your questions to DA support and smtalk. In such a case no other is welcomed to post here, or not?

    If you need a quicker reply from DA support you'd better open a ticket here:
    https://tickets.directadmin.com/
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •