Skip to main content

Questions tagged [php7]

Use this tag for questions specific to PHP version 7.

0 votes
2 answers
471 views

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 ...
tux's user avatar
  • 1
0 votes
0 answers
3k views

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' ...
Abdulah Abutouq's user avatar
0 votes
1 answer
64 views

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/...
Email's user avatar
  • 101
1 vote
1 answer
1k views

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: ...
Karl's user avatar
  • 119
0 votes
1 answer
152 views

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 ...
hangerer's user avatar
1 vote
0 answers
1k views

OS: Ubuntu 20.04 focal (on the Windows Subsystem for Linux) Kernel: x86_64 Linux 5.10.102.1-microsoft-standard-WSL2 Uptime: 1h 20m Packages: 1612 Shell: bash 5.0.17 WM: GTK Theme: Adwaita [GTK3] Disk: ...
Sylvester DeMouser's user avatar
0 votes
0 answers
288 views

I have Apache2 running on a Debian 11 box (x64). It was installed with an Openmediavault ISO, with nginx and PHP 7.4 installed already (for the web UI) I try to install the PHP connector for apache2 (...
craftcoder's user avatar
1 vote
1 answer
356 views

I have an apache2 server configured to serve multiple websites with php-fpm. Each websites has a custom error_log file ErrorLog "/var/log/apache2/error_log-example.com" using the following ...
Luca Ricci's user avatar
1 vote
0 answers
338 views

Summary: My CentOS 7 server with PHP 7.4 fpm is not executing PHP files instead they provide a raw PHP file to the client. In the next section, I will explain the environment. I have set up a minimal ...
mercury's user avatar
  • 43
2 votes
0 answers
2k views

I have a setup of nginx1.20.1 + php7.3.3 on Centos7. We run those VMs beneath google cloud load balancer. Sometimes, randomly there is 502 returned to the end client. I traced one of those error ...
Tim's user avatar
  • 51
0 votes
0 answers
543 views

I'm running PHP 7.2.22, with Wincache 2.0.0.8 on IIS 8.5, Windows Server 2012 R2. Everything runs well most of the time. But about every few days, Wincache stops running. PHP and everything else ...
Ray Gurganus's user avatar
1 vote
0 answers
202 views

Environment: AWS OS: GoldenImage-amazonLinuxV2-2021-01-04_19.43.07 Nginx: 1.20.0 PHP-FPM: 7.3.33 Octopus tentacle: 6.1.1351 The old method So we currently use a simple push script to deploy a PHP site ...
WeaponX86's user avatar
-2 votes
2 answers
1k views

I look at some php script in centos,I notice there is #!/usr/bin/php -q What is the meaning of this option? because I cannot see it in php --help
tree em's user avatar
  • 99
1 vote
0 answers
668 views

I am trying to update php from 7.2 to 7.4, but getting error. I am trying with the following command as root: add-apt-repository ppa:ondrej/php the error: Error reading https://launchpad.net/api/1.0/~...
mk0222's user avatar
  • 11
0 votes
1 answer
72 views

Debian bullseye, php 7.4. One of my cron jobs has the line: 30 1 * * * www-data /usr/bin/php /my/script.php > /dev/null I'm getting the error PHP Fatal error: Allowed memory size of 157286400 ...
Paolo Benvenuto's user avatar
0 votes
1 answer
385 views

Today I upgraded my webserver from Debian Buster to Bullseye and it was in fact a pretty straightforward upgrade. Everything seemed to work until I tried to reach a few WordPress sites on the server. ...
user avatar
0 votes
1 answer
164 views

I have a bootstrap website that runs on Debian 10 - php 7.4.25, httpd 2.4.52, mysqld 15.1 Distrib 10.5.12 which works perfectly. I copied it to my CentOS 7 box, which has selinux running as permissive ...
kathyl's user avatar
  • 1
2 votes
1 answer
3k views

I have a problem with a couple of queries running in PDO on PHP connecting to MSSQL server 2019. I have checked the time in SSMS and its fast. I have also added some timers into my code so I can see ...
Charlie's user avatar
  • 29
0 votes
0 answers
2k views

A PHP application posts XML data with curl; nothing fancy, the output looking like (c/p, but identifiers and passwords changed): Host: foreign.host.example Authorization: Basic dGVzdDpnZWhlaW0= User-...
SlowFox's user avatar
  • 11
0 votes
1 answer
1k views

I have nginx with 3 pools for php7.4-fpm - one for each of 3 users on the system as they have their own apps and files. The setup of all 3 is completely identical, but the recently added one has some ...
lion's user avatar
  • 23
0 votes
0 answers
402 views

I just installed a fresh AWS Lightsail LAMP stack with php7.4 and a lets encrypt ssl Docs say Mod-rewrite is installed/enabled by default however I get a 404 when I go to any url on my site that is ...
Jayreis's user avatar
  • 145
1 vote
0 answers
9k views

I'm new to Composer, so be gentle! I'm trying to install a script that uses Composer, but I get: Problem 1 - Root composer.json requires PHP extension ext-gmp * but it is missing from your ...
Andrew Newby's user avatar
  • 1,224
0 votes
0 answers
52 views

In my production Environment I'm observing a sporadic issue where pages are taking a long time to load. In the error logs we are seeing: PHP Fatal error: Maximum execution time of 30 seconds ...
Santosh Baruah's user avatar
0 votes
1 answer
842 views

Last week we updated several wordpress sites which are running Alpine Linux as containers inside a host (Ubuntu 20.04) through LXD. A summary of the update is as follows: Alpine Linux v3.8 -> 3.14 ...
lepe's user avatar
  • 469
1 vote
1 answer
6k views

I want to disable the php7 module. apache2 -M | grep php returns: php7_module (shared) However, these commands fail: a2dismod php7 a2dismod php7_module They both return a message specifying that ...
user76615's user avatar
  • 143
0 votes
0 answers
405 views

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 ...
camelyellow's user avatar
0 votes
1 answer
2k views

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....
Tần Quảng's user avatar
1 vote
2 answers
372 views

I have the following php script for password change: <?php error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); ini_set('display_error', true); $cmd = '...
kbu's user avatar
  • 255
0 votes
1 answer
299 views

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 ...
kbu's user avatar
  • 255
0 votes
0 answers
1k views

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. ...
wpcpremium80's user avatar
1 vote
1 answer
11k views

I have a laravel project that uses firebase and I am not able to install PECL for php7.3. I tried this https://cloud.google.com/php/grpc. When I tried the following command sudo apt-get install ...
Riwaj Chalise's user avatar
0 votes
3 answers
11k views

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 ...
auslander's user avatar
  • 101
0 votes
0 answers
176 views

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 ...
Alex Douglas's user avatar
0 votes
2 answers
1k views

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 ...
Niammmin's user avatar
1 vote
1 answer
6k views

newbie here. I was working on installing a LAMP environment on Manjaro for testing, trying to use older versions to match the production environment I have to work with (PHP 7.3, MySQL 5.6; got them ...
Trobador's user avatar
0 votes
1 answer
7k views

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 ...
Ade's user avatar
  • 741
0 votes
1 answer
1k views

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 ...
peppy's user avatar
  • 93
1 vote
0 answers
748 views

I have PHP 5.6 and PHP 7.3 running on my machine. Webserver is Nginx and is using FastCGI (php-fpm). I have setup two php-fpm status pages - one for the www pool of the php-fpm 5.6 and one for the www ...
Juraj Nemec's user avatar
1 vote
1 answer
17k views

We are running server with this configuration: Nginx + FastCGI (PHP-FPM) + PHP 7.3 + MySQL 5.7. However, we experience some issues with long running PHP scripts, so we have setup these restrictions: ...
Juraj Nemec's user avatar
1 vote
1 answer
231 views

We are receiving random internal server errors on one of our website. These internal server errors can sometimes appear only on some users but other users are not receiving it (at the very same time) ...
jpneey's user avatar
  • 113
0 votes
2 answers
1k views

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 ...
Dan's user avatar
  • 101
1 vote
0 answers
449 views

I have installed PHP 7.4 (from remi) on CentOS 8 since I need that version on CLI. The issue is with extensions, when I check modules (php -m) as root user I for example have redis enabled there, but ...
mixerowsky's user avatar
1 vote
0 answers
3k views

I have a centos server 7 with php 7.2 default installation. So, if I run php-v I get as output : PHP 7.2.34 (cli) (built: Feb 3 2021 09:23:21) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend ...
user1356820's user avatar
1 vote
1 answer
4k views

So it appears that after a recent Arch system upgrade, my NextCloud server no longer works, currently giving me "This version of Nextcloud is not compatible with > PHP 7.4. You are currently ...
DhP's user avatar
  • 161
2 votes
0 answers
924 views

On server, I run Apache via FastCGI using PHP 7.4.13: /etc/httpd/conf.d/ is configured as this: # Use FastCGI to process .fcg .fcgi & .fpl scripts AddHandler fcgid-script fcg fcgi fpl # Sane ...
Martin Perry's user avatar
2 votes
0 answers
431 views

I upgraded my server today from Debian 9 to Debian 10 and installed PHP 7.3 with all modules needed for NC but when I try to open the website I get "internal server error. More details can be ...
webhead's user avatar
  • 21
1 vote
2 answers
1k views

Seems simple, but I have been unable to install any version other then php 7.4 reliably on fedora 33 (32 seems to have the same issue according to remi). PHP 7.4 is the default install, but the ...
Jordan Ramstad's user avatar
1 vote
3 answers
2k views

Some of my sites are getting, seemingly without reason, strange errors like these: [Fri Nov 06 08:29:07.677505 2020] [deflate:error] [pid 23820:tid 140019129566976] [client XXX.XXX.XXX.XXX:XXXXX] ...
MultiSuperFreek's user avatar
0 votes
0 answers
779 views

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 --...
50l3r's user avatar
  • 103
0 votes
0 answers
1k views

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 ...
HoangNK's user avatar

1
2 3 4 5
7