Web Hosting Forum Login
Not a member yet? Sign up

Changes in PHP 7.1?

  • HOME
  • FORUMS
  • WEB DESIGN
  • WEB HOSTING OFFERS
  • ADVERTISING
  • FIND A HOST
  • WEB HOSTING
  • QUICK MENU
  • REGISTER HERE - Join us for FREE
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2016
    Posts
    67
    Thanks
    34
    Thanked 1 Time in 1 Post
    Thumbs Up/Down
    Received: 5/0
    Given: 80/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
    725
    Thanks
    65
    Thanked 218 Times in 163 Posts
    Thumbs Up/Down
    Received: 453/1
    Given: 192/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
    454
    Thanks
    548
    Thanked 247 Times in 114 Posts
    Thumbs Up/Down
    Received: 132/0
    Given: 730/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 10 Times in 7 Posts
    Thumbs Up/Down
    Received: 33/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.
    Laurence Flynn @ HostNexus LTD
    Linux & Windows Cloud Hosting Solutions
    [Shared][Reseller][Cloud VPS] [Dedicated]

  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
    59
    Thanks
    4
    Thanked 8 Times in 5 Posts
    Thumbs Up/Down
    Received: 55/0
    Given: 40/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
    68
    Thanks
    19
    Thanked 5 Times in 5 Posts
    Thumbs Up/Down
    Received: 9/0
    Given: 105/0
    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 10 Times in 7 Posts
    Thumbs Up/Down
    Received: 33/0
    Given: 11/2
    This was Debian and was a standalone install. So no cPanel or Plesk (which makes it even harder).
    Laurence Flynn @ HostNexus LTD
    Linux & Windows Cloud Hosting Solutions
    [Shared][Reseller][Cloud VPS] [Dedicated]

  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: 504
    Last post by HostXNow, 12-26-2016, 06:16 PM
  2. FerdieQO
    nitaish
    Replies: 7 | Views: 406
    Last post by nitaish, 12-28-2016, 12:37 PM
  3. Paul Wellner Bou
    therohost
    Replies: 6 | Views: 376
    Last post by therohost, 01-01-2017, 08:21 PM
  4. Colombiawebs
    Colombiawebs
    Replies: 0 | Views: 101
    Last post by Colombiawebs, 12-26-2016, 02:18 PM

Older Threads

  1. compacta
    compacta
    Replies: 2 | Views: 403
    Last post by compacta, 12-27-2016, 04:37 AM
  2. bknights
    VirtuBox
    Replies: 14 | Views: 836
    Last post by VirtuBox, Today, 03:46 AM
  3. JoeTaxpayer
    Rectified
    Replies: 14 | Views: 539
    Last post by Rectified, 12-30-2016, 04:37 AM
  4. JoeTaxpayer
    Vishnu
    Replies: 6 | Views: 433
    Last post by Vishnu, 01-04-2017, 08:00 AM
  5. Skylarkhosting
    Skylarkhosting
    Replies: 8 | Views: 417
    Last post by Skylarkhosting, 01-22-2017, 05:17 AM

Latest Threads

  1. WPCycle
    WPCycle
    Replies: 0 | Views: 39
    Last post by WPCycle, Today, 12:23 PM
  2. HostYourNet-DR
    HostYourNet-DR
    Replies: 0 | Views: 56
    Last post by HostYourNet-DR, Today, 11:30 AM
  3. HostYourNet-DR
    HostYourNet-DR
    Replies: 0 | Views: 40
    Last post by HostYourNet-DR, Today, 11:25 AM
  4. HostYourNet-DR
    HostYourNet-DR
    Replies: 0 | Views: 38
    Last post by HostYourNet-DR, Today, 11:24 AM
  5. HostXNow
    LJSHost
    Replies: 2 | Views: 73
    Last post by LJSHost, Today, 12:53 PM

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!