Questions tagged as 'php-7.1'

1
answer

What is the iterable type of PHP 7.1?

I was looking at some code to test PHP 7.1 and found the following snippet: function doLoop(iterable $iterable) { foreach ($iterable as $value) { echo $value; } } $data = [1, 2, 3, 4]; doLoop($data); With iterable I...
asked by 10.04.2017 / 03:15
0
answers

Error in Script with PHP 7.1 [closed]

I have a problem with a module that used to work correctly in PHP version 5.6. After upgrading PHP from server to 7.1 it crashed due to some functions that were previously present in PHP 5.6 and no longer exist from version 7.1. When I try...
asked by 01.07.2018 / 02:35
1
answer

Error connecting oracle

I'm trying to perform insert operation on oracle by Laravel (5.6), but it's giving error: The method I make the insert is this: public function salvar( Request $request ){ $agenda = new Agenda(); $agenda->dt_agenda = $req...
asked by 14.02.2018 / 15:36
1
answer

Multi upload with various php and mysql formats

I would like to do a multi upload with various img formats, I am researching how it does using php 7.1, I understood more or less the business logic. I just can not reproduce. Can anyone give me a hand or link with a correct multi-upload appl...
asked by 13.07.2017 / 15:42
0
answers

how to handle a multiple file upload request and [object FileList]?

I'm trying to upload with multiple files, however the request is sending a string: [object FileList] <file class="btn btn-default" name="fotos_empreendimento" accept=".jpeg,.png,.gif" ng-model="vm.model.fotos_empreendimento"...
asked by 06.12.2018 / 13:31
0
answers

Nginx disconnecting two subdomains

Hello, I'm having problems with two subdomains, I checked the tail I found this error: 2018/06/15 13:02:11 [error] 13456 # 13456: * 807 connect () to unix: /var/run/php7.1-fpm-esf.sock failed (11: Resource temporarily unavailable) while connecti...
asked by 15.06.2018 / 16:08
0
answers

Examples with types [closed]

Hello, I'm trying to understand some of the PHP documentation and I'm not getting it. I want to understand the part that talks about comparing with various types. See more at this link: link in the comparison with various types , I do not...
asked by 17.09.2017 / 16:24
0
answers

Select record of each category mysql

How do I get the two records with the highest view of each category? I have 7 categories and would like to get the two items with the highest views of each of those 7 categories.     
asked by 06.02.2018 / 12:34
0
answers

Perform a search on a table or another with PHP

What I would like is the following: I have two tables, being tabelaA and tabelaB . I want the search term if not found in one table, be queried in another table. I do not know if there's anything you can do to put the two tables tog...
asked by 05.02.2018 / 22:00
1
answer

How to avoid installing Apache when installing php7.1 on Ubuntu 16.04?

I have the following code that installs php7.1 on Ubuntu 16.04: sudo apt-get install -y software-properties-common sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get install -y php7.1 #Modules sudo apt-get install -y p...
asked by 21.12.2017 / 23:08