1,460,989 questions
Score of -6
0 answers
135 views
Problem in sending message in php telegram bot [closed]
I am trying to broadcast a message to around 412,000 private chats using PHP.
The script is executed via cron job in CLI. The issue is that the script completely dies before finishing:
On shared ...
Score of -2
0 answers
69 views
{ } syntax in PHP - not understood [duplicate]
I'm trying to get some very old code working (not mine), and I haven't touched PHP for some years, so very rusty.
It ran OK on PHP 5.6, now trying to get it to run on the latest 8.x.
The following is ...
Score of -5
0 answers
69 views
Seeking a Permanent Architectural Fix for HumHub 1.19.x MustChangePasswordGate Null User Crash on PHP 8.5 [closed]
I am addressing a critical failure occurring after upgrading to HumHub 1.19.2/3 in a production environment running PHP 8.5.
The update procedure via the web updater runs successfully until the ...
Score of -2
1 answer
168 views
Phpspreadsheet throwing a php deprecated error
Spreadsheet created in phpspreadsheet won't open xlsx file. Opening file in text editor shows php deprecated error in phpspreadsheet code itself.
<b>Deprecated</b>: Using null as an array ...
Score of 2
0 answers
69 views
CodeIgniter 4: date_default_timezone_set() and the .env timezone don't store the time correctly with the configured timezone
I'm working on a project using CodeIgniter 4, PHP 8.2 and MariaDB 10.11, all running in Docker. The container uses UTC as its default timezone, and I need dates and times to be stored correctly for ...
Score of 2
1 answer
76 views
CodeIgniter 3 base_url() generates the URL without the port and without index.php on PHP's built-in server
I'm developing a products CRUD in CodeIgniter 3 with PHP 8.5, running it directly with php -S localhost:8000, without using .htaccess or URL rewriting, so all routes must go through index.php.
In ...
Score of -7
0 answers
70 views
Many wordpress editing aspects affecting since PHP issue [closed]
I'm just wondering if anyone can tell me what exactly is causing my WordPress site to be unable to edit to many different kinds of things.
It started with the global php crash which I get might still ...
Score of 2
3 answers
203 views
Is using PHP's official minimal source-backports for PHP 7.4/8.0/8.1 recommended for production, and what are the best practices for use them? [closed]
Following the official PHP security advisory published on October 21, 2026 regarding the critical unauthenticated RCE vulnerabilities (CVE-2026-109618 and CVE-2026-109619, dubbed PHP2Shell), the ...
Score of -4
0 answers
156 views
onload() not called when revisiting a PHP page (after upgrade to PHP 8.5) [closed]
My PHP V7.1.8 website has been working fine since 2017 but it has been broken by the recent upgrade to PHP 8.5! The website consists of PHP pages with JavaScript & HTML. Each page relies on a PHP ...
Score of 3
1 answer
156 views
PHP 8.5 from deb.sury.org - cannot execute binary file exec format error on WSL1 [closed]
I'm having trouble to run PHP 8.5 (cli and fpm) installed from https://deb.sury.org on Debian 13 (trixie) in WSL1 (i'm not using WSL2 because of poor performance of accessing Windows disks). The error ...
Score of -3
0 answers
79 views
Is there a VS Code extension to detect PSR-4 namespace and file path mismatches in PHP? [closed]
I am looking for a VS Code extension or tool that can detect and highlight PSR-4 autoloading issues in PHP projects.
Ideally, the tool should be able to:
Identify mismatches between PHP namespaces ...
Score of 1
1 answer
57 views
Apache2 mod_userdir mod_php disabling php_admin_engine Off php file gets downloaded [closed]
I have a strange behavior on my Windows 11 WSL (Windows Subsystem for Linux) 2.
I have enabled userdir mod and php mod but I have disabled execution of php files inside user directories like so in the ...
Score of -1
1 answer
237 views
file_get_contents fails for reCaptcha siteverify
I have a failed recaptcha on a website following an upgrade to PHP 8.4.27.
Long story short it comes down to a file_get_contents call to reCaptcha siteverify:
$this->siteVerifyUrl =...
Score of -1
0 answers
118 views
Alma Linux PHP update upload progress no longer working [closed]
After updating PHP on Alma Linux upload progress is not working. I have verified it is enabled but the session variable starting "upload_progress\_" is absent. This is PHP 7.2
Score of 24
2 answers
4836 views
How can I know if my application is affected by the "PHP2Shell" vulnerabilities CVE-2026-109618 / CVE-2026-109619 and how can I mitigate them?
How can I check whether my projects are affected by the PHP2Shell vulnerabilities listed in CVE-2026-109618 and CVE-2026-109619, and how can I mitigate them?