Questions tagged [php7]

Use this tag for questions specific to PHP version 7.

350 questions
0
votes
2 answers

Monit for PHP7 connection failed

Trying to get monit working for PHP7 but getting a connection error. Here is the config file: check process php7.0-fpm with pidfile /run/php/php7.0-fpm.pid group phpcgi start program = "/usr/sbin/service php7.0-fpm start" stop program =…
primetimejas
  • 241
  • 2
  • 5
0
votes
0 answers

PHP 7 and Apache2

I am using Ubuntu 14.04 and just tried to update from PHP 5.6 to 7 - everything worked fine and when I type in php -v I get this PHP 7.0.5-3+donate.sury.org~trusty+1 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright…
Isengo
  • 133
  • 9
0
votes
0 answers

How to install php 7.0.4 in ubuntu 14.04

I am running Magento2 using php7 I updated php to 7.0.5 but Magento2 has a known issue with this version. How can I install version 7.0.4 specifically? I installed it using ppa:ondrej/php and apt-get by the way.
awavi
  • 101
  • 1
0
votes
1 answer

Nginx memory profile

I'm using nginx 1.9.2 (with pagespeed and geoIP) inside a docker container, running on Google container engine. It serves as a proxy for another container running php-fpm (php7). I'm also using fastcgi proxy. I find it very slow, so I started…
VsM
  • 123
  • 4
0
votes
1 answer

PHP 7 Module already loaded warnings

I have a machine running Ubuntu 14.04.3 LTS that is deployed via Ansible. I've got PHP 7 installed using Ondřej Surý's PPA for PHP. $ dpkg -l | grep -i php ii libapache2-mod-php7.0 7.0.3-2+deb.sury.org~trusty+1 amd64 …
DanielGibbs
  • 573
  • 5
  • 13
  • 32
0
votes
1 answer

Invalid variable name: `--with-jpeg-dir' when compiling PHP7 on CentOS7

I'm trying to configure PHP7 and I'm getting this error even though ./configure --help says that the variable name is --with-jpeg-dir. What am I missing? Here is my command: ./configure --with-apxs2=/usr/bin/apxs --with-mysqli --with-imap…
Thelonias
  • 103
  • 4
0
votes
0 answers

Wordpress showing article title, but content is showing blank

I recovered from a disaster situation on the server, database is not affected. My wordpress files were old, from previous version (maybe 4.3). When I recovered those file and setup nginx with it, I see title, theme and everything, even the article…
hlx98007
  • 338
  • 1
  • 4
  • 11
0
votes
1 answer

Configuring php7.0 with apache2

I'm running the newly released php7.0 on debian jessie. By now it works all fine. Enabling the pdo_mysqli, I have found mutliple configuration directories for php7. There are: apache2 cli fpm I'm aware, that the cli is the command-line php…
simon
  • 101
  • 1
0
votes
2 answers

LDAPS Auth very slow in Moodle

I have a moodle-installation that uses LDAPS auth which is very slow or does not work at all. It is debian 12, apache2.4, moodle4.1 and php7.4. I had a test installation where things were just fine, I compared the configs and there is not much…
tux
  • 1
  • 2
0
votes
0 answers

Can't install php7.4-dev on Ubuntu 18.04

Trying to install php7.4-dev extension, but I'm getting E: Unable to locate package php7.4-dev E: Couldn't find any package by glob 'php7.4-dev' E: Couldn't find any package by regex 'php7.4-dev' When I run apt show php it displays the…
0
votes
1 answer

Detect Linux/Ubuntu -> Lamp/Apache or Nginx -> PHP - detect outcalls

I have a Ubuntu Server setup with LAMP at DO (Digitalocean, VPS - self managed via shell) running mainly Wordpess (php). Now which ways do you recommend to detect outcalls/outreaches of scripts/plugins to external websites (like auto-update, crons,…
Email
  • 101
  • 2
0
votes
0 answers

Error downloading and installing composer

I don't really know where to begin with this. I'm trying to install composer on shared hosting. I've followed the instructions here, logged in by SSH and run: curl -sS https://getcomposer.org/installer | /usr/bin/php7.1-cli But I get the following…
Jodes
  • 101
  • 4
0
votes
1 answer

Apache 2.4 AH00687: Negotiation: discovered file(s) matching request: (None could be negotiated)

Apache 2.4 on Windows 11, thus localhost. I'm running a Wordpress site and Apache serves all URLs correctly except for one. One URL 404s. The Apache error log contains this error: AH00687: Negotiation: discovered file(s) matching…
Karl
  • 99
  • 1
  • 3
0
votes
1 answer

PHP-Module from Apache on Windows looses ability to read from local file system (include, require, fopen fail)

I'm running Apache2.4 with php7.4 module on a virtual Windows Server 2019 system. Regularely at 01:00 AM the php module looses the ability to read includes, requires or fopen streams from the local file system (C:) - after a restart of the Apache or…
hangerer
  • 11
  • 3
0
votes
0 answers

Different senders for different VHosts

I have Ubuntu 20.04 LTS server, with Apache2 (mpm_event), PHP 7.4 FPM, postfix (as a relay) installed. This server hosts several sites (WordPress). The problem is that the sites are sending by default from www-data@myhostname.tld. www-data is a unix…
NukDokPlex
  • 36
  • 1