Questions tagged [php7]

Use this tag for questions specific to PHP version 7.

350 questions
1
vote
1 answer

PHP is_writable always false on NFS

Sorry, I'm not sure, if this is the correct forum because I don't know the cause for the issue, I'm facing. I installed NextCloud on a Raspbian (Stretch 9) and moved the data directory to a mounted NFS folder. When I try to access NextCloud, I got…
allwi
  • 11
  • 2
1
vote
1 answer

Drupal 8 + nginx + php 7 Image style: could not create file or folder

I'm running Drupal 8.5.3 on Centos7 with Nginx + PHP7 + PHP 7 FPM After successfully running Drupal installation, i want add a article but image thumbnai return 404 error. The image upload to sites/default/files folder but image style folder can…
ductm
  • 11
  • 4
1
vote
1 answer

Vagrant & Puppetlabs/apache setting two MPM's

Currently I'm attempting to update my Vagrant machine with Puppet modules to PHP7, and ofcourse, with updated modules. However since updating the puppetlabs/apache module to version 3.0.0, it is failing when it's trying to install…
WesselV
  • 121
  • 4
1
vote
1 answer

Debian 9, Apache 2, PHP7 - Memory leak

I got a problem with Apache and PHP7 on Debian... It is automatically configured by apt... my scripts are making a lot of calculating with a lot of memory used (limit - 512MB). But I noticed that every time I run the script with different…
Flash Thunder
  • 261
  • 3
  • 13
1
vote
1 answer

How to let Puppet Apache module manage RHEL7 SCL PHP7 package

I use the official Apache module to instal al LAMP on Redhat Linux and use software collections to be able to use a higher PHP version than the RHEL 7 default. The RHSCL package rh-php70-php places a file to let Apache parse php:…
1
vote
1 answer

Opcache not working properly

I got problem with Opcache. It's not working as I wish/desire.. This is my opcache configuration cat /etc/php/7.1/apache2/php.ini | grep opcache [opcache] opcache.enable = 1 opcache.enable_cli = 1 opcache.memory_consumption =…
Valor_
  • 125
  • 1
  • 8
1
vote
0 answers

Apache 2.4 fails to start -- without any errors

I had an existing Amazon Linux EC2 instance running Apache 2.2 and PHP 5.3. After uninstalling the old versions of Apache PHP using (sudo yum remove 'php*' 'httpd*'), I then installed Apache 2.4 and PHP 7.1. However, I am now unable to start Apache.…
nevada_scout
  • 164
  • 1
  • 9
1
vote
1 answer

PHP 5.6 on Ubuntu 16.04 keeping official PHP 7.x

I added the Ondrej repository ( http://ppa.launchpad.net/ondrej/php/ubuntu/ ) on a Ubuntu Xenial virtual machine, to add PHP 5.6. It works flawlessy. I noticed that this repository includes updates to PHP 7.x, but I'd like to keep the official…
flip79
  • 143
  • 8
1
vote
1 answer

OpenSSL not enabled on apache 2.4 Windows 10

I'm running php 7.1.10 on windows 10, so far if I do php -m I see openssl in extensions list, I copied libssh2.dll, ssleay32.dll, libeay32.dll to apache/bin and Windows/System32 restarted apache several times, but OpenSSL is still disabled. Did I…
vaske
  • 111
  • 1
  • 4
1
vote
1 answer

How to fix issues when install phpmyadmin with php7 on centos7

How to install phpmyadmin. yum install phpmyadmin and it display error Error: php70u-common conflicts with php-common-5.4.16-42.el7.x86_64
Rei
  • 47
  • 2
  • 6
1
vote
1 answer

how to correctly return public server address in EC2 instance with PHP

I'm new with AWS... I have set up one EC2 instance where it runs Nginx and PHP 7.1.6 i have also made a page that return phpinfo(); details but it returning not my elastic IP but internal IP address: $_SERVER['SERVER_ADDR'] 172.31.9.228 My EC2 has…
fromthestone
  • 347
  • 4
  • 17
1
vote
1 answer

Php-fpm7 maximum pools limit reached

I've setup our server so that each site has its own user. This seems to be the standard way to do it (and most secure). I seem to be reaching some sort of pool limit. The php-fpm.conf file clearly says, "There is no limitation on the number of…
1
vote
2 answers

php7.0-fpm not working with apache2.4 on Ubuntu-16.04

I'm using Ubuntu-16.04 to establish an apache server. I use php-fpm to handle php files. I followed this post. After configuration, my apache2 and php7.0-fpm services restarted correctly. But when I browse a php file I got a plain file. It seems…
Cosmo
  • 133
  • 1
  • 1
  • 4
1
vote
0 answers

PHP70-FPM ERROR: unable to read what child say: Bad file descriptor (9)

I am continuously receiving following errors in my php-fpm logs. I have read and tried some similar question available on serverfault.com but Issue does not resolved. [11-Apr-2017 08:33:27] ERROR: unable to read what child say: Bad file descriptor…
Muhammad Hassaan
  • 409
  • 2
  • 8
  • 18
1
vote
2 answers

NGINX + PHP7 + FastCGI Not Executing PHP Files and Downloading PHP file to client

The title says it all... follows are my config files. There have to be many others looking for an updated solution to the FastCGI configuration woes. Merci! I enabled log_level debug for php-fpm and follows is the output. [29-Mar-2017…
Gus Quelle
  • 11
  • 1
  • 3