I'm trying to upgrade my application working on Symfony 3.3 and php 7.1 to php 7.2, but I encountered tons of DEPRECATED messages when I run phpunit. Most annoying is:
The "user.user_service" service is already initialized, replacing it is…
I'm trying to install php72 using brew.
Actually when I do brew install php72 it's downloading "https://homebrew.bintray.com/bottles/php-7.3.0.mojave.bottle.tar.gz".
So when I check php version it's showing me PHP 7.3.0 (cli).
How can I install…
Debugging legacy code and I have a strange issue. The legacy code is being moved to PHP 7.2. I don't know which version of PHP it was originally written for but it does work in PHP 5.6.
Below is my example of the problem...
$variable =…
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…
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…
The container is built from a trivial Dockerfile:
FROM php:7.2.19-fpm
RUN docker-php-ext-configure opcache --enable-opcache \
&& docker-php-ext-install opcache
I did not change php.ini, so all the settings are default.
What's unexpected is…
I'm trying to return a permanent (301) redirect response from a event subscriber hooked into the kernel events in Synfony PHP.
My subscriber is as follow:
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use…
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…
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…
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.
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…
I'm installing xdebug with pecl sudo pecl install xdebug and I get: checking Check for supported PHP versions... configure: error: not supported. Need a PHP version >= 7.0.0 and < 7.3.0 (found 5.6.30)
I installed the latest PHP v7.2 with homebrew,…
I have installed PHP 7.2.14 with brew.
brew install php@7.2
On CLI I have already the 7.2.14 version, but not on Apache.
What should I do, so I can remove 7.3 from my Mac and use only 7.2.14
I'm trying to run php app that use locale_accept_from_http function from intl extension. My php version is 7.2 and I get an error: Call to undefined function locale_accept_from_http();
I was trying:
1. Install extension sudo apt-get install…
I am working on the project which is already build on Symfony. The versions and server details are as below
PHP: 7.2
Webserver: apache 2.4.6
Symfony: 2.8.1.1
I am getting below warning while initializing new session on my controller. This issue…