Top "Php-7.1" questions

The successor to PHP 7.0. Use this tag for version-specific issues relating specifically to PHP 7.1.

Switch php versions on commandline ubuntu 16.04

I have installed php 5.6 and and php 7.1 on my Ubuntu 16.04 I know with Apache as my web server, I can …

php apache command-line-interface php-5.6 php-7.1
How to install bcmath in Ubuntu for PHP 7.1

I'm using an Ubuntu 16 server for testing with php7.1. One of my app uses bcadd function. I know that I …

php ubuntu-16.04 ubuntu-server php-7.1 bcmath
PHP7.1 mcrypt alternative

Mcrypt function has been deprecated as of PHP 7.1.0. My deprecated string encode / decode functions: $key: secret key $str: string $encoded = …

php encoding decode mcrypt php-7.1
Silence "Declaration ... should be compatible" warnings in PHP 7

After upgrade to PHP 7 the logs almost choked on this kind of errors: PHP Warning: Declaration of Example::do($a, $…

php php-7 php-7.2 php-7.1 php-7.0
Failed to read session data on PHP7.1

Sharing a problem that I had (and now solved). On my development machine, I run IIS with PHP. I upgraded …

php session php-7.1
PHP7.1 json_encode() Float Issue

This isn't a question as it is more of a be aware. I updated an application that uses json_encode() …

php json precision php-7.1
Function mcrypt_create_iv() is deprecated within CodeIgniter framework

<?php class Encryption { var $skey = "1234561234561234"; // you can change it public function safe_b64encode($string) { $data = base64_encode($string); $…

php codeigniter php-7.1
Can't install php7 or php 7.1 with homebrew

I was following a couple links that had this same sequence, namely this example. I was unable to get it …

macos homebrew php-7 macos-sierra php-7.1
How to install PHP 7.1 on EC2 running on Amazon Linux AMI 2018.03 having nginx as web server?

How to install PHP 7.1 on Amazon EC2 t2.micro Instance running Amazon Linux AMI 2018.03 having nginx as web server? Reference …

nginx amazon-ec2 php-7.1 amazon-linux
Apache do not load libphp7.so module

I installed php7.1 using brew install php71 --with-httpd24 and unlinked httpd24. I got working version of php7.1 together with libphp7.…

php apache homebrew php-7.1