Announcement

Collapse
No announcement yet.

PHP7 fpm patch

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP7 fpm patch

    PHP70 is now stable ; but I am unable to use php-fpm sapi in php70 with cloudlinux as cl-apache-patches.tar.gz at repo.cloudlinux doesnt have a patch for php70 yet.

    Please would you let me know when this can be expected?

  • #2
    I have just tried patching php7.0.0 and was able to do it successfully using fpm-lve-php5.6_autoconf.patch . Checked compiled binary and it contains all needed code, so I suppose it will work.

    Steps used:

    Code:
    wget [URL]http://php.net/get/php-7.0.0.tar.gz/from/this/mirror[/URL]
    
    mv mirror php-7.0.0.tar.gz
    
    tar xfz php-7.0.0.tar.gz
    
    cd php-7.0.0
    
    wget [URL]http://repo.cloudlinux.com/cloudlinux/sources/da/cl-apache-patches.tar.gz[/URL]
    
    tar xfz cl-apache-patches.tar.gz
    
    patch -p1 < fpm-lve-php5.6_autoconf.patch
    
    autoconf
    
    ./configure --enable-fpm
    
    make
    
    strings ./sapi/fpm/php-fpm | grep -i lve
    After that you have just to hit make install , or manually replace php-fpm binary.

    Comment

    Working...
    X