Web Hosting Forum Login
Not a member yet? Sign up

Changes in PHP 7.1?

  • FORUMS
  • WEB DESIGN
  • WEB HOSTING OFFERS
  • ADVERTISING
  • WEB HOSTING
  • REQUEST A HOST
  • BEST WEB HOSTING
  • QUICK MENU
  • REGISTER HERE - Join us for FREE
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2016
    Posts
    98
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Thumbs Up/Down
    Received: 9/0
    Given: 155/0

    Changes in PHP 7.1?

    PHP 7.1 was released earlier this month. Did any one use this version, what are the features to come in PHP 7.1? I wanted to give it a try.

  2. #2
    Join Date
    May 2016
    Location
    France
    Posts
    1,002
    Thanks
    66
    Thanked 253 Times in 197 Posts
    Thumbs Up/Down
    Received: 569/1
    Given: 242/0
    Performances are better, several php7.0 bugs are fixed, but only few CMS are compatible currently. Make sure you can rollback quickly because it will probably not work properly.

  3. #3
    Join Date
    Dec 2012
    Posts
    595
    Thanks
    550
    Thanked 258 Times in 124 Posts
    Thumbs Up/Down
    Received: 190/0
    Given: 984/0
    Quote Originally Posted by VirtuBox View Post
    Performances are better, several php7.0 bugs are fixed, but only few CMS are compatible currently. Make sure you can rollback quickly because it will probably not work properly.
    Are you talking PHP7.0 or PHP7.1? 2 months ago I tried to install memcached on PHP7.0 but failed and I am going to have a VPS to test this again because I heard that PHP 7.1 will support memcached. I want our forum run with php7.x, mariadb, memcached...which helps boosting loading speed better.

  4. #4
    Join Date
    Dec 2016
    Posts
    47
    Thanks
    0
    Thanked 11 Times in 8 Posts
    Thumbs Up/Down
    Received: 39/0
    Given: 11/2
    Yep, got it working with PHP 7.1 but couldn't on 7.0 even though some admins say they could hack it in.

    Code:
    sudo apt-get install gcc make autoconf libc-dev pkg-config
    sudo apt-get install zlib1g-dev
    sudo apt-get install libmemcached-dev
    git clone https://github.com/php-memcached-dev/php-memcached
    cd php-memcached
    git checkout php7
    /opt/sp/php7.1/bin/phpize
    PATH=/opt/sp/php7.1/bin:$PATH ./configure --disable-memcached-sasl
    make
    sudo make install
    sudo bash -c "echo extension=memcached.so > /etc/php7.1-sp/conf.d/memcached.ini"
    sudo service php7.1-fpm-sp restart
    There's a few dependencies in there but generally should work.

  5. The Following User Says Thank You to Laurence Flynn For This Useful Post:
    David Beroff (01-11-2017)

  6. #5
    Join Date
    Dec 2016
    Location
    Core Files
    Posts
    89
    Thanks
    5
    Thanked 12 Times in 8 Posts
    Thumbs Up/Down
    Received: 83/0
    Given: 88/0
    A lot of issues that existed in 7.0 have been taken care of with 7.1

    Depending on the script you're running, a lot of issues in 7.0 were actually from bad coding. A lot of WordPress themes and plugins broke due to bad coding that 7.0 pointed out.

  7. #6
    Join Date
    Jun 2016
    Posts
    447
    Thanks
    94
    Thanked 18 Times in 18 Posts
    Thumbs Up/Down
    Received: 64/1
    Given: 701/1
    Quote Originally Posted by Laurence Flynn View Post
    Yep, got it working with PHP 7.1 but couldn't on 7.0 even though some admins say they could hack it in.

    Code:
    sudo apt-get install gcc make autoconf libc-dev pkg-config
    sudo apt-get install zlib1g-dev
    sudo apt-get install libmemcached-dev
    git clone https://github.com/php-memcached-dev/php-memcached
    cd php-memcached
    git checkout php7
    /opt/sp/php7.1/bin/phpize
    PATH=/opt/sp/php7.1/bin:$PATH ./configure --disable-memcached-sasl
    make
    sudo make install
    sudo bash -c "echo extension=memcached.so > /etc/php7.1-sp/conf.d/memcached.ini"
    sudo service php7.1-fpm-sp restart
    There's a few dependencies in there but generally should work.
    What operating system are you running these commands with? Centos, Debian or Ubuntu?

    I failed to run Git and Make commands on my SSH in the past. I am also caring on this PHP version and would give it a try.

  8. #7
    Join Date
    Dec 2016
    Posts
    47
    Thanks
    0
    Thanked 11 Times in 8 Posts
    Thumbs Up/Down
    Received: 39/0
    Given: 11/2
    This was Debian and was a standalone install. So no cPanel or Plesk (which makes it even harder).

  9. #8
    Join Date
    Nov 2016
    Location
    Bangalore
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thumbs Up/Down
    Received: 3/0
    Given: 0/0
    PHP 7.1 is the first minor release for PHP 7 version. New release supports utf-8 paths and file system functions now return utf-8 results. Also the mcrypt extension is depreciated and it will be removed from the core and into PECL in PHP 7.2.

Newer Threads

  1. FerdieQO
    HostXNow
    Replies: 7 | Views: 1405
    Last post by HostXNow, 12-26-2016, 06:16 PM
  2. FerdieQO
    nitaish
    Replies: 7 | Views: 874
    Last post by nitaish, 12-28-2016, 12:37 PM
  3. Paul Wellner Bou
    Hannan
    Replies: 9 | Views: 1734
    Last post by Hannan, 02-16-2017, 04:16 AM
  4. Colombiawebs
    Colombiawebs
    Replies: 0 | Views: 226
    Last post by Colombiawebs, 12-26-2016, 02:18 PM

Older Threads

  1. compacta
    compacta
    Replies: 2 | Views: 744
    Last post by compacta, 12-27-2016, 04:37 AM
  2. bknights
    racksandcloud
    Replies: 17 | Views: 3464
    Last post by racksandcloud, 05-19-2017, 07:43 PM
  3. JoeTaxpayer
    HostYourNet-DR
    Replies: 18 | Views: 1674
    Last post by HostYourNet-DR, 01-26-2017, 10:42 AM
  4. JoeTaxpayer
    JoeTaxpayer
    Replies: 9 | Views: 2055
    Last post by JoeTaxpayer, 06-23-2017, 01:35 AM
  5. Skylarkhosting
    Skylarkhosting
    Replies: 10 | Views: 1249
    Last post by Skylarkhosting, 02-01-2017, 02:25 AM

Latest Threads

  1. Webhostwala
    Webhostwala
    Replies: 4 | Views: 38
    Last post by Webhostwala, Today, 09:33 AM
  2. David Beroff
    How to make a whois server?
    By David Beroff in forum Web Hosting
    VirtuBox
    Replies: 1 | Views: 69
    Last post by VirtuBox, Today, 04:31 AM
  3. David Beroff
    VirtuBox
    Replies: 1 | Views: 59
    Last post by VirtuBox, Today, 03:05 AM
  4. WHGBTom
    WHGBTom
    Replies: 0 | Views: 37
    Last post by WHGBTom, 06-24-2017, 07:16 PM
  5. Maxoq
    mobin
    Replies: 2 | Views: 45
    Last post by mobin, Yesterday, 06:48 AM

Posting Permissions

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

Web Hosting Forum

ForumWeb.Hosting is a web hosting forum where you’ll find in-depth discussions and resources to help you find the best hosting providers for your websites or how to manage your hosting whether you are new or experienced. You’ll find it all here. With topics ranging from web hosting, internet marketing, search engine optimization, social networking, make money online, affiliate marketing as well as hands-on technical support for web design, programming and more. We are a growing community of like-minded people that is keen to help and support each other with ambitions and online endeavors. Learn and grow, make friends and contacts for life.

Community

The world's smartest hosting providers come here to discuss & share what's trending in the web hosting world!
Copyright ©2017, ForumWeb.Hosting. All rights reserved. Web Hosting Forum for webmasters, web hosting providers, designers and web developers.

Welcome to Forum Web Hosting

The World's Number 1 Web Hosting Community, Reviews & Services

Log in!

Continue with Facebook
Continue With Email. By signing up you indicate that you have read and agree to the Terms of Service and Privacy Policy.

Sign in Manually

Need an account? Sign up now!