Skip to main content

Questions tagged [php]

PHP is a widely-used general-purpose scripting language that is especially suited for Web development. Questions about programming in PHP are off-topic and should be asked on Stack Overflow.

0 votes
0 answers
117 views

How is Windows 11 Apache php 8 Apache manual setup different from the php 7 on windows 10

I have read previous post on the setup of Apache php MySQL manual installation and the all seems to follow the same steps. Please what would be the constant k in all the different different versions ...
 C Okonta's user avatar
4 votes
1 answer
72 views

Is PHP actually ported to AmigaOS?

I have long had the thought about what it would be like to have PHP running on an Amiga (I mean a real one), and have tried to search and ask about this. It's ambiguous as to whether or not it really ...
Stan's user avatar
  • 115
2 votes
1 answer
147 views

How can I enable streaming (flush/ob_flush) in CentOS 8 stream with PHP-FPM?

I have a new install of CentOS 8 Stream with Apache and PHP-FPM setup using all defaults (this defaults to PHP 7.2.24 FPM/FastCGI). My application uses Server Sent events using JavaScripts EventSource ...
Bart Friederichs's user avatar
0 votes
0 answers
487 views

Can I completely disable Anonymous authentication for internal system with AD users?

I have an internal system that has login form with username and password. But recently I needed to get some more information about the user who tries to log in (in case of a failed login attempt for ...
Stackerito's user avatar
1 vote
0 answers
916 views

Is there a repo for php5-gd for debian 12?

I am planning an upgrade of a debian 11.7 server to debian 12. When asking for a full upgrade, Debian warns me about is to remove php5-gd The following packages will be REMOVED: libpng12-0 php5-gd ...
realtebo's user avatar
  • 620
0 votes
0 answers
42 views

How to start an external program on the Linux computer on which WWW-PHP is running, from non-CLI PHP?

I used to use Windows, with nginx and PHP. A localhost-only webserver for my own use. In my web "control panel", I had various very time-saving shortcuts. For example, I was able to click on ...
Bunyon D's user avatar
-4 votes
1 answer
123 views

How to run website locally? [closed]

Windows 10 OS basically I want to run a php website offline, in my PC-locally, so that i can use it without internet. Is it possible, to run locally as an offline-app please tell me basic steps to ...
new's user avatar
  • 5
1 vote
0 answers
442 views

Why does CPU usage increase fourfold after upgrading PHP on Ubuntu

We have a portal that attracts high traffic. Since ubuntu's 18 has come to the end of its life, we have upgraded the servers running php 7.4 on ubuntu 18. The average load of servers running Ubuntu 18 ...
George's user avatar
  • 11
1 vote
0 answers
112 views

Ajax query throws server error 500 if over 16384 bytes

I'm getting Server error 500 when updating pages in Wordpress as soon as content length goes over 16384 bytes, regardless of the editor used (built in or Elementor). This only started after updating ...
Enis Begovic's user avatar
1 vote
1 answer
703 views

How to disable unlisted file name extensions but make the PHP app work?

I was adviced to untick the "Allow unlisted file name extensions" option in the Request Filtering in IIS. But now the PHP app is not working, I get: HTTP Error 404.7 - Not Found The request ...
Stackerito's user avatar
2 votes
0 answers
384 views

How does IIS "know" which website uses which PHP version?

I have 2 websites on the same application pool with IIS 10. One of them is a PHP app using PHP 7.3, and the second app is the updated version of the same app using PHP 8.1. Now I just copied the newer ...
Stackerito's user avatar
0 votes
1 answer
677 views

WSL2 is not handling file permissions properly, unable to write files from PHP

I am running nginx, mariadb and php8.2-fpm on my WSL2 Ubuntu server successfully, all running as user www-data just fine, however, I cannot upload files from the web interface. When I attempt to, the ...
Kevin Flanagan's user avatar
-1 votes
1 answer
830 views

Apache having problems with PHP

This on W10. I've been trying to replace a dysfunctional Apache-PHP setup. I installed (i.e. decompressed) Apache2.4.57 under D:\apps. I have a php version at D:\apps\php\php7.4.33. httpd.conf ends ...
mike rodent's user avatar
0 votes
0 answers
45 views

PHP website getting hacked - dir names changed

I'm new to PHP and Apache. I come from Node.js/Java backends and I'm new to this tech stack (PHP, CGI, Apache etc). My site currently uses ckeditor to handle user uploads and has high traffic. Often, ...
Leonardo Santos's user avatar
0 votes
0 answers
176 views

Install php-mod and php-fpm (different versions) on the same server

One of our clients has a server which is running PHP 5.3.3 (in our understanding it is mod_php, apache, Centos 6). Is it possible to install ANOTHER php version (say PHP 8.0) in say php-fpm for a ...
Ken Lee's user avatar
  • 101

15 30 50 per page