PHP7 fpm patch
  1. Forums
  2. General
  3. Programming for CloudLinux
  1. Anoop Alias
  2. Tuesday, 08 December 2015
  3.  Subscribe via email
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?
Rate this post:
  1. 09.12.2015 11:12:05
  2. # 1
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
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:

mv mirror php-7.0.0.tar.gz
tar xfz php-7.0.0.tar.gz
cd php-7.0.0
tar xfz cl-apache-patches.tar.gz
patch -p1 < fpm-lve-php5.6_autoconf.patch
./configure --enable-fpm
strings ./sapi/fpm/php-fpm | grep -i lve
After that you have just to hit \'make install\' , or manually replace php-fpm binary.
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.
By submitting the response, you agree with Cloudlinux Privacy Policy