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
    102
    Thanks
    44
    Thanked 3 Times in 3 Posts
    Thumbs Up/Down
    Received: 10/0
    Given: 163/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,267
    Thanks
    68
    Thanked 283 Times in 226 Posts
    Thumbs Up/Down
    Received: 654/1
    Given: 261/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
    598
    Thanks
    550
    Thanked 263 Times in 129 Posts
    Thumbs Up/Down
    Received: 197/0
    Given: 1,088/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
    66
    Thanks
    0
    Thanked 13 Times in 10 Posts
    Thumbs Up/Down
    Received: 51/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
    104
    Thanks
    5
    Thanked 12 Times in 8 Posts
    Thumbs Up/Down
    Received: 87/0
    Given: 104/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
    690
    Thanks
    118
    Thanked 30 Times in 30 Posts
    Thumbs Up/Down
    Received: 103/1
    Given: 938/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
    66
    Thanks
    0
    Thanked 13 Times in 10 Posts
    Thumbs Up/Down
    Received: 51/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
    47
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Thumbs Up/Down
    Received: 7/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: 1598
    Last post by HostXNow, 12-26-2016, 06:16 PM
  2. FerdieQO
    nitaish
    Replies: 7 | Views: 999
    Last post by nitaish, 12-28-2016, 12:37 PM
  3. Paul Wellner Bou
    Hannan
    Replies: 9 | Views: 1979
    Last post by Hannan, 02-16-2017, 04:16 AM
  4. Colombiawebs
    Colombiawebs
    Replies: 0 | Views: 289
    Last post by Colombiawebs, 12-26-2016, 02:18 PM

Older Threads

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

Latest Threads

  1. RackService
    RackService
    Replies: 0 | Views: 1
    Last post by RackService, Today, 11:14 PM
  2. RackService
    RackService
    Replies: 0 | Views: 1
    Last post by RackService, Today, 11:13 PM
  3. RackService
    RackService
    Replies: 0 | Views: 2
    Last post by RackService, Today, 11:13 PM
  4. livsn85
    junrose123
    Replies: 1 | Views: 17
    Last post by junrose123, Today, 09:14 AM
  5. livsn85
    livsn85
    Replies: 0 | Views: 25
    Last post by livsn85, Today, 07:57 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!