Questions tagged [php-7.2]

Use this tag for version-specific issues relating specifically to PHP 7.2.Use with the [php] tag

Deprecations: https://wiki.php.net/rfc/deprecations_php_7_2

GA release is scheduled for 2017-11-30: https://wiki.php.net/todo/php72#timetable

733 questions
9
votes
1 answer

Prevent action from Laravel observer events

I would like to know how an action could be prevented on a model observer, for example: $model->update(['foo' => 'bar']); In the observer public function updating(Model $model) { if($model->isDirty('foo') { // Prevent action from…
Asur
  • 2,950
  • 1
  • 19
  • 31
8
votes
2 answers

PhpStorm 2018 - how to inspect whole project to php 7.2 compatibility?

I have a project long time developed in PhpStorm and fully compatible with php 5.6. In any case it work and deployed on server with php 5.6. How to inspect with PhpStorm 2018 this whole project to php 7.2 compatibility and only highlight those…
mature
  • 701
  • 1
  • 11
  • 20
8
votes
3 answers

Libreoffice source not found aws linux

I am trying to convert a files from doc to pdf on my aws linux server. On my previous machine it worked fine but now i am having issues on my new machine. The only difference is i have upgraded from PHP 7.0 to PHP 7.2. and libre office version…
Syed Abdur Rehman Kazmi
  • 1,530
  • 3
  • 11
  • 24
8
votes
2 answers

need help to install php 7.2 yum packages on aws ec2

I haven't seen any yum packages for php 7.2 on AWS EC2 and the release has been out over a month. I have tried yum list | grep php7 and only able see php70 and php71 packages. Has anyone installed php72 on AWS EC2? Is there another yum repo to…
xeo
  • 797
  • 2
  • 5
  • 24
7
votes
2 answers

sudo: pecl7.2-sp: command not found

I need to install GeoIP on PHP 7.2 . For this I am using following commands - sudo apt-get -y install gcc make autoconf libc-dev pkg-config sudo apt-get -y install libgeoip-dev sudo pecl7.2-sp install geoip-beta Top two commands are run…
Rahul Gaikwad
  • 405
  • 2
  • 8
  • 19
7
votes
3 answers

Installing mongoDB driver php 7.2.3

I am trying to install the mongoDB driver for PHP 7.2.3 x86. I installed the PHP 7.2 Non Thread Safe driver here: https://pecl.php.net/package/mongodb/1.4.2/windows I have put the mongodb.dll file in the php/ext and put ;extension=mongodb in the…
Ttech
  • 187
  • 1
  • 1
  • 11
7
votes
2 answers

phpMyAdmin errors (count, blowfish, etc.) after php7.2 upgrade on Ubuntu 16

phpMyAdmin errors after php7.2 upgrade After upgrading to php7.2 on Ubuntu 16.04 LTS, phpMyAdmin shows annoying popup warnings when I view tables: "Some errors have been detected on the server! Please look at the bottom of this window. Ignore All.…
Justin
  • 623
  • 7
  • 19
7
votes
5 answers

Connecting php 7.2 to MS SQL using sqlsrv

I'm trying to get a connection to MS SQL up and running via PHP on my machine. I'm running IIS, have PHP 7.2 installed and MS SQL Express 2017. I have my basic web page running but when I click to open the PHP page, the connection does not…
Daves
  • 121
  • 1
  • 2
  • 5
7
votes
5 answers

error in phpmyadmin after updating to PHP 7.2.0

Recently I update my PHP version to 7.2.0 . When I open my phpmyadmin I have face this warning every time when i open any table in database. If anyone have know about it, Let me know. Thanks in advance.
Viraj Shah
  • 359
  • 1
  • 4
  • 11
6
votes
2 answers

Multiple php requests simultaneously, second request doesn't start until first finishes

I've got a long running php 7.2 script that is producing a zip file. I want to use a looping ajax call to check on the progress of building the zip file. The second script appears to be locked and doesn't start processing until the first script is…
Kenny Wyland
  • 19,242
  • 24
  • 109
  • 205
6
votes
1 answer

Unable to run phpdoc command after installing phpdoc/phpDocumentor package

Although I followed the instruction to install phpDocumentor, Command line doesn't seem to respond to phpdoc Given error: Command 'phpdoc' not found, did you mean: command 'phploc' from deb phploc command 'phpdox' from deb phpdox Try: sudo apt…
Agil
  • 346
  • 4
  • 20
6
votes
2 answers

PHP 7.2 and modules 'dom', 'mbstring', and 'simplexml'

I installed PHP 7.2 on my server and everything works fine except these three issues: I face these problems: The PHP extension dom is not loaded. Please contact your server administrator or visit http://php.net/manual/en/dom.installation.php …
Ali
  • 91
  • 1
  • 1
  • 5
6
votes
3 answers

PHP 7.2 with mcrypt in Windows

There are some huge legacy systems whose dependencies on PHPs' mcrypt are extremely important and vital (including the data storage in database). I need to find a way to maintain this library while upgrading to PHP 7.2 (which already worked…
Danilo Davanso
  • 77
  • 1
  • 1
  • 9
5
votes
1 answer

PHP Twilio RequestValidator returning false on all endpoints

So I really don't know what the problem is here, I've tried many things, but I can't get the Twilio request hashes to match up. Let me explain. I decided to implement an instance of Twilio's RequestValidator to ensure the requests were coming from…
Adam McGurk
  • 456
  • 1
  • 11
  • 39
5
votes
1 answer

Process signal handlers are not called

I'm working on a pre-forking TCP socket server written in PHP. The daemon (the parent process), forks some number of children and then waits until it's told to exit and the children are all gone or it receives a signal. SIGINT and SIGTERM cause it…
David Patterson
  • 1,430
  • 2
  • 11
  • 35
1
2
3
48 49