Forum
  1. Forums
  2. General
  3. Programming for CloudLinux
  1. Anoop Alias
  2. Tuesday, December 08, 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
0
Votes
Undo
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:

wget http://php.net/get/php-7.0.0.tar.gz/from/this/mirror
mv mirror php-7.0.0.tar.gz
tar xfz php-7.0.0.tar.gz
cd php-7.0.0
wget http://repo.cloudlinux.com/cloudlinux/sources/da/cl-apache-patches.tar.gz
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.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Remove Upload Files (Maximum File Size: 2 MB)
You may insert polls into your post. The poll would then appear in the post.
Vote Options
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.