Web Hosting Forum Login
Not a member yet? Sign up

Changes in PHP 7.1?

  • HOME
  • FORUMS
  • BLOGS
  • 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
    66
    Thanks
    34
    Thanked 1 Time in 1 Post
    Thumbs Up/Down
    Received: 5/0
    Given: 67/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
    722
    Thanks
    65
    Thanked 216 Times in 162 Posts
    Thumbs Up/Down
    Received: 435/1
    Given: 191/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
    453
    Thanks
    547
    Thanked 243 Times in 112 Posts
    Thumbs Up/Down
    Received: 125/0
    Given: 713/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: 31/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
    42
    Thanks
    3
    Thanked 6 Times in 4 Posts
    Thumbs Up/Down
    Received: 36/0
    Given: 29/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
    64
    Thanks
    18
    Thanked 4 Times in 4 Posts
    Thumbs Up/Down
    Received: 8/0
    Given: 94/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: 31/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: 453
    Last post by HostXNow, 12-26-2016, 06:16 PM
  2. FerdieQO
    nitaish
    Replies: 7 | Views: 361
    Last post by nitaish, 12-28-2016, 12:37 PM
  3. Paul Wellner Bou
    therohost
    Replies: 6 | Views: 313
    Last post by therohost, 01-01-2017, 08:21 PM
  4. Colombiawebs
    Colombiawebs
    Replies: 0 | Views: 100
    Last post by Colombiawebs, 12-26-2016, 02:18 PM

Older Threads

  1. compacta
    compacta
    Replies: 2 | Views: 389
    Last post by compacta, 12-27-2016, 04:37 AM
  2. bknights
    TMS - JoseQ
    Replies: 8 | Views: 609
    Last post by TMS - JoseQ, 01-03-2017, 01:59 PM
  3. JoeTaxpayer
    Rectified
    Replies: 14 | Views: 493
    Last post by Rectified, 12-30-2016, 04:37 AM
  4. JoeTaxpayer
    Vishnu
    Replies: 6 | Views: 352
    Last post by Vishnu, 01-04-2017, 08:00 AM
  5. Skylarkhosting
    Skylarkhosting
    Replies: 4 | Views: 303
    Last post by Skylarkhosting, 12-29-2016, 08:18 AM

Latest Threads

  1. steitieh
    radwebhosting
    Replies: 2 | Views: 50
    Last post by radwebhosting, Today, 04:24 PM
  2. wpspeedster
    Amazon Route 53 vs Cloudflare
    By wpspeedster in forum Web Hosting
    eva2000
    Replies: 1 | Views: 34
    Last post by eva2000, Today, 04:23 PM
  3. wpspeedster
    wpspeedster
    Replies: 0 | Views: 32
    Last post by wpspeedster, Today, 03:42 PM
  4. mattnz
    Remi or IUS in CentOS
    By mattnz in forum VPS Hosting
    eva2000
    Replies: 1 | Views: 19
    Last post by eva2000, Today, 03:29 PM
  5. David Beroff
    David Beroff
    Replies: 0 | Views: 20
    Last post by David Beroff, Today, 02:43 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!