All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
242 views

After upgrading Debian Bullseye to Bookworm, problems with Wordpress and PHP

OS: Debian Bookworm, WordPress: 6.2, PHP: 8.2 I upgraded my webserver from Debian Bullseye to Bookworm today. Everything worked - except all Wordpress sites. When visiting such a site (on my server), ...
Zippy1970's user avatar
  • 259
0 votes
0 answers
188 views

PHP failing to start (stalling) on Debian 12 fresh upgrade

I just upgraded to Debian 12 on my home server and noticed that my PHP webpages were broken. I already started the obvious : reboot apt update && upgrade apt install php --reinstall systemctl ...
gugo's user avatar
  • 1
0 votes
0 answers
93 views

php.ini file setting being ignored - tring to change upload_max_filesize

Running php8.2 with fpm - I have rebooted server, I have restarted both php8.2-fpm and apache2. I am 100% certain I've changed the correct php.ini file - infact I have changed all 3, apache2, cli and ...
Michael T's user avatar
  • 121
2 votes
1 answer
335 views

Upgrade PHP and keep extensions and config changes

I would like to install PHP 8.2 but keep all the packages and config changes from 8.1 In a perfect world I would run one script an this would work again for 8.3 next year. Steps: Get all packages/...
PiTheNumber's user avatar
0 votes
2 answers
397 views

Stuck on php8.1 when downgrading to php7.4

I upgraded the php version on my Apache server running on Debian (buster) from 7.3 to 8.1. Due to an older Nextcloud installation I had to downgrade to php7.4. The downgrade worked well following ...
droid001's user avatar
0 votes
0 answers
180 views

Apache2 not working with PHP

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 (...
EnderSlayer7692's user avatar
0 votes
3 answers
535 views

Debian: how to put two versions of libcurl on one system?

I'm trying to migrate two web apps on single server(debian10), both require different versions of php, and both require cURL extensions to work properly. php5.6-curl uses libcurl v3 php8.1-curl uses ...
Robert Grubba's user avatar
0 votes
0 answers
304 views

Cacti - Unable to find certain search query results (Search Returned no Rows.)

Posting question here since no response on cacti forums. We are using older version of cacti Version 0.8.8b for graphing and and monitoring our network. Most of features and graphs are working fine ...
rafalefighter's user avatar
0 votes
1 answer
3k views

Restart PHP FPM as root - Authentication is required to restart 'php7.4-fpm.service'

I have a www-data user, I allowed to restart PHP FPM by him in /etc/sudoers: www-data ALL=(ALL) NOPASSWD:/usr/sbin/service php7.4-fpm restart /etc/sudoers has right permissions ls -la /etc/sudoers -r-...
freento's user avatar
  • 135
0 votes
0 answers
82 views

Ran an OS/PHP update deployment on Bitnami Joomla instance, but now it won't load, what are my options?

The site uses the Bitnami Joomla Debian stack for Compute Engine. PHP for the original instance was 7.3 which is now end of life and extensions were giving me warnings. I attempted to use the OS ...
William Myers's user avatar
0 votes
0 answers
2k views

How to set pdo driver in apache?

I have a Debian 11 server On my website I have the following error: Caused by: PDOException could not find driver According to what the phpinfo() function returns, my php.ini file is in: /etc/php/7.4/...
Jorge Palacios Zaratiegui's user avatar
2 votes
1 answer
1k views

debian - packages have unmet dependencies

i am having Debian 11, and i am trying to install some php libs like mysql: command: sudo apt install php-mysql result: Reading package lists... Done Building dependency tree... Done Reading state ...
mohamad zbib's user avatar
0 votes
0 answers
2k views

PHP-FPM 8.0 Install

Spun up new Azure web app and have it as PHP8.0 on apache running Debian 10. Wordpress is running on it and i'm trying to get php-fpm installed to increase performance a bit. Updated my APT Repo (...
J.Doe's user avatar
  • 11
0 votes
1 answer
997 views

How to respond to "NOTICE: Not enabling PHP 7.4 FPM by default." from system upgrade

I did a standard OS update on Ubuntu LTS (20.04) and the messages end with: Processing triggers for php7.4-fpm (7.4.3-4ubuntu2.6) ... NOTICE: Not enabling PHP 7.4 FPM by default. NOTICE: To enable PHP ...
CPBL's user avatar
  • 101
0 votes
1 answer
1k views

Error: Could not start TLS. Please check your LDAP server configuration. on PhpLdapAdmin

We have a LDAP server and we use phpldapadmin to manage it. I have not used it since a long time and when I try to login with my admin user, I get the following : Could not start TLS. (LDAP Server) ...
Ror's user avatar
  • 323
0 votes
2 answers
1k views

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 ...
Niammmin's user avatar
0 votes
1 answer
148 views

Apache + PHP not showing any formating

What I am going to ask is probably a simple problem but I can't figure out solution. I have installed apache2 on Debian server and updated php to version 7.3. I think that I have made a mistake when ...
Maty's user avatar
  • 11
0 votes
1 answer
1k views

Debian 10 PHP not parsing in apache (fresh install)

I know this is an ancient problem with lots of answers but none of the existing solutions seem to be working. This is a fresh install of Debian 10, apache2 has been installed and php (7.3). Apache is ...
Kline's user avatar
  • 247
1 vote
1 answer
2k views

Nginx warning - upstream sent more data

I have a bunch of Nginx + PHP8.0-fpm installed in the north. When crawlers visit a page and the request contains the If-Modified-Since header, but the page has not changed, the site returns the "...
Ustas's user avatar
  • 11
1 vote
1 answer
368 views

Laravel/PHP process on debian 10 only ever using one of two CPU threads

I am running a Debian 10 Buster server on a google VM with PHP 7.3 Apache2 and MySQL 8. On the server, I am running Laravel 8 as an API for two clients. I recently upgraded the VM to an n2-standard-2 (...
Mariann's user avatar
  • 11
0 votes
1 answer
1k views

Use multiple PHP-FPM versions using FastCGI on same Debian/Apache server

I would like to use multiple PHP-FPM versions using FastCGI on same Debian/Apache server. Using: Debian v9.12, Apache v2.4.25, php5.6-fpm, php7.4-fpm, libapache2-mod-fcgid v1:2.3.9-1+b1, libapache2-...
klor's user avatar
  • 344
1 vote
0 answers
163 views

Use HTTP/2 together with PHP SQLSRV extensions?

I have a web site (Apache/2.4.46, HTTPS) using PHP7.3, MariaDb 10.4, MSSQL for Linux (mcr.microsoft.com/mssql/server:2019-latest), running on a Debian 10 server. My setup works perfectly using HTTP/1....
christerk's user avatar
1 vote
1 answer
1k views

Multiple long running mysqld processes

today i've checked our server status with htop and i saw somethig that i could not believe. Could someone please answer me the following questions? Why are there so much mysqld processes? Why they ...
Tanktiger's user avatar
0 votes
0 answers
133 views

PHP 7.3 and 7.4 fail to compile on Debian 9.13 with error checking SSSE3 CPU feature

I'm working on updating a system from using PHP 7.2 to PHP 7.4, but I ran into a compiling error that I haven't seen before and I'm not entirely understanding why it isn't working. In file included ...
Derek Held's user avatar
0 votes
2 answers
678 views

phpize Imagick build fails: missing functions

I am trying to install Imagick on my Debian 10 server running php 7.4 but it looks like some functions are missing from my system. I installed sudo apt install php7.4-dev PEAR Version: 1.10.12 PHP ...
jotyhista's user avatar
1 vote
0 answers
5k views

Unable to load dynamic library 'mysqli' - Debian 10

I'm setting up a webserver, using Debian 10, Apache2, PHP7.3, MariaDB and PHPMyAdmin. When i start Apache2 it wil say: PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/...
Zegert's user avatar
  • 11
0 votes
0 answers
352 views

Running on 404 with PHP pages on Nginx

I'm fairly new to servers and am setting up my first web server with Nginx to use PHPMyadmin (as well as SSL, and Wordpress). The OS I'm working on is a Debian 10 Docker image. I'm following this ...
lcols19's user avatar
0 votes
3 answers
1k views

why do you need to update a whole operating system to get updated php version? (debian) [closed]

I am mostly a windows guy. I have a debian 9 VM with OMV and wanted to update the php version. I read and realised that you need to update the whole os to get the latest php version? Why do you need ...
yeahman's user avatar
  • 121
4 votes
1 answer
16k views

Debian: Cannot install php7.4-curl -- depends not installable

I recently upgraded from debian9 (stretch) to debian10 (buster). Which also includes upgrading to php7.4. For some reason php-curl cannot install. I run apt install php7.4-curl and the error I get ...
Matt Winer's user avatar
0 votes
3 answers
3k views

Blocking phpmyadmin from internet, allow only from lan in nginx

I'm running 2 websites on a LEMP stack with nginx configured as a reverse proxy server. I have successfully installed phpmyadmin in the root folder of one of my sites root directories. When I go to ...
DanRan's user avatar
  • 83
1 vote
2 answers
8k views

How can I install the imagick extension in PHP 7.0 on Debian Buster?

I've upgraded our company's webserver to Debian 10 Buster recently. Our website is using a legacy CMS that cannot run on PHP versions newer than 7.0. It requires the imagick extension to be present. ...
Fester Bestertester's user avatar
1 vote
0 answers
94 views

How do I use another version of Php for an app served under a certain path with Apache?

I am on Debian Testing so Php 7.4 seems to be the current one. This is fine with me since most of my Apache served apps are fine however two of them are broken. One is Wallabag and the other one is ...
yarun can's user avatar
  • 111
0 votes
2 answers
973 views

Apache logs HTTP 408 error, client seems to lose PHP session

I'm struggling with a strange issue that "logs out" users and seems to happen about ten times a day. The application is an old PHP project. Clients log in; a PHP session is established. Sometimes if ...
Daniel's user avatar
  • 3,087
1 vote
1 answer
65 views

Debian don't return 200 ok on HTTPS

I have a problem I am running health check for my load balancer the health check uses the HTTP, HTTPS, or HTTP/2 protocol, each requires an HTTP 200 (OK) response code I ran the below command https:...
Mat Cn's user avatar
  • 23
0 votes
1 answer
511 views

php 7.4 mysqli pointing to wrong path

I recently updated to php 7.4 from php 7.3 on Debian and it seems apache is pointing mysqli to older path. How do I figure out from where it's causing issue? Error - [Mon Apr 06 07:22:13.384517 ...
Alex's user avatar
  • 1
0 votes
1 answer
26 views

Complete server cash caused by php cli script - possible?

I have a problem that I cannot wrap my head around. One of our machines (physical dedicated server, Debian 10, nginx, mysql, PHP 7.3) is running a php application that also uses the php-cli regularly ...
Stimpy's user avatar
  • 21
0 votes
2 answers
3k views

Docker: Trying to install PHP libraries

I am running Apache / PHP using Docker. Linux distro is Debian. I am trying to install php7.3-gd. I run command: apt-get install php7.3-gd But I get: E: Package 'php7.3-gd' has no installation ...
Eduardo's user avatar
  • 101
0 votes
3 answers
46 views

File is re-creating automatically on change [duplicate]

I have a weird problem on server after the attack. In the web folder I have the index.php with malicious content. When I try to delete, rename it or change its content it is re-created somehow. I ...
voromax's user avatar
  • 101
1 vote
0 answers
84 views

Nginx subdirectory for php app

I know there is a lot of answer on the web about that one, but i have tried many settings and none work. What i want to do : Acces to a PHP app, located in /var/www/doc, through IP/doc What i don'...
casper's user avatar
  • 11
0 votes
0 answers
956 views

Debian 10 with PHP 7.3.4-2 - Call to undefined function curl_init()

I am running a VPS with Debian 10, Apache 2.4.38, PHP 7.3.4-2, MariaDB 10.3.15 and curl 7.64.0. On one of the hosted, older websites I am running a script that uses curl_init(); which fails with the ...
user avatar
0 votes
1 answer
1k views

exim4 configuration with SMTP: daemon abandoned

I'm trying to configure exim4 to send emails on Debian 9. I have a SMTP server 192.168.202.22, which listens on port 25. (tested with telnet) I'm able to send email with telnet connecting to this ...
culter's user avatar
  • 1
0 votes
1 answer
2k views

PHP creates files as root user instead of nginx

I've set up a new server on Debian Stretch. The web server user is nginx: ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1 nginx I have already ...
Asa Carter's user avatar
4 votes
1 answer
6k views

Why does Debian's PHP sessionclean script touch all open files first?

I'm studying /usr/lib/php/sessionclean at the moment. There is one thing I don't fully understand. What is the purpose of touching all opened session files before cleaning up? I understand that this ...
user2323470's user avatar
1 vote
2 answers
5k views

Installation of pecl_http on PHP 7.3 / Debian 9 Stretch fails

I am trying to install pecl_http in PHP 7.3, however, there is an error: root@dev:/etc/php/7.3/mods-available# pecl install pecl_http downloading pecl_http-3.2.0.tgz ... Starting to download ...
Pinke Helga's user avatar
-3 votes
1 answer
1k views

How to install multiple PHP versions in Virtualmin 6, Debian 9 [closed]

By default Debian 9 comes with PHP 7, but I was interested in PHP 5 for older websites as well. I tried following/adapting this guide (not virtualmin specific) https://pehapkari.cz/blog/2017/03/27/...
Hayden Thring's user avatar
1 vote
1 answer
13k views

Debian 9 stretch with PHP 7.2: unable to install PDO PHP Extension

I have installed PHP 7.2 on a Debian 9 server (a docker container actually) and installed some php modules. But when I get to gd and pdo/mysql apt is unable to find any packages: $apt install php-...
user761076's user avatar
0 votes
0 answers
35 views

Security Scan causing weird logs

So some time ago, I coded a website(PHP) and wanted to check for common web security vulnerability. I used Nessus and Burp Suite to scan for vulnerabilities in my website. The scan result showed no ...
Jamil Hneini's user avatar
0 votes
1 answer
1k views

Load balance PHP-FPM with HAProxy resulting in service unavailable

I need to load balance PHP-FPM with two backend servers with HAProxy (with Apache running on those backend servers as well). I have this frontend: frontend fr_fpm bind *:9000 mode tcp ...
William's user avatar
  • 266
0 votes
1 answer
303 views

Run php script artisan opcache:optimize after php7.2-fpm start or restart

I want to run php /path/to/artisan opcache:optimize to build laravel cache after php7.2-fpm start or after restart. I have tried to insert it on /etc/init.d/php7.2-fpm in do_start() method but ...
Hernawan's user avatar
0 votes
1 answer
1k views

Apache on Debian Stretch Keeps Getting Segmentation Faults

I have several servers running Debian Stretch and I keep running into an issue where the process will hit a segmentation fault and stop. It will not return to service until I manually run service ...
Josh's user avatar
  • 143

1
2 3 4 5 6