Questions tagged [php7]

Use this tag for questions specific to PHP version 7.

350 questions
0
votes
0 answers

NGINX liip_imagine unable to create path for ... "Get operation failed" webp - not creating .webp in media/cache/filter_name symfony

So in my liip_imagine i have something like: webp: generate: True quality: 70 and it works good locally, it serves .png.webp images, but when i put it on my NGINX server i have an issue called unable to create path for ... "Get operation…
0
votes
1 answer

How to install PHP on CentOS has preinstalled Apache HTTPD?

I'm using CentOS 7. I wanted to install PHP 7 so I used remi-php (latest PHP version of yum is 5.4). Since the HTTPD version of yum is too old, I compiled the latest HTTPD version from the source code. HTTPD compilation goes perfectly, however, when…
0
votes
1 answer

OpenSUSE: PHP - Unable to execute sudo /usr/sbin/chpasswd

Could somebody give a tip, where can be a problem. I have a Server with OpenSUSE, PHP7 and roundcube. Plugin "Password" in roundcube fire an error: PHP Error: Password plugin: Unable to execute sudo /usr/sbin/chpasswd in…
kbu
  • 255
  • 4
  • 14
0
votes
0 answers

“No input file specified” - Laravel project on CentOS

I've have VM with CentOS installed where I want to host Laravel project. I've put it on /var/www/html/project But when I access via URL of this project like 127.0.0.1/project I get tree of document. When I enter public directory it shows me a…
0
votes
2 answers

Cannot enable php7.4 on Ubuntu 20.04

I'm trying to set up nextcloud on a home ubuntu box. I've got php 7.4 installed, apache, etc. However apache2ctl -M does not show php as shared. This causes (I guess) the http://localhost/nextcloud setup GUI to render as raw php code in the…
auslander
  • 101
  • 1
  • 2
0
votes
0 answers

Apache causing massive load spike after reboot

My server is running Ubuntu 18.04.5 LTS, with LAMP stack (PHP 7.4), and apache version 2.4.29 using Prefork MPM. My server has 16 CPUs and 29GB of RAM. This server hosts 258 websites. Whenever I reboot my server, I notice (using top command) that…
Alex Douglas
  • 353
  • 1
  • 5
  • 12
0
votes
2 answers

Debian 9 PHP7.4 can't install curl

I already searched answer for this question and checked Bartek Chanda answer, but not working with me. I have debian 9.13 and already done what Bartek Chanda answered, but not working. Still got this error: php7.4-curl : Depends: php7.4-common (=…
Niammmin
  • 1
  • 1
0
votes
1 answer

How to install PHP-intl on Centos PHP 7.2

My PHP 7.2 application is giving the error Message: Class 'NumberFormatter' not found We are running: PHP 7.2.34 CentOS Linux release 7.9.2009 (Core) I tried to install PHP-intl and it seemed to work as now if I try again I get this: # yum install…
Ade
  • 699
  • 3
  • 10
  • 21
0
votes
1 answer

Apache: phpmyadmin on sub-domain "503 Service Unavailable": php7.4-fpm

I'm having a tough time trying to fix a major problem getting phpmyadmin working again (it used to work on ubuntu 16.04). I upgraded Ubuntu 16.04 to 20.04 yesterday and got the following versions of stuff: MySQL 8.0.23-0ubuntu0.20.04.1 for Linux on…
peppy
  • 73
  • 2
  • 10
0
votes
2 answers

RHEL PHP 7.3.5 with mysqlnd and apache

I'll start by stating I'm not a server admin by trade, so I've been struggling with this task. PHP 7.3.5 was already installed on RHEL7 running Apache. I have installed MySQL successfully and now I am tasked with connecting to the MySQL DB from PHP.…
Dan
  • 101
  • 5
0
votes
0 answers

PHP Zip module doesn't load

I use PHP 7.4 and Nginx 1.16.1 and i want to enable php-zip in my server because a wordpress plugin required it: I installed zip module (php-pecl-zip-1.19.1-1.el7.remi.7.4.x86_64). If i type php --modules zip extensions exists: [PHP…
50l3r
  • 103
  • 3
0
votes
0 answers

Installing PCNTL module for PHP7.4 on Amazon Linux

I'm using amazon linux2 and trying to install pcntl extension for php7.4.9. There are no package for pcntl after run yum search pcntl, so I manually copied file pcntl.so to /usr/lib64/php/modules and created /etc/php.d/20-pcntl.ini, file. But I got…
HoangNK
  • 1
  • 2
0
votes
0 answers

PHP settings in apache2 config file completely ignored

On a fresh Debian 9 install, I installed PHP 7.2 and Apache2. php has been installed from the Sury repo with these extensions: php7.2-mysql php7.2-dom php7.2-simplexml php7.2-ssh2 php7.2-xml php7.2-xmlreader php7.2-curl php7.2-exif php7.2-gd …
Obprog
  • 1
0
votes
1 answer

centos8 - error installing php74

I am a newbie in Linux. While trying install PHP-7.4 on CentOS 8 by instruction in https://rpms.remirepo.net/wizard/, I get error Unable to resolve argument php:remi-7.4 at command dnf module install php:remi-7.4 On CentOS PHP-7.3.22 is already…
Quang Chung
  • 1
  • 1
  • 1
0
votes
0 answers

FastCGI allowed memory exhausted in Wordpress

I have Wordpress running on a Ubuntu 20.04 server with Nginx and PHP 7.4. When trying to generate a feed (by going to a feed URL such as /category/feed) , I receive the following error: 2020/09/11 18:51:26 [error] 4446#4446: *5 FastCGI sent in…