Questions tagged [php7]

Use this tag for questions specific to PHP version 7.

350 questions
1
vote
1 answer

How Can I Install Memcached on Debian Jessie with PHP 7.1.1

The command apt-get install php-memcached will be installing php7.0. Is there any way to install memcahed extension with php7.1?
Dani
  • 531
  • 3
  • 11
  • 24
1
vote
1 answer

Nginx not getting root right directory

I a trying to make an angular app with an api. Every route should go to the angular app, except the API route. The API route should go to an laravel project. But the API route(/api) won't work, it just redirects to the angular app. And when I remove…
Jan Wytze
  • 185
  • 1
  • 6
1
vote
0 answers

PHP 7.0 FPM - waiting for available socket chrome

I've got a problem with my nginx + php 7.0 FPM. Chrome is still blocking on " waiting for available socket chrome ". If i restart php, i'm able to login to my app, and after " waiting for available socket chrome ". I've checked…
Baptiste
  • 21
  • 2
1
vote
1 answer

Nginx isn't executing php files, while using H5AI

I'm trying to install H5AI on my Debian 8 server, I'm using NGINX and PHP7, when I'm trying to access to my adress (in this case share.chaton-poulpe-pieuvre.tk), it makes me download the file, it isn't executing it.. My H5AI files are on…
1
vote
1 answer

How to install PHP 7.* on Debian 8.7?

I am looking to install at least PHP 7.0 on Debian 8.7 but from searching around I am finding it hard to find a reliable source that shows me how to do it. It seems so difficult, I have come across DotDeb but I read bad things about using it and I…
Buckket5
  • 73
  • 2
  • 8
1
vote
0 answers

php Pages not loading with php enabled

I have enabled php7.1 on my website as shown here but no php pages seem to load on my website, they just all come up as default code. I have tried enabling php5.6 and disabling 7.1 but that does not change anything. I am very confused why it doesnt…
1
vote
1 answer

php error log per vhost

I have had no problems with separate php_error logs per vhosts in the past. I have recently installed a server with Ubuntu 16.04, using php7 on apache2. my vhost reads: ServerName examp.com Header always unset…
James Bailey
  • 161
  • 1
  • 6
1
vote
0 answers

Installing PHP 7 on Microsoft IIS

I'm trying to install PHP 7 on IIS using Windows Server 2012 R2 x64 Microsoft recommends that one should install PHP with their Web Platform Installer. After doing this I have PHP installed, but I can't run any PHP commands because I get the error…
1
vote
1 answer

PHPBREW configure: error: Cannot find OpenSSL's

I'm trying to install an alternative version of PHP. For this reason, I'm using PHPBrew. And when I try to compile it, I have followed error: configure: error: Cannot find OpenSSL's I'm trying to manual install OpenSSL by this…
1
vote
1 answer

PDOException (1045) SQLSTATE[HY000] [1045] Laravel 4.2 MySQL 5.7

thanks for reading my question, I had been working on this error since a week reading questions in ServerFault, Stackoverflow and AskUbuntu but couldn't figure out the problem. I have Lubuntu 16.04 (ubuntu distro) Nginx Laravel 4.2.17 MySQL 5.7 I…
Luigi Lopez
  • 115
  • 6
1
vote
1 answer

nginx php-fpm: Permission denied while connecting to upstream

Installing nginx and php-fpm make the error below not going even after setting all required permissions like suggested in previous answers here: [error] 2443#0: *2 connect() to unix:/run/php-fpm/php-fpm.pid failed (111: Connection refused) while…
H Aßdøµ
  • 147
  • 2
  • 12
1
vote
0 answers

mysqlnd statistics is empty though enabled in PHP 7.0

I use PHP Version 7.0.12-1~dotdeb+8.1 and mysqlnd 5.0.12-dev on Debian 8. I am running several WordPress 4.6.1 sites . I have enabled statistics for mysqlnd and according to php.info() it is actually enabled: Collecting statistics Yes…
1
vote
0 answers

PHP7 how to get (near) real-time data from a variety of datasources?

I am making a (PHP7 on Win2012r2 with Apache 2.4/JS) website for assisting a helpdesk. Info being searched is mostly information about computers, users and Active Directory. Some other resources as MSSQL and some legacy applications that run from…
Freeze_H
  • 11
  • 1
1
vote
1 answer

Installing PHP7 on CentOS 6.8, encountering GLIBC issue

I am trying to install PHP 7 from REMI repo, I managed to install it but when I try to issue command: yum install php70 I get error Error: Package: php70-php-cli-7.0.12-2.el7.remi.x86_64 (remi-safe) Requires:…
1
vote
1 answer

Apache2, Wordpress, Ubuntu 16.04 TLS - URL issues

Could someone shed some light on this confusing issue I am having. I am using PHP7, Apache2, Ubuntu 16.04 TLS. When I type my web URL in www.example.co.uk this resolves to my apache default page which at the moment is fine. However, when i put in…