Questions tagged [php7]

Use this tag for questions specific to PHP version 7.

350 questions
0
votes
1 answer

Apache server is rejecting request

I have a server running Ubuntu 16.0.4 with Apache 2.4.18 which seems to be rejecting requests from certain clients. I have another server with Apache 2.4.7 that accepts the same request w/o error. If I run the request thru a proxy like Runscope I…
andyknas
  • 113
  • 1
  • 7
0
votes
0 answers

PHP-FPM 7.0 + NGINX: Idle processes

i know there are a lot of good answers for questions like this on stackoverflow or serverfault but i cant find answers for my questions. I have following /status output for my php-fpm 7.0 processes. pool: www process manager: …
0
votes
0 answers

Centos 6.8 serevr , apache 2.4.20 , php 7.0.20

After I compiled apache 2.4 and php 7.0.20 ( this is my configure line : ./configure' '--with-libdir=lib64' '--prefix=/usr/local' '--with-layout=PHP' '--with-pear' '--with-apxs2' '--enable-calendar' '--enable-bcmath' '--with-gmp' '--enable-exif'…
0
votes
1 answer

PHP-FPM gives no response, request does not terminate

I'm using PHP-FPM which worked fine until yesterday, now requests do not return any response and keep running indefinitely - or until the client/proxy runs into a timeout. There is a NGINX proxy in front of PHP-FPM, but the error seems to be inside…
0
votes
1 answer

PHP is not being executed by proxy_fcgi and php_fpm on Zabbix frontend

I have installed php7.0-fpm and enabled proxy_fcgi mod for Zabbix frontend. However when I try to get access from any page I get PHP source code of that page instead of normal page. My configs are the next:…
user54
  • 329
  • 1
  • 3
  • 12
0
votes
1 answer

Amazon Linux with PHP7 and nginx doesn't load php

Installing this on a fresh Amazon AWS micro instance with Amazon Linux. I've installed nginx and php7. I can't seem to get php to load. sudo yum install nginx sudo yum install php70-fpm Created a document root at: /var/www/html User/Group is…
Tom
  • 143
  • 2
  • 11
0
votes
0 answers

Apache error log is empty, yet php app was interrupted

Try to find issue, have a PHP app run under Apache Server version: Apache/2.4.10 php module = libphp7.1.so vhost~nothing special: ServerName myapp.net ... Loglevel error ErrorLog "|/usr/bin/cronolog --american…
2oppin
  • 101
  • 4
0
votes
1 answer

Limit fastcgi (php-cgi) process time on Ubuntu 16.04

I want to limit the php-cgi processes time since the processes never close themselves and slowly all those processes eat the whole RAM (not cache/buffer) and the server starts going very slow. The only way right now to close those processes is using…
demlasjr
  • 49
  • 1
  • 6
0
votes
1 answer

HTML5 wont process/parse as PHP7/PHP

So i had to reconfigure my linux server because i migrated it to another system and decided to set it up from scratch just for fun and practice. Only issue is that now my LAMP is running with PHP7 instead of PHP5 like i had last time. The issue im…
xR34P3Rx
  • 197
  • 1
  • 3
  • 15
0
votes
0 answers

looking to upgrade php 5.4 to php 5.5 or greater on centos7

New to this, so please bear with me. Reviewed the php stats of the server, with yum list installed : php.x86_64 5.4.16-42.el7 @base php-cli.x86_64 5.4.16-42.el7 …
mcv
  • 945
  • 2
  • 10
  • 17
0
votes
1 answer

PHP Error 500: Timezone database is corrupt - this should *never* happen

I have a fresh install of an Ubuntu Server 16.04 amd64 with apache 2.4.18 and php 7.0. I have chrooted the Apache with mod_env and ChrootDir /var/www in /etc/apache2/apache2.conf and far as I know is here the problem. I want to do a NexctCloud 11…
Arny80Hexa
  • 139
  • 1
  • 4
  • 14
0
votes
1 answer

how do i restart php7-fpm with supervisord?

I have a custom docker image for apache and php7-fpm but whenever i make changes to the php ini file and use supervisord to retsart php7-fpm after those changes during image building before running the container from the image i noticed i have been…
uberrebu
  • 503
  • 6
  • 17
  • 36
0
votes
1 answer

Setting up php 7 w/ Apache 2.4 using php-fpm

I have Apache 2.4 working with php7 using php-fpm. I'm using this block to pass traffic to php-fpm SetHandler "proxy:fcgi://127.0.0.1:9000" The problem I'm having is that parts of the application I'm using,…
buffcleb
  • 1
  • 1
0
votes
0 answers

Ways to use PHP 5 and 7 parallel on same LAMP Installation

Dear all I am currently having a LAMP installation with PHP v5 on an Ubuntu 16.x machine. I like now to update it with PHP v7 but I like to have both configurations available so I can easily migrate my websites to new PHP v7. The problem of LAMPP…
megloff
  • 403
  • 4
  • 11
0
votes
1 answer

Apache 2.4 w/ PHP 7: PHP7.1-FPM and/or libapache2-mod-fastcgi

I am in the process of upgrading a web server from using the slower, resource-intensive mod_php, and all has been well, until I noticed that PHP 7.1 is running successfully using only the php7.1-fpm package (from ondrej/php repository), without…
1234567
  • 173
  • 1
  • 10