I'm trying to dockerise a symfony2 application. The container is up and running without any errors. However, I'm getting 'An error occurred during a c ...
I'm trying to dockerise a symfony2 application. The container is up and running without any errors. However, I'm getting 'An error occurred during a c ...
I'm doing a course content navigation (similar to udemy navigation). In my case in a simplified way through two buttons: prev and next. all this is in ...
Having an array printed with print_r method: I'm trying to encode it as JSON using either: json_encode($array, JSON_NUMERIC_CHECK); json_encode($a ...
I have some json filenames in an multidimensional array, created like this: $files[] = array("name" => $file, "type" => "json") that I want to s ...
I created my own dockerfile (ubuntu:xenial) using environment variables. This dockerfile uses php7.0-fpm php7.0-xml php7.0-mbstring php-mysql The doc ...
PHP native function escapeshellarg is escaping accented character on my machine I tried with locale US or FR, iso-8859-1 or UTF-8. No change. I th ...
Is there a good solution to add the Cookie SameSite None configuration to a Drupal7 and PHP7.0 setup? My only finding was to override the file includ ...
I try to run Yii2 app on apache server with 7.0 php version. Yii2 framework package version: So, when I run my site.loc index page in the browser, ...
i am using laravel 5.5 with php 7.0 version, I want to generate a pdf, i tried to install many pdf packages, but unable to install because of php 7.0 ...
I have a string which returns data usage in B, KB, MB and so on. I want to separate the number and string part of it. Ex : 14.5 MB - I want 14.5 and ...
I tried to read a PHP cookie but I couldn't, although I was able to see it in the Chrome console. I have found the solution myself, using debugging me ...
I have a dev environment and a production environment. The time() function returns the correct timestamp in my dev env but in my production environmen ...
I set up new environment on a new computer and installed magento cloud cli. And try to login to cloud account by running magento-cloud login but the l ...
I have Ubuntu 16, Apache 2.4.41 running multiple domains and recently upgraded from php 5.6 to 7.0.33. I have both WordPress and Presta in two differe ...
I have several Telegram bots working nice for years; I used 2 ways to send requests to Bot API: The first is: The second is: Some days ago I no ...
I am trying to see if a file exist in the storage folder. It returns false in the server even if the file exist. In my local environment, it is workin ...
I am not being able to install package php7.0-zip. The error I get after doing Is: Reading package lists... Done Building dependency tree Read ...
I have an issue passing a variable to a PHP function. I'm running a Raspberry Pi webserver with PHP 7.0.33. Everything runs fine on the raspberry. Whe ...
I am using PHP 7.0 for my development. I got as output by following code: but I want output as How can I get it? I want ColHeader instead o ...
I have searched a lot on Google and did not find solution. mPDF is generating blank PDF on PHP 7.0.32. Also, no Fatal Error is logged in log files. ...